UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Soul Boxes

broken avatar :(
Created 2 years ago
by shippuden1592
0 Members and 1 Guest are viewing this topic.
457 views
broken avatar :(
×
broken avatar :(
Location: mxGuanajuato
Date Registered: 5 May 2013
Last active: 5 days ago
Posts
225
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
Personal Quote
If you do not take risks, you can not create a fut
×
shippuden1592's Groups

www.mediafire.com

 
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:
Code Snippet
Plaintext
set_zombie_var( "soulboxes_soul_min",        10 );
        set_zombie_var( "soulboxes_soul_max",        20 );

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:
Code Snippet
Plaintext
set_zombie_var( "soulboxes_reward_door",        true );
        set_zombie_var( "soulboxes_reward_weapon",        true );
        set_zombie_var( "soulboxes_reward_perks",        true );
        set_zombie_var( "soulboxes_reward_points",        true );
If you don't want it, simply disable it like this:
Code Snippet
Plaintext
set_zombie_var( "soulboxes_reward_door",        false );
        set_zombie_var( "soulboxes_reward_weapon",        false );
        set_zombie_var( "soulboxes_reward_perks",        false );
        set_zombie_var( "soulboxes_reward_points",        false );
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:
Code Snippet
Plaintext
targetname    soulboxes_reward_door
If you want it to have a trigger_use that says some message add this trigg with these kvps:
Code Snippet
Plaintext
targetname    soulboxes_reward_door_trigger
To change the message it will show, go to this line and modify it to what you want:
Code Snippet
Plaintext
set_zombie_var( "soulboxes_reward_door_text",        "^3Finish filling the soul boxes." );
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
 
//========================== FREE WEAPON ===============================\\
Create 4 trigg_use with this kvp:
Code Snippet
Plaintext
targetname    soulboxes_reward_weapon_point
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:
Code Snippet
Plaintext
set_zombie_var( "soulboxes_reward_weapon_name",        "zm_thundergun" );
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
 
//========================== FREE POINTS ===============================\\
To configure the total points awarded by the reward, edit this line:
Code Snippet
Plaintext
set_zombie_var( "soulboxes_reward_points_total",        5000 );
For the total that you like the most.
 
3.-In your mod.csv add this:
Code Snippet
Plaintext
fx,soulboxes/fx_soulboxes_point
fx,soulboxes/fx_soulboxes_zombie_soul
4.-Add these sounds to your soundaliases:
Code Snippet
Plaintext
soul_loop,raw\sound\soulboxes\loop.wav,,,,ambience,90,90,100,100,450,700,curve3,curve2,allon,rdefault,5,priority,5,reject,-100,100,0,25,50,0.25,1,3d,loaded,looping,,1,0,96,,default,0,50,150,92,0.4,0.5,no,yes,none,1000,no,,both,no,no,,,75,no,no,0,0,wma,yes,no,world,ambience,no,raw\sound\soulboxes\loop.xm4,0,raw\sound\soulboxes\loop.mp3,0,raw\sound\soulboxes\loop.wav,0,zmb_common,all
soul_pickup,raw\sound\soulboxes\pickup.wav,amb_500,,,ambience,95,95,100,100,500,500,log2,log1,allon,rdefault,4,priority,5,reject,-100,100,0,10,50,0,1,3d,loaded,nonlooping,,1,0,95,,default,0,20,120,93,0.5,0.5,no,yes,none,1000,no,,both,no,no,,,65,no,no,0,0,wma,yes,no,world,ambience,no,raw\sound\soulboxes\pickup.xm4,0,raw\sound\soulboxes\pickup.mp3,0,raw\sound\soulboxes\pickup.wav,0,zmb_theater,all
Note: In the .rar there are more fx of various colors, choose and replace the name with the one you like the most.

 
Loading ...