Commit Graph

5873 Commits

Author SHA1 Message Date
worldwidesorrow
95cd2263fe Remove unused arrays. 2020-01-09 17:32:24 -06:00
worldwidesorrow
705529330e Remove unused arrays 2020-01-09 17:31:30 -06:00
worldwidesorrow
48701daf31 Update CfgLoot.hpp
The overwrites have been corrected in the config files. Groups Vanilla.hpp and Tools.hpp added.
2020-01-09 17:29:31 -06:00
worldwidesorrow
32851d432d Increase max allowed loot piles around a player.
The default number for dayz_maxMaxWeaponHolders is for DayZ Mod. Since Epoch has the addition of small loot spawn points, it should have slightly higher allowed loot spawns around the player.
2020-01-09 17:19:03 -06:00
worldwidesorrow
b73b2d2fa5 Separate config variables into client, server, or both. 2020-01-09 17:12:52 -06:00
worldwidesorrow
10889a1541 Update spawn.sqf
Replace switch do block with call using if and exitWith statements. Magazine class items are the most commonly spawned item so it is placed at the top. Switch to the more efficient form of createVehicle. Set more local variables at the top to make the file more readable. Prevent the generator from spawning halfway into the floor by raising the z coordinate. Lower the backpack spawns to prevent them from floating. Add replacement items if dayz_toolBreaking and dayz_knifeDulling are disabled.
2020-01-09 17:07:46 -06:00
worldwidesorrow
292ce61378 Update insertCargo.sqf
Replace switch do block with call scope with if, exitWith. Add magazine selection to spawned weapons. This functions spawns weapons into  a container. It should also spawn a random amount of matching magazines.
2020-01-09 16:54:52 -06:00
worldwidesorrow
a1618e0dcf Update insert.sqf
Replace switch do block with call scope using if exitWith statements. The most common spawned item is a magazine class so it is placed at the top.
2020-01-09 16:52:06 -06:00
worldwidesorrow
f9a92b2394 Delete compile.sqf
This mess of defines is inappropriate. The compiles have been added to the top of the init file.
2020-01-09 16:48:31 -06:00
worldwidesorrow
f55e268606 Optimize loot init file
Optimizing the code in this file. It compiled in half the time of the original. Compiles have been added to the top because there is not very many.
2020-01-09 16:46:30 -06:00
worldwidesorrow
abb4046281 Compiles have been added to the top of the init file. 2020-01-09 16:43:45 -06:00
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
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