1.-Go to your _zombiemode.gsc and look for the line: Below it add: 2.-Open your radiant and add the following things:
SoulBoxes
Add the amount you want of trigger_use with this kvp: 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:
Rewards
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.
Active examples: If you don't want it, simply disable it like this: Choose the ones you like the most.
//========================== FREE DOOR ===============================\\
Create a door with script_brushmodel or some model with a clip (so the player doesn't walk through it) and add all these kvps: If you want it to have a trigger_use that says some message add this trigg with these kvps: To change the message it will show, go to this line and modify it to what you want: The ^3 is yellow. This is the list of available colors: ^0 = Black ^1 = Red ^2 = Green ^3 = Yellow ^4 = Blue ^5 = Light Blue ^6 = Gold ^7 = White
Create 4 trigg_use with this kvp: 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
To configure the total points awarded by the reward, edit this line: For the total that you like the most.
3.-In your mod.csv add this: 4.-Add these sounds to your soundaliases: Note: In the .rar there are more fx of various colors, choose and replace the name with the one you like the most.