Commit Graph

17 Commits

Author SHA1 Message Date
A Man 2b98eb1fd5 Update loot and zombie spawn, change some count/foreach 2020-04-07 16:33:19 +02:00
A Man b94d107a49 Update spawn.sqf
Remove check for equip_lever and equip_brick. players can just remove it from the loot config.
2020-04-02 18:10:34 +02:00
worldwidesorrow 35d917ec6b Update insert.sqf
This should be an isNull check. It should not have the ! in there.
2020-02-12 03:42:33 -06:00
worldwidesorrow c8d5010e89 Fix copy/paste fail 2020-01-10 07:23:33 -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
ebaydayz c202c697eb Update loot spawn.sqf
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/4752621ffcb00945c8a2ac0e1db47ed4ea1b9b56
2016-11-23 13:50:24 -05:00
ebaydayz 79d2b268a8 Changed loot_spawn to use PositionAGL
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/7e413848fb0953a81f1822b444e065cfc0675d21
2016-10-07 14:41:47 -04:00
ebaydayz 29acecc2f2 Retire DZE_MissionLootTable variable
AFAIK there is no performance difference between configFile and
missionConfigFile.

Using missionConfigFile by default simplifies loot scripts and makes the
extra config variable unnecessary. It's one less step for admins to
customize their tables.
2016-08-23 12:57:12 -04:00
ebaydayz 75e3ee58c2 Reduce ItemBloodbag loot chance slightly for classic system
Since typed bags spawn in bulk (usually 2x 4 different bag types) this
reduces bloodbag output slightly when classic system is enabled.

Medboxes were spawning with 3-8 blood bags, this reduces it to about 1-6
which should be similar to 1051 values IIRC. Feel free to adjust this up
or down if needed.
2016-05-20 17:20:10 -04:00
icomrade d25ad694d8 Fix wrong bloodbag types spawning 2016-05-01 14:15:01 -04:00
ebaydayz 110befba7f Swap bloodbags in traders and loot for classic system 2016-04-15 16:11:17 -04:00
ebaydayz 8f2ff5cb3e Update spawnCrashSite 2016-03-26 22:02:28 -04:00
icomrade 84eb6f815a Missing Files 2016-02-29 00:55:29 -05:00