1.-Go to your _zombiemode.gsc and look for the line:
Code Snippet
Plaintext
maps\_zombiemode_weapon_box::init();
Below it add:
Code Snippet
Plaintext
maps\_zombiemode_soulboxes::init();
2.-Open your radiant and add the following things:
SoulBoxes
Add the amount you want of trigger_use with this kvp:
Code Snippet
Plaintext
targetname soul_triggers
In each of the trigger_use you created, create a script_struct almost touching the ground, select the trigger and then the script_struct and press W, you should see a red line that joins the trigger_use with the script_struct.
The amount you add will be the number of boxes to fill.
The number of souls needed is generated from a random number (between a minimum and a maximum) and you can configure it by modifying these lines in the file:
If you want to enable the rewards, all you have to do is set the one you like the most to true (it can be one, all or none, depending on what you want), if not, set it to false to remove it.
These should be positioned where each player receives the weapon. There are 4, one for each player. Each weapon will be locked to a specific player. To configure the weapon is with this line:
You simply change the name to the weapon you want to give.
//========================== ALL PERKS ===============================\\
There are two files: _normal and _shippuden. If you are not using the shippuden perks you should use the file that ends in _normal otherwise you should use the one that ends in _shippuden. When you choose it, remove the _normal or the _shippuden so that it remains only: _zombiemode_soulboxes