Jump to content
  • 0

Setup custom loot table (1.0.5.1)


Darihon

Question

4 answers to this question

Recommended Posts

  • 0

I know that, but how do I install them?

 

As usual? 

step 1:

add DZE_MissionLootTable = true;  to init.sqf

step 2:

add #include "loot\config\cfgbuildingloot.hpp"  in description.ext above "RESPAWN = BASE"

Link to comment
Share on other sites

  • 0

As usual, yep. Copy CFGs from clients or github, enable mission loot tables and add to descroption.ext.

If trying to add tables that guy posted for overpoch, his cfgloot.hpp is broken. Trying to fix it now myself.

 

EDIT: MGT posted his loot tables:

Link to comment
Share on other sites

  • 0

The zombies spawn perfectly, but the loot doesnt want to spawn.. (or it takes ages).

 

I'm using the files provided by MGT (see post above) and used the instructions of CEN. Error in RPT file:

 

_weights = dayz_CLChances select _index;
_cntWeights = count _weig>
16:30:10 Error position: <select _index;
_cntWeights = count _weig>
16:30:10 Error Zero divisor
16:30:10 File z\addons\dayz_code\compile\spawn_loot.sqf, line 152
16:30:10 Error in expression < find _iItem;
_weights = dayz_CLChances select _index;
_cntWeights = count _weig>
16:30:10 Error position: <select _index;
_cntWeights = count _weig>
16:30:10 Error Zero divisor
16:30:10 File z\addons\dayz_code\compile\spawn_loot.sqf, line 152

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...