Commit Graph

3349 Commits

Author SHA1 Message Date
worldwidesorrow
78f849eb2d Compiles have been added to the top of the init file. 2020-01-09 16:43:01 -06:00
worldwidesorrow
635a3e431c Add emptyBloodBag to dayz_typedBags
Add emptyBloodBag to dayz_typedBags to prevent it from spawning when dayz_classicBloodBagSystem is enabled.
2020-01-09 16:41:43 -06:00
worldwidesorrow
14838ed526 Removed sched_buildingBubble from compiles. 2020-01-09 16:38:41 -06:00
worldwidesorrow
b21d02cc30 Delete sched_buildingBubble.sqf
This file is no longer needed.
2020-01-09 16:38:06 -06:00
worldwidesorrow
fe861deec2 player_spawnCheck no longer needs to be spawned.
Since removing the unnecessary sleeps from zombie_generate, player_spawnCheck can now be called instead of spawned.
2020-01-09 16:37:09 -06:00
worldwidesorrow
7ec0ddd412 Spawn check no longer needs an init file. sched_buildingBubble has been removed.
sched_buildingBubble was not coded correctly and is not necessary.
2020-01-09 16:35:05 -06:00
worldwidesorrow
349b67c287 Add provisions for military buildings to spawn matching loot.
If a military building is selected then matching groups of RU,US,EU, or CZ loot are selected so that weapons, ammo, and attachments spawned in the building will match. Reintroduce loot position shuffling. This was a feature in 1.0.5.1. I'm not sure if this is necessary but it changes the order in which the loot positions are selected so the loot would in theory be in different places each time.
2020-01-09 16:29:11 -06:00
worldwidesorrow
22a04e7955 Clean up code and optimize building_spawnZombies
Checking for near zombies and players in the forEach loop is inappropriate and inefficient. Because it was checking for near zombies, the internal zombies were not spawning at all. It appeared that they were because the walking zombies were using the building position plus the radius option on createAgent. fn_selectRandomLocation using the size of the object as the minimum distance prevents the zombies from potentially spawning into objects and dying. The max distance for the crash site zombies is increased a bit so they can spawn farther away from the object since they are in an open field. The position on the internal zombies should not have the z coordinate automatically set to zero. This prevents the zombies from spawning at positions on upper floors of buildings.
2020-01-09 16:20:03 -06:00
worldwidesorrow
6bcfb68baa Compile frequently used function 2020-01-09 16:10:10 -06:00
worldwidesorrow
efecce6619 Adding frequently used function to compiles. 2020-01-09 16:08:33 -06:00
worldwidesorrow
fc6f576542 Clean up and optimize file
Function _cantSee should not be recompiled every time this file runs. fnc_fieldOfView is compiled in compiles.sqf and called here. Checking zombie counts in this file is redendant. It is already being done in player_spawnCheck and building_SpawnZombies. Variables "agentObject" and "BaseLocation" are unused. The createAgent command should not be used with a radius. This causes some of the zombies to be killed after being spawned into objects. Some of the walking zombies were spawning inside the building when they should not.
2020-01-09 16:06:37 -06:00
worldwidesorrow
41207ce861 Update init.sqf
Update to use KK's Array Shuffle Plus function. Shuffle the array 5 times.
2020-01-09 15:57:29 -06:00
worldwidesorrow
0f3f522e25 Replace slow array shuffle function with KK's Array Shuffle Plus
KK's code is more efficient and you can enter how many times you want to shuffle.
2020-01-09 15:55:23 -06:00
A Man
36cd8a0abc Fix missing semicolon in sched_oneachframe.sqf 2019-12-28 18:03:08 +01:00
worldwidesorrow
6a1f4f49f0 Remove bad loot spawn point
Players cannot acquire a cursor target on the small loot spawn point that is on the top floor of the control tower above the lockers.
2019-12-20 15:07:44 -06:00
worldwidesorrow
caa551778a Add loot and zed spawn points to Land_HouseBlock_C4.
This is one of the dayZero building overwrites with interior that never had spawn points made for it.
2019-12-20 14:59:23 -06:00
A Man
68ca5097c1 Delete CamoNet.hpp
Duplicate
2019-12-17 13:54:35 +01:00
A Man
2b8997ec51 Add fire places directly from wooden logs 2019-12-17 12:13:40 +01:00
A Man
55f99b0096 Move make fire place to modular_build 2019-12-17 12:03:16 +01:00
A Man
73289a69a6 Update tents
equip_tent_poles are now in the loot tables and can be used for tent crafting.
The recipe for crafting tents and nettings has changed a bit. Instead of poles, tent poles are needed now.
The string for equip_tent_poles is confusing if the requirements are 6 Tent Poles but meant is 1x (6 Tent Poles).
2019-12-17 11:10:51 +01:00
A Man
8af0f2a03a Removed old files
remove show_dialog.sqf - old configs trader
player_hiveTrading.sqf - old configs trader
object_maintenance.sqf - DayZ fences
object_disassembly.sqf - DayZ fences
2019-12-16 16:54:25 +01:00
A Man
4058f59688 Add warm clothes and shivering
Warm Clothes can be adjusted in the configvariables with DZE_WarmClothes. Shivering can be enabled or disabled with the  last value in the DZE_TempVars array. A temperature effect for snow was added too.
2019-12-16 15:41:59 +01:00
A Man
fff1196ee3 Adding snowfall
This can be adjusted in the configvariables. Snow will only be loaded if DZE_SnowFall is true. This is the case for all snow maps by default.
2019-12-16 15:19:29 +01:00
A Man
cc127c646b Update fn_isInsideBuilding.sqf
Adding private tags and an exithwith if the object is null. This happends a lot.
2019-12-16 15:12:23 +01:00
RedLink-kam
fcd6f0b1a2 Update stringtable.xml (#2051)
fix gramma Rus
2019-12-14 22:16:32 +13:00
A Man
6740fb5326 Adding german medical translations, minor changes
Changing the messages for wipes. It cannot be done like it was before for the german language.
Thx @RedLink-kam for the russain translations.

Ive re-ordered the new strings so the Namalsk compatibility is the last again. Namalsk should be always last since it is just an addon from a different mod.
2019-12-14 10:00:35 +01:00
oiad
ca1eef5b90 Added more Russian translations
Thanks @Redlink-kam
2019-12-14 15:08:51 +13:00
worldwidesorrow
8c074be9a7 Add action for giving another player an antibacterial wipe. 2019-12-12 05:12:03 -06:00
worldwidesorrow
5d983694c8 Remove period from string. It doesn't belong there. 2019-12-12 05:07:31 -06:00
worldwidesorrow
a89cd08438 Add files via upload 2019-12-12 05:03:07 -06:00
worldwidesorrow
16117b035c Add option to give another player an antibacterial wipe. 2019-12-12 05:01:47 -06:00
worldwidesorrow
e57c54a2c7 Add PV for antibacterial wipe option. 2019-12-12 04:59:19 -06:00
worldwidesorrow
843269ad20 Compile antibacterial wipe file. 2019-12-12 04:57:40 -06:00
worldwidesorrow
dc15929742 Update player_useMeds.sqf 2019-12-12 04:56:33 -06:00
worldwidesorrow
61ff2b3c61 Add server side security to P 2019-12-12 02:40:09 -06:00
worldwidesorrow
e913d1f77e Remove medForceUpdate 2019-12-12 00:20:35 -06:00
worldwidesorrow
8479d2f908 Remove medForceUpdate 2019-12-12 00:19:47 -06:00
worldwidesorrow
69ab20043d Remove medForceUpdate 2019-12-12 00:18:44 -06:00
worldwidesorrow
fc0ec6a7e4 Remove medForceUpdate 2019-12-12 00:17:07 -06:00
worldwidesorrow
6652efbc70 Remove medForceUpdate 2019-12-12 00:16:24 -06:00
worldwidesorrow
8c6189de8b Remove medForceUpdate 2019-12-12 00:15:10 -06:00
worldwidesorrow
2a145bf678 Add new strings
The strings were placed at the bottom so translators can find them easily.
2019-12-11 21:48:00 -06:00
worldwidesorrow
2439364a4a Rename SQF/dayz_code/medical/morphine.sqf to Server Files/Archive/dayz_code/medical/morphine.sqf 2019-12-11 20:59:11 -06:00
worldwidesorrow
de452ddac7 Rename SQF/dayz_code/medical/carry_old.sqf to Server Files/Archive/dayz_code/medical/carry_old.sqf 2019-12-11 20:58:21 -06:00
worldwidesorrow
517a227b5b Rename SQF/dayz_code/medical/init_medical.sqf to Server Files/Archive/dayz_code/medical/init_medical.sqf 2019-12-11 20:56:26 -06:00
worldwidesorrow
9d962b2dce Rename SQF/dayz_code/medical/load_wounded.sqf to Server Files/Archive/dayz_code/medical/load_wounded.sqf 2019-12-11 20:55:13 -06:00
worldwidesorrow
009469f7fa Send the PV directly instead of drilling down the list of options. 2019-12-11 20:49:16 -06:00
worldwidesorrow
f5bd489273 Send the PV directly instead of drilling down the list of options. 2019-12-11 20:48:16 -06:00
worldwidesorrow
8d15eda6b4 Send the PV directly instead of drilling down the list of options. 2019-12-11 20:47:23 -06:00
worldwidesorrow
bcc5b631cb Add files via upload
These files are either new or have extensive edits.
2019-12-11 20:42:24 -06:00