Jump to content
  • 0

Custom loot tables - how to edit/choose weapon spawns for specific buildings?


dagg929

Question

See title.

 

Using:

https://github.com/vbawol/DayZ-Epoch/tree/master/SQF/dayz_code/Configs/CfgLoot

 

Not seeing where exactly it references the loot chance -for- say, office2 class in relation to the buildings. It used to be that there'd be a line that says that there'd be military snipers and the spawn chance within. Now there isn't. How can I edit the spawn chance for say, military snipers now in relation to the helicrash for example, or for barracks?

 

class HeliCrash_No50s: Default {
zombieChance = 0.4;
maxRoaming = 2;
zombieClass[] = {"z_soldier_pilot"};
lootChance = 0.8;
lootPos[] = {};
lootType[] = {
{"","military",0.35}
,{"","medical",0.18}
,{"MAAWS","weapon",0.02}
,{"MedBox0","object",0.05}
,{"NVGoggles","weapon",0.01}
,{"AmmoBoxSmall_556","object",0.03}
,{"AmmoBoxSmall_762","object",0.03}
,{"militaryclothes","single",0.05}
,{"militaryammo","single",0.06}
};
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

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
  • Discord

×
×
  • Create New...