Post: Headbanging Bots?!
03-01-2011, 07:52 PM #1
xQuZe-
You talkin to me?
(adsbygoogle = window.adsbygoogle || []).push({});
Really basic code but hella lot of fun.


[ame=https://www.youtube.com/watch?v=qz-GbX5V1Vo]YouTube - Headbang-bots ftw?[/ame]

Credits to x_Daftvader_x for his code. You're awsome mate Winky Winky

I tried to add a trigger. But skyl1ne was to fast. Smile
Nice copy pasta skills skyl1ne Winky Winky
    
FiveBangers()
{
self endon("disconnect");
self thread Banger(5);
self setClientDvar("testClients_doMove","0");
while(1)
{
level.callerangels = self.angles+(0,180,0);
level.callerorigin = self.origin+(0,-100,0);
wait 1;
}
}

Banger(bangers)
{
for(i = 0; i < bangers; i++)
{
ent[i] = addtestclient();

if (!isdefined(ent[i]))
{
wait 0.11;
continue;
}

ent[i].pers["isBot"] = true;
ent[i] thread SpawnBanger();
wait 0.1;
}
}

SpawnBanger()
{
self setPlayerData( "prestige", randomint(11));
self setPlayerData( "experience", RandomInt(2516000) );
self endon( "disconnect" );
while(!isdefined(self.pers["team"]))
wait .05;
self notify("menuresponse", game["menu_team"], "autoassign");
wait 0.5;
self notify("menuresponse", "changeclass", "class" + randomInt( 2 ));
self waittill( "spawned_player" );
self setOrigin(level.callerorigin);
while(1)
{
self setPlayerAngles(level.callerangels+(180,0,0));
wait 0.5;
}
}


Awsome things has started now!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to xQuZe- for this useful post:

anddrew, frankaugurk, Ju1cy, Mabez96, pois0n, PussayPatrol, x_DaftVader_x, xT4sSin
03-02-2011, 01:21 AM #29
Cody_h4x
Nobody is like me
Great code very funny Smile
03-02-2011, 08:36 AM #30
xQuZe-
You talkin to me?
Originally posted by h4x View Post
Great code very funny Smile


Thanks Winky Winky

Originally posted by zHoMiCiDe View Post
lol i cant belive its for the rock glitch


Yup No

Originally posted by VxReLoaDZxV View Post
thats sketchy but cool


Thanks lol
03-02-2011, 02:39 PM #31
xQuZe-
You talkin to me?
Originally posted by JakeM501 View Post
Where is the box and the explosion? You obviously did not code this... :p Have a box and when you press square a explosion happens and the box dissapears in the flame and smoke and there are 5 bots headbanging...


Enjoy lol.

You must login or register to view this content.
03-02-2011, 02:42 PM #32
Mw2Freak13
Climbing up the ladder
haha nice :P

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo