Post: [Release]Follow Me Monkey V2
12-15-2011, 08:40 PM #1
coolbunny1234
the bunny who started it all
(adsbygoogle = window.adsbygoogle || []).push({}); Both made by me a while back, the animation of the models was done completely by Crippler, thanks to him for that code!





The code below belongs to the second video with lightning.



    monkey() 
{* * * *
* * * * model = spawn( "script_model", self.origin+(0,90,25));
* * * * model SetModel( "weapon_zombie_monkey_bomb" );
* * * * * * * * //weapon_zombie_monkey_bomb
* * * * model UseAnimTree( #animtree );
* * * * model SetAnim( %o_monkey_bomb );
* * * * PlayfxOnTag(loadfx("maps/zombie/fx_zombie_monkey_light"), model, "tag_origin" );
* * * * model thread follow(self);
* * * * * * * * model thread Think(self);
* * * * * * * * model thread fry(self);
* * * * velocitySq = 10000*10000;
* * * * oldPos = model.origin;
* * * * while( velocitySq != 0 )
* * * * {
* * * * wait( 0.05 );
* * * * velocitySq = distanceSquared( model.origin, oldPos );
* * * * oldPos = model.origin;
* * * * }* *
}
Think(Owner){
* Owner endon("death");
* Owner endon("disconnect");
* for(;Winky Winky{* * *
* * * * * * * * dist=350;zomb=GetAiSpeciesArray( "axis", "all" );
* * * * * * * * for (i = 0; i < zomb.size; i++)
* * * * * * * * if( distance( zomb[i].origin, self.origin ) < dist )
* * * * * * * * self thread Fire(zomb[i].origin,Owner,zomb[i],self);
* * wait .1;}
}
fry(Owner){
* Owner endon("death");
* Owner endon("disconnect");
* for(;Winky Winky{* * *

* * * * * * * * dist1=352;zombies=GetAiSpeciesArray( "axis", "all" );
* * * * * * * * for (k = 0; k < zombies.size; k++)
* * * * * * * * if( distance( zombies[k].origin, self.origin ) < dist1 )
* * * * * * * * zombies[k] thread maps\_zombiemode_tesla::tesla_play_death_fx(1);
* * wait .1;}
}
Fire(Target,Owner,zom,Crip){
* Owner endon("death");
* Owner endon("disconnect");
* Owner.score += 20; Owner.score_total += 20;
* Owner maps\_zombiemode_score::set_player_score_hud();
* death=spawn("script_model", self.origin+(0,0,0));
* death setmodel("tag_origin");
* PlayfxOnTag(loadfx("maps/zombie/fx_zombie_wire_spark"), death, "tag_origin");
* PlayfxOnTag(loadfx("maps/zombie/fx_zombie_tesla_shock"), death, "tag_origin");
* PlayfxOnTag(loadfx("maps/zombie/fx_zombie_tesla_bolt_secondary"), death, "tag_origin");
* PlayfxOnTag(loadfx("maps/zombie/fx_zombie_tesla_shock_secondary"), death, "tag_origin");
* death Moveto(Target,.2);wait .2;RadiusDamage(Target, 60, 185, 175);
* death delete();
}
Follow(Owner)
{
* * * * Owner endon( "disconnect" );*
* * * * Owner endon( "death" );
* * * * for(;Winky Winky{
* * * * if(self.origin!=Owner.origin){
* * * * * * * * self moveto(owner.origin,6);}
* * * * * * * * wait .01;}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to coolbunny1234 for this useful post:

AndreeU, Correy
12-16-2011, 12:57 AM #2
Correy
I'm the Original
pretty awesome, does it actually attract the zombies or is it just a script model?
12-16-2011, 02:03 PM #3
z AppLe o
Do a barrel roll!
nice this looks awesome
12-18-2011, 02:44 AM #4
1337HaXaLoT
Bounty hunter
nice post Smile
12-18-2011, 06:41 AM #5
Originally posted by Correy View Post
pretty awesome, does it actually attract the zombies or is it just a script model?
The zombies dont need attracted, they come to you anyway :p
12-18-2011, 04:22 PM #6
Correy
I'm the Original
Originally posted by lovebros View Post
The zombies dont need attracted, they come to you anyway :p


im on about the monkey :derp:
12-18-2011, 10:20 PM #7
X-RAY200
Little One
Looks Great! :y:
01-15-2012, 10:38 PM #8
coolbunny1234
the bunny who started it all
The monkey follows you, it doesn't attract the zombies as it doesn't need to.
01-15-2012, 11:42 PM #9
Originally posted by coolbunny1234 View Post
The monkey follows you, it doesn't attract the zombies as it doesn't need to.

Hey i was wondering if you know how to put the zombie glow fx onto a player's eyes so they look like a zombie? i got one eye but it does not stay well (trails behind the player) can you help please?
01-15-2012, 11:51 PM #10
coolbunny1234
the bunny who started it all
Originally posted by doggyshizz View Post
Hey i was wondering if you know how to put the zombie glow fx onto a player's eyes so they look like a zombie? i got one eye but it does not stay well (trails behind the player) can you help please?


What fx and tag are you using on the player?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo