Commit Graph

5857 Commits

Author SHA1 Message Date
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
3cb7a52696 Update 19_podagorsk.bat 2019-12-16 16:32:32 +01:00
A Man
4b5654d75c Update version numbers 2019-12-16 16:22:50 +01:00
A Man
0594b3a96d Update README.md 2019-12-16 16:19:25 +01:00
A Man
c073779e8a Update CHANGE LOG 1.0.7.txt 2019-12-16 16:19:09 +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
A Man
d40c53c9d9 Add missing sauerland winter config and batch 2019-12-16 13:29:30 +01:00
A Man
97eef50e67 Add Chernarus Winter template 2019-12-16 13:28:45 +01:00
A Man
edee345fa7 Update Contributors 2019-12-16 12:32:26 +01:00
A Man
d1d3721507 Merge pull request #2052 from RedLink-kam/patch-1
Update stringtable.xml
2019-12-14 10:30:10 +01:00
RedLink-kam
fcd6f0b1a2 Update stringtable.xml (#2051)
fix gramma Rus
2019-12-14 22:16:32 +13:00
RedLink-kam
815b824309 Update stringtable.xml
gramma fix
2019-12-14 21:05:40 +12: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
c3edadcc1f Update CHANGE LOG 1.0.7.txt 2019-12-12 05:20:53 -06:00
worldwidesorrow
44336caaaf Merge pull request #2050 from worldwidesorrow/master
Add option to give another player an antibacterial wipe.
2019-12-12 05:15:14 -06: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
3adea80c34 Add Antibacterial wipe option 2019-12-12 04:54:46 -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
0b857d2ae2 Update CHANGE LOG 1.0.7.txt 2019-12-11 22:50:50 -06:00
worldwidesorrow
b9a0d20040 Correction thanks to @RedLink-kam 2019-12-11 22:27:28 -06:00