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

IW Brute

broken avatar :(
Created 5 years ago
by shippuden1592
0 Members and 1 Guest are viewing this topic.
1,697 views
broken avatar :(
×
broken avatar :(
Location: mxGuanajuato
Date Registered: 5 May 2013
Last active: 10 days ago
Posts
230
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
psulions45 & Lightning / fx´s & models
Settings
Code Snippet
Plaintext
set_zombie_var( "brute_first_round",            7 ); //Initial round of spawn
set_zombie_var( "brute_rnd_max",            4 ); //Maximum interval between respawn
set_zombie_var( "brute_rnd_min",            3 );//Minimum interval between respawn
set_zombie_var( "brute_health_multiplier",        7 );//Brute health without helmet
set_zombie_var( "brute_maxhealth_multiplier",        8);//Brute health with helmet
How to install

1.-In your _zombiemode.gsc below:​
Code Snippet
Plaintext
maps\_zombiemode_weapon_box::init();
​Add this:
Code Snippet
Plaintext
maps\_zombiemode_ai_brute::init();
2.- In your generic_human.atr search this:​
Code Snippet
Plaintext
body
{
​And below add this:
Code Snippet
Plaintext
ai_zombie_brute_mantle_over
    ai_zombie_brute_traverse_down_128_helmet_off
    ai_zombie_brute_traverse_down_128_helmet_on
    ai_zombie_brute_sprint_attack_01
    ai_zombie_brute_sprint_attack_02
    ai_zombie_brute_sprint_attack_03
    ai_zombie_brute_sprint_attack_04
    ai_zombie_brute_helmet_off
    ai_zombie_brute_run_hunched_enter
    ai_zombie_brute_run_hunched_exit
    ai_zombie_brute_attack_laser_idle
    ai_zombie_brute_attack_laser_enter
    ai_zombie_brute_run_attack_01
    ai_zombie_brute_run_attack_02
    ai_zombie_brute_run_attack_03
    ai_zombie_brute_run_attack_04
    ai_zombie_brute_sprint
    ai_zombie_brute_run
    ai_zombie_brute_death
    ai_zombie_brute_death_no
    ai_zombie_brute_idle
    ai_zombie_brute_turn45L
    ai_zombie_brute_turn45R
    ai_zombie_brute_turn90L
    ai_zombie_brute_turn90R
    ai_zombie_brute_turn135L
    ai_zombie_brute_turn135R
3.Copy this file: raw/animscripts/zombie_melee.gsc and paste in your folder: mods/mapname/animscripts/zombie_melee.gsc
Replace all function: pick_zombie_melee_anim( zombie_guy ) with this:
Code Snippet
Plaintext
pick_zombie_melee_anim( zombie_guy )
{
    melee_anim = undefined;
    if ( zombie_guy.has_legs )
    {
        if( zombie_guy.animname == "brute_zombie" )
        {
            if( zombie_guy.helmet )
            {
                melee_anim = random(level.scr_anim["brute_zombie"]["melee"]["run"]);
            }
            else
            {
                melee_anim = random(level.scr_anim["brute_zombie"]["melee"]["sprint"]);
            }
        }
        else
        {
            switch(zombie_guy.zombie_move_speed)
            {
           
                case "walk":
                    anims = array_combine(level._zombie_melee[zombie_guy.animname],level._zombie_walk_melee[zombie_guy.animname]);
                    melee_anim = random(anims);
                    break;
               
                case "run":            
                    case "sprint":
                    anims = array_combine(level._zombie_melee[zombie_guy.animname],level._zombie_run_melee[zombie_guy.animname]);
                    melee_anim = random(anims);
                    break;            
            }
        }
    }
    else if(zombie_guy.a.gib_ref == "no_legs")
    {
        // if zombie have no legs whatsoever.
        melee_anim = random(level._zombie_stumpy_melee[zombie_guy.animname]);

    }
    else
    {
         melee_anim = random(level._zombie_melee_crawl[zombie_guy.animname]);
    }

    return melee_anim;
}
4.-Add this to your mod.csv
Code Snippet
Plaintext
include,zombie_brute

Last Edit: May 19, 2022, 04:25:12 am by shippuden1592

 
Loading ...