Commit Graph

10 Commits

Author SHA1 Message Date
AirwavesMan
89bca2c94b Partly fix floating loot
This commit fixes partly the floating loot issue. The whole problem is not fixable. It is a problem with different components. The main point is that the position can be half water and half not. The second is the building collision and the collision of the loot object. Normally setPosATL should do its work but the object moves on the placement. Adding a special handling for buildings that are mostly over water did the best job so far.
With fixWaterPos = 1; in the building class which has those floating loot problems, the position gets converted to ASL which is better over water but not always. Some loot objects are still floating a bit but I could reach all of them. It is a way better as before.
2020-09-15 19:55:17 +02:00
AirwavesMan
bf516a65e5 Change ItemGenerator to WeaponHolder_ItemGenerator
With WeaponHolder_ItemGenerator we do not need the postion set up in the spawn.sqf
2020-09-13 16:53:36 +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
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
ebaydayz
c202c697eb Update loot spawn.sqf
Vanilla commit:

4752621ffc
2016-11-23 13:50:24 -05:00
ebaydayz
79d2b268a8 Changed loot_spawn to use PositionAGL
Vanilla commit:

7e413848fb
2016-10-07 14:41:47 -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
ebaydayz
110befba7f Swap bloodbags in traders and loot for classic system 2016-04-15 16:11:17 -04:00
icomrade
84eb6f815a Missing Files 2016-02-29 00:55:29 -05:00