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

Making 5 zombies walk on any round like BO2?

broken avatar :(
Created 11 years ago
by ProRevenge
0 Members and 1 Guest are viewing this topic.
3,768 views
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
Signature
Stranded
Nacht Der Untoten: Reimagined
Encampment
Encampment V2: BO3 Mod

Mapper and Weapon Porter - I release what I can of my work for the community to enjoy :)
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
Is it possible to make it like BO2 where after round 15, up to 5 of the spawned zombies at a time will walk, whilst the rest sprint? I think it will be a script to do this which is why I posted here
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Remington R5
Location: gbBarnsley
Date Registered: 18 January 2015
Last active: 5 years ago
Posts
742
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
paypal.me/RT275
Signature
paypal.me/RT275
×
Rorke's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Rorke's Contact & Social Linkswormnationhickle.meddowsandrewshaworiginal_rorke
Is it possible to make it like BO2 where after round 15, up to 5 of the spawned zombies at a time will walk, whilst the rest sprint? I think it will be a script to do this which is why I posted here
i dont think it would be too hard to do
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
Select some random zombie's somehow after they spawned in ( maybe just use if( randomint(100)<15) or something like that, and then use this to make them walk:

Code Snippet
Plaintext
		var = randomintrange(1, 8);         
self set_run_anim( "walk" + var );                         
self.run_combatanim = level.scr_anim[self.animname]["walk" + var];



You could also edit the  set_run_speed()  function in _zombiemode_spawner and add a check for   if( level.round_number > 14 )  and then from there on set some random zombie's to "walk"
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
Sorry for being a complete noob at scripting, but where would I put that in the script? and im assuming its somewhere in zombiemode_spawners?
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
Code Snippet
Plaintext
set_run_speed()
{
    rand = randomintrange( level.zombie_move_speed, level.zombie_move_speed + 35 );
   
    // New randomization behaviour to frequently have slower zombies in higher rounds - YaPh1l
    if(level.zombie_move_speed > 64 && RandomInt(100) < 10)
        rand = 42; // run
    else if(level.zombie_move_speed > 32 && RandomInt(100) < 10)
        rand = 1; // walk
   
    if( rand <= 35 )
    {
        self.zombie_move_speed = "walk";
    }
    else if( rand <= 70 )
    {
        self.zombie_move_speed = "run";
    }
    else
    {   
        self.zombie_move_speed = "sprint";
    }
}

I now have this, How do I make it so there are only 5 walkers per round past round 15 and no runners/joggers (so normal speed sprinters (not verruckt) and walkers but no joggers?
Marked as best answer by ProRevenge 11 years ago
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
I now have this, How do I make it so there are only 5 walkers per round past round 15 and no runners/joggers (so normal speed sprinters (not verruckt) and walkers but no joggers?

Code Snippet
Plaintext
set_run_speed()
{
if( level.round_number > 15 )
{
if( level.walkers_this_round <= 5 && randomint(100)<10 )
{
level.walkers_this_round++;
self.zombie_move_speed = "walk";
}
else
{
self.zombie_move_speed = "sprint";
}
}

else
{
rand = randomintrange( level.zombie_move_speed, level.zombie_move_speed + 35 );

// New randomization behaviour to frequently have slower zombies in higher rounds - YaPh1l
if(level.zombie_move_speed > 64 && RandomInt(100) < 10)
rand = 42; // run
else if(level.zombie_move_speed > 32 && RandomInt(100) < 10)
rand = 1; // walk

if( rand <= 35 )
{
self.zombie_move_speed = "walk";
}
else if( rand <= 70 )
{
self.zombie_move_speed = "run";
}
else
{   
self.zombie_move_speed = "sprint";
}
}
}


reset_walkers_count()
{
while(1)
{
level.walkers_this_round = 0;
level waittill( "between_round_over" );
}
}


Thread the reset function once, for example from your mapname.gsc under the    maps\_zombiemode::main(); line add:

level thread reset_walkers_count();
Last Edit: June 28, 2015, 02:43:53 pm by BluntStuffy
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
It is giving me unknown function "level thread reset_walkers_count()" 
Everything is in the right place, your script is in zombiemode spawner and my mapname looks like this:

Code Snippet
Plaintext
	maps\_zombiemode::main();

        level thread reset_walkers_count();
     
        maps\_mc_thundergun::init();

level thread maps\ugx_easy_fx::fx_start();
There are a few other things in there aswell but they wont affect it

broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
It is giving me unknown function "level thread reset_walkers_count()" 
Everything is in the right place, your script is in zombiemode spawner and my mapname looks like this:

There are a few other things in there aswell but they wont affect it

You have to put this function:

Code Snippet
Plaintext
reset_walkers_count()
{
while(1)
{
level.walkers_this_round = 0;
level waittill( "between_round_over" );
}
}

In your mapname.gsc too. not in spawner..
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
I figured that out lol and did it, yet to test yet though, will edit this post in about 15 mins when ive tested

EDIT: This works beautifully, thanks a lot man :) +1
Last Edit: June 28, 2015, 09:23:43 pm by ProRevenge

 
Loading ...