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

Hazmat from COD Online [New Spawn System]

broken avatar :(
Created 12 months ago
by shippuden1592
0 Members and 1 Guest are viewing this topic.
756 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

 
Settings
Code Snippet
Plaintext
set_zombie_var( "hazmat_first_round",            2 );
set_zombie_var( "hazmat_rnd_max",            2 );
set_zombie_var( "hazmat_rnd_min",            1 );
set_zombie_var( "hazmat_health_multiplier",        4 );
set_zombie_var( "hazmat_can_monkey_taunt",            true );
set_zombie_var( "hazmat_wonder_weapon",                 500 );
set_zombie_var( "hazmat_kill_points",                250 );
These variables can be modified:
hazmat_first_round --> First round of spawn
hazmat_rnd_max --> Max spawn interval
hazmat_rnd_min --> Minimum spawn interval
hazmat_health_multiplier --> Multiplies the health of a normal zombie
hazmat_can_monkey_taunt --> Allows the boss to follow the monkey_bolt
hazmat_wonder_weapon --> Damage taken by wonder weapons
hazmat_kill_points --> Points you give when you die

How to install
You need to download the latest version of the utility file: shippuden_utility.gsc
 
The latest version will always be in the following folder:
www.mediafire.com

 


 1.-In your _zombiemode.gsc below:
Code Snippet
Plaintext
maps\_zombiemode_weapon_box::init();
Add this:
Code Snippet
Plaintext
maps\_zombiemode_ai_hazmat::init();
find this function: round_spawning() inside the function look for these lines:
Code Snippet
Plaintext
ai = spawn_zombie( spawn_point ); 
        if( IsDefined( ai ) )
        {
            level.zombie_total--;
            ai thread round_spawn_failsafe();
            count++;
        }
Note: If you are already using a boss of mine just skip to step 3
 
2.-Replace them with these
Code Snippet
Plaintext
//Bosses Spawn
            ai = undefined;

            //Add Custom Bosses

            if( !IsDefined( ai ) )
            {
                    ai = maps\_zombiemode_ai_hazmat::can_spawn_hazmat();
            }

            //Normal Spawn
            if ( !IsDefined(ai) )
            {
                    ai = spawn_zombie( spawn_point );
            }

            if( IsDefined( ai ) )
            {
                    level.zombie_total--;
                    ai thread round_spawn_failsafe();
                    count++;
            }
3.-Add these lines:
Code Snippet
Plaintext
if( !IsDefined( ai ) )
            {
                    ai = maps\_zombiemode_ai_hazmat::can_spawn_hazmat();
            }
above the line:
Code Snippet
Plaintext
//Normal Spawn
Note: This spawn mode is brand new, some of my bosses don't install like this. Very soon I will bring an update for everyone else.
 
4.-In your generic_human.atr search this:
Code Snippet
Plaintext
body
{
And below add this:
Code Snippet
Plaintext
ai_hazmat_sprint
Note. Remember to check that you do not already have xanims added
 
5.-Add this to your mod.csv
Code Snippet
Plaintext
include,ai_zombie_hazmat
6.-Add the sound.txt in your sounds
 
 

Last Edit: September 05, 2023, 01:41:43 am by shippuden1592

 
Loading ...