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

Slasher from Rave in the Redwoods [New Spawn System]

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

 
Credits:
shippuden1592 ---> Script & fx´s
Lightning ---> models & xanims

 
Settings
Code Snippet
Plaintext
set_zombie_var( "slasher_first_round",            1 );
set_zombie_var( "slasher_rnd_max",            4 );
set_zombie_var( "slasher_rnd_min",            3 );
set_zombie_var( "slasher_health_multiplier",        8 );      
set_zombie_var( "slasher_can_monkey_taunt",            true );      
set_zombie_var( "slasher_wonder_weapon",                 500 );    
set_zombie_var( "slasher_kill_points",                500 );
These variables can be modified:
slasher_first_round --> First round of spawn
slasher_rnd_max --> Max spawn interval
slasher_rnd_min --> Minimum spawn interval
slasher_health_multiplier --> Multiplies the health of a normal zombie
slasher_can_monkey_taunt --> Allows the boss to follow the monkey_bolt
slasher_wonder_weapon --> Damage taken by wonder weapons
slasher_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

 
Inside the file you will see a function called: Is_Boss( zombie )
Code Snippet
Plaintext
Is_Boss(zombie)
{
    if( IsDefined( zombie.is_hazmat ) && zombie.is_hazmat )
        return true;

    switch(zombie.animname)
    {
        case "megaton_zombie":
        case "radz_left_zombie":
        case "radz_right_zombie":
        case "mech_zombie":
            return true;
        default:
            return false;
    }
}
Add the animname of your special zombie if you are using one of mine. In the case of the slasher it would be:
Code Snippet
Plaintext
case "slasher_zombie":

 
 1.-In your _zombiemode.gsc below:
Code Snippet
Plaintext
maps\_zombiemode_weapon_box::init();
Add this:
Code Snippet
Plaintext
maps\_zombiemode_ai_slasher::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_slasher::can_spawn_slasher();
        }

        //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_slasher::can_spawn_slasher();
        }
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_zombie_slasher_death
    ai_zombie_slasher_idle
    ai_zombie_slasher_ram_attack_in
    ai_zombie_slasher_ram_attack_loop
    ai_zombie_slasher_ram_attack_out
    ai_zombie_slasher_spin_attack_01
    ai_zombie_slasher_spin_attack_02
    ai_zombie_slasher_taunt_01
    ai_zombie_slasher_taunt_02
    ai_zombie_slasher_throw
    ai_zombie_slasher_turn45L
    ai_zombie_slasher_turn45R
    ai_zombie_slasher_turn90L
    ai_zombie_slasher_turn90R
    ai_zombie_slasher_turn135L
    ai_zombie_slasher_turn135R
    ai_zombie_slasher_turn180L
    ai_zombie_slasher_turn180R
    ai_zombie_slasher_walk
    ai_zombie_slasher_wall_drop
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_slasher

 
 
 


 
Last Edit: September 05, 2023, 01:42:29 am by shippuden1592

 
Loading ...