Julian Loevseth
Member
Hi fellas.
So I implemented Seven's custom loot table and I upped the chance of a few things like
Nightvision, GPS and the Range finders. These spawned and I was able to find them easily.
However, I added a couple of guns there but I dont seem to find them. I checked every
possible loot spawn, gave them a 90% chance to drop and they dont.
Is my code wrong? Why arent these spawning? Also, regular guns seem to have a lowered drop rate now that Iv put these two guns in.
I added these two weapons under "Military"
Name
["M4SPR","weapon"],
["MakarovSD","weapon"],
Spawn chance:
0.5,
0.5,
Heres the military loot code (The only thing Iv touched in the buildings_spawnLoot.sqf
So I implemented Seven's custom loot table and I upped the chance of a few things like
Nightvision, GPS and the Range finders. These spawned and I was able to find them easily.
However, I added a couple of guns there but I dont seem to find them. I checked every
possible loot spawn, gave them a 90% chance to drop and they dont.
Is my code wrong? Why arent these spawning? Also, regular guns seem to have a lowered drop rate now that Iv put these two guns in.
I added these two weapons under "Military"
Name
["M4SPR","weapon"],
["MakarovSD","weapon"],
Spawn chance:
0.5,
0.5,
Heres the military loot code (The only thing Iv touched in the buildings_spawnLoot.sqf
Code:
case "Military": {
_itemTypes = [
["M4SPR","weapon"],
["MakarovSD","weapon"],
["M9","weapon"],
["M16A2","weapon"],
["M16A2GL","weapon"],
["M9SD","weapon"],
["AK_74","weapon"],
["M4A1_Aim","weapon"],
["AKS_74_kobra","weapon"],
["AKS_74_U","weapon"],
["AK_47_M","weapon"],
["M24","weapon"],
["M1014","weapon"],
["DMR","weapon"],
["M4A1","weapon"],
["M14_EP1","weapon"],
["UZI_EP1","weapon"],
["Remington870_lamp","weapon"],
["glock17_EP1","weapon"],
["MP5A5","weapon"],
["MP5SD","weapon"],
["M4A3_CCO_EP1","weapon"],
["Binocular","weapon"],
["ItemFlashlightRed","military"],
["ItemKnife","military"],
["ItemGPS","weapon"],
["ItemMap","military"],
["DZ_Assault_Pack_EP1","object"], // 16
["DZ_Patrol_Pack_EP1","object"], // 16
["DZ_Backpack_EP1","object"], // 24
//Normal
["","medical"],
["","generic"],
["","military"],
//["Body","object"],
["ItemEtool","weapon"],
["ItemSandbag","magazine"]
];
_itemChance = [
0.5,
0.5,
0.2,
0.05,
0.01,
0.02,
0.15,
0.01,
0.08,
0.05,
0.05,
0.01,
0.10,
0.01,
0.02,
0.01,
0.05,
0.08,
0.10,
0.04,
0.02,
0.01,
0.06,
0.10,
0.10,
0.01,
0.05,
//Bags
0.08, //16
0.08, //16
0.1, //DZ_Backpack_EP1 24
0.10,
1.00,
2.50,
//0.20,
0.05,
0.02
];
};