Login  Register

Re: Adding custom ammunition to loot table

Posted by Ripstop on May 25, 2014; 10:16pm
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/Adding-custom-ammunition-to-loot-table-tp16555p16562.html

Greetings,

I'm just dabbling in the coding and haven't looked at the file that you are modding.

Looking at your example though, I can see that you are trying to add a magazine to a weapon list. At some point the code is going to try to "addweapon" and skip over your magazine. It will need a "addmagazine" command to spawn. I think you may have added your magazine to the wrong list.

Maybe someone in the know will chime in and answer your question more effectively but my suggestion may be enough to help you continue looking for your solution.

Good luck.
Ripstop