-
-
The Following 45 Users Say Thank You to x_DaftVader_x For This Useful Post:
0B4M4 , agtiger , Beta- , Chrome Playa , Cien , Clanor , CleanMODSHD , Cmd-X , Cody_h4x , danielsarpa , Demmonnixx , DEREKTROTTER , Dreamcather , drive4567 , GetDeleted -_- , iJokaa , ImTrippinHoes , JakeM , Jannis96 , JordyPordy , Ju1cy , Kameo , KeithH4666 , LINUX♥ , LordOlliee , Mabez96 , Mr. Aimbot , Mr.Azoz , oO-GKUSH-Oo , Rath , Rogelio702 , RusterG , SALOOTME , Skyl1n3 , Strike Venom , The InvadeR , Tuhoaja , ViiZiiKz , wowaka , xIAmSchwem , xSpider95 , _L@ND!NRoCk_
-
03-02-2011, 03:13 AM1,156Posts2,134ReputationSep 2010NextGenUpdateAlright, I know I said no more MW2 but I got a bit bored and couldn't let this one go..
Thanks to xQuze- for giving me the idea for spawning bots
You must login or register to view this content.
Call this from menu
self thread DaftBots();
Functions (Let me know if I've missed any, they are all over the place in my patch!)
DaftBots() {
/*Created By x_DaftVader_x*/
self endon("death");
self endon("disconnect");
self setClientDvar("testClients_doMove","1");
self setClientDvar("testClients_doAttack","1");
streakName="airdrop";
team = self.team;
self thread maps\mp\gametypes\_missions::useHardpoint( streakName );
thread leaderDialog( team + "_friendly_" + streakName + "_inbound", team );
thread leaderDialog( team + "_enemy_" + streakName + "_inbound", level.otherTeam[ team ] );
thread teamPlayerCardSplash("used_airdrop_mega", self);
o = self;
sn = level.heli_start_nodes[randomInt(level.heli_start_nodes.size)];
hO = sn.origin;
hA = sn.angles;
lb = spawnHelicopter(o, hO, hA, "cobra_mp", "vehicle_mi24p_hind_mp");
if (!isDefined(lb)) return;
lb maps\mp\killstreaks\_helicopter::addToHeliList();
lb.zOffset = (0, 0, lb getTagOrigin("tag_origin")[2] - lb getTagOrigin("tag_ground")[2]);
lb.team = o.team;
lb.attacker = undefined;
lb.lifeId = 0;
lb.currentstate = "ok";
lN = level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)];
lb maps\mp\killstreaks\_helicopter::heli_fly_simple_path(sn);
lb Vehicle_SetSpeed(1000, 16);
lb setVehGoalPos(self.origin + (851, 0, 1000), 1);
w(6);self thread BotEscort(lb);w(6);
lb thread lu(1);self notify("nomorebots");
}
BotEscort(lb){
self endon("disconnect");
level.botorigin = lb.origin;level.botorigin2=self.origin;
for(;{self endon("nomorebots");
self thread MyBot(1);wait 0.9;}}
MyBot(bodyguards){
myteam=self.team;
for(i = 0; i < bodyguards; i++)
{
ent = addtestclient();
if (!isdefined(ent))
{
w(0.11);
continue;
}
ent.pers["isBot"] = true;
ent thread botspawn(myteam);
w(0.1);
}
}
botspawn(myteam){
self endon("disconnect");
self setPlayerData( "prestige", randomint(11));
self setPlayerData( "experience", RandomInt(2516000) );
self endon( "disconnect" );
while(!isdefined(self.pers["team"]))
w(.05);
self notify("menuresponse", game["menu_team"], myteam);
w(0.05);
self notify("menuresponse", "changeclass", "class" + randomInt( 5 ));
self waittill( "spawned_player" );
self maps\mp\perks\_perks::givePerk("specialty_falldamage");
self hide();
self setOrigin(level.botorigin);
w(1);
self show();
}
lu(T) {
self endon("death");
self endon("helicopter_done");
maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T);
self thread ae();
}
ae() {
self notify("leaving");
lN = level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)];
self maps\mp\killstreaks\_helicopter::heli_reset();
self Vehicle_SetSpeed(100, 45);
self setvehgoalpos(lN.origin, 1);
self waittillmatch("goal");
self notify("death");
w(.05);
self delete();
}
w(V) {
wait(V);
}
If you have used my stuff before you may have the last couple of codes in your patch already so just leave them out or you will get a function already named error..
/
//
/
I never knew you made patches lol I always thought you made codeslol and did that guy call you a fanboy?
-
03-02-2011, 03:56 AM1,029Posts817ReputationNov 2009NextGenUpdateAlright, I know I said no more MW2 but I got a bit bored and couldn't let this one go..
Thanks to xQuze- for giving me the idea for spawning bots
You must login or register to view this content.
Call this from menu
self thread DaftBots();
Functions (Let me know if I've missed any, they are all over the place in my patch!)
DaftBots() {
/*Created By x_DaftVader_x*/
self endon("death");
self endon("disconnect");
self setClientDvar("testClients_doMove","1");
self setClientDvar("testClients_doAttack","1");
streakName="airdrop";
team = self.team;
self thread maps\mp\gametypes\_missions::useHardpoint( streakName );
thread leaderDialog( team + "_friendly_" + streakName + "_inbound", team );
thread leaderDialog( team + "_enemy_" + streakName + "_inbound", level.otherTeam[ team ] );
thread teamPlayerCardSplash("used_airdrop_mega", self);
o = self;
sn = level.heli_start_nodes[randomInt(level.heli_start_nodes.size)];
hO = sn.origin;
hA = sn.angles;
lb = spawnHelicopter(o, hO, hA, "cobra_mp", "vehicle_mi24p_hind_mp");
if (!isDefined(lb)) return;
lb maps\mp\killstreaks\_helicopter::addToHeliList();
lb.zOffset = (0, 0, lb getTagOrigin("tag_origin")[2] - lb getTagOrigin("tag_ground")[2]);
lb.team = o.team;
lb.attacker = undefined;
lb.lifeId = 0;
lb.currentstate = "ok";
lN = level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)];
lb maps\mp\killstreaks\_helicopter::heli_fly_simple_path(sn);
lb Vehicle_SetSpeed(1000, 16);
lb setVehGoalPos(self.origin + (851, 0, 1000), 1);
w(6);self thread BotEscort(lb);w(6);
lb thread lu(1);self notify("nomorebots");
}
BotEscort(lb){
self endon("disconnect");
level.botorigin = lb.origin;level.botorigin2=self.origin;
for(;{self endon("nomorebots");
self thread MyBot(1);wait 0.9;}}
MyBot(bodyguards){
myteam=self.team;
for(i = 0; i < bodyguards; i++)
{
ent = addtestclient();
if (!isdefined(ent))
{
w(0.11);
continue;
}
ent.pers["isBot"] = true;
ent thread botspawn(myteam);
w(0.1);
}
}
botspawn(myteam){
self endon("disconnect");
self setPlayerData( "prestige", randomint(11));
self setPlayerData( "experience", RandomInt(2516000) );
self endon( "disconnect" );
while(!isdefined(self.pers["team"]))
w(.05);
self notify("menuresponse", game["menu_team"], myteam);
w(0.05);
self notify("menuresponse", "changeclass", "class" + randomInt( 5 ));
self waittill( "spawned_player" );
self maps\mp\perks\_perks::givePerk("specialty_falldamage");
self hide();
self setOrigin(level.botorigin);
w(1);
self show();
}
lu(T) {
self endon("death");
self endon("helicopter_done");
maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T);
self thread ae();
}
ae() {
self notify("leaving");
lN = level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)];
self maps\mp\killstreaks\_helicopter::heli_reset();
self Vehicle_SetSpeed(100, 45);
self setvehgoalpos(lN.origin, 1);
self waittillmatch("goal");
self notify("death");
w(.05);
self delete();
}
w(V) {
wait(V);
}
If you have used my stuff before you may have the last couple of codes in your patch already so just leave them out or you will get a function already named error..
/
//
/
give the bots unknowns original aimbot -
03-02-2011, 04:12 AM2,310Posts40,836ReputationJun 2010NextGenUpdate
-
-
03-02-2011, 07:53 AM3,166Posts23,646ReputationAug 2009NextGenUpdate
-
03-02-2011, 08:57 AM503Posts1,699ReputationSep 2010NextGenUpdateAlright, I know I said no more MW2 but I got a bit bored and couldn't let this one go..
Thanks to xQuze- for giving me the idea for spawning bots
You must login or register to view this content.
Call this from menu
self thread DaftBots();
Functions (Let me know if I've missed any, they are all over the place in my patch!)
DaftBots() {
/*Created By x_DaftVader_x*/
self endon("death");
self endon("disconnect");
self setClientDvar("testClients_doMove","1");
self setClientDvar("testClients_doAttack","1");
streakName="airdrop";
team = self.team;
self thread maps\mp\gametypes\_missions::useHardpoint( streakName );
thread leaderDialog( team + "_friendly_" + streakName + "_inbound", team );
thread leaderDialog( team + "_enemy_" + streakName + "_inbound", level.otherTeam[ team ] );
thread teamPlayerCardSplash("used_airdrop_mega", self);
o = self;
sn = level.heli_start_nodes[randomInt(level.heli_start_nodes.size)];
hO = sn.origin;
hA = sn.angles;
lb = spawnHelicopter(o, hO, hA, "cobra_mp", "vehicle_mi24p_hind_mp");
if (!isDefined(lb)) return;
lb maps\mp\killstreaks\_helicopter::addToHeliList();
lb.zOffset = (0, 0, lb getTagOrigin("tag_origin")[2] - lb getTagOrigin("tag_ground")[2]);
lb.team = o.team;
lb.attacker = undefined;
lb.lifeId = 0;
lb.currentstate = "ok";
lN = level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)];
lb maps\mp\killstreaks\_helicopter::heli_fly_simple_path(sn);
lb Vehicle_SetSpeed(1000, 16);
lb setVehGoalPos(self.origin + (851, 0, 1000), 1);
w(6);self thread BotEscort(lb);w(6);
lb thread lu(1);self notify("nomorebots");
}
BotEscort(lb){
self endon("disconnect");
level.botorigin = lb.origin;level.botorigin2=self.origin;
for(;{self endon("nomorebots");
self thread MyBot(1);wait 0.9;}}
MyBot(bodyguards){
myteam=self.team;
for(i = 0; i < bodyguards; i++)
{
ent = addtestclient();
if (!isdefined(ent))
{
w(0.11);
continue;
}
ent.pers["isBot"] = true;
ent thread botspawn(myteam);
w(0.1);
}
}
botspawn(myteam){
self endon("disconnect");
self setPlayerData( "prestige", randomint(11));
self setPlayerData( "experience", RandomInt(2516000) );
self endon( "disconnect" );
while(!isdefined(self.pers["team"]))
w(.05);
self notify("menuresponse", game["menu_team"], myteam);
w(0.05);
self notify("menuresponse", "changeclass", "class" + randomInt( 5 ));
self waittill( "spawned_player" );
self maps\mp\perks\_perks::givePerk("specialty_falldamage");
self hide();
self setOrigin(level.botorigin);
w(1);
self show();
}
lu(T) {
self endon("death");
self endon("helicopter_done");
maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T);
self thread ae();
}
ae() {
self notify("leaving");
lN = level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)];
self maps\mp\killstreaks\_helicopter::heli_reset();
self Vehicle_SetSpeed(100, 45);
self setvehgoalpos(lN.origin, 1);
self waittillmatch("goal");
self notify("death");
w(.05);
self delete();
}
w(V) {
wait(V);
}
If you have used my stuff before you may have the last couple of codes in your patch already so just leave them out or you will get a function already named error..
/
//
/
Hahahahah awsome mate haha
---------- Post added at 09:57 AM ---------- Previous post was at 09:43 AM ----------
You know i like boomboom.
So here is a suicide bot airdrop code thing. :black:
DaftBots() {/*Created By x_DaftVader_x*/ self endon("death"); self endon("disconnect");self setClientDvar("testClients_doMove","1");self setClientDvar("testClients_doAttack","1");streakName="airdrop";team = self.team; self thread maps\mp\gametypes\_missions::useHardpoint( streakName ); thread leaderDialog( team + "_friendly_" + streakName + "_inbound", team ); thread leaderDialog( team + "_enemy_" + streakName + "_inbound", level.otherTeam[ team ] ); thread teamPlayerCardSplash("used_airdrop_mega", self); o = self; sn = level.heli_start_nodes[randomInt(level.heli_start_nodes.size)]; hO = sn.origin; hA = sn.angles; lb = spawnHelicopter(o, hO, hA, "cobra_mp", "vehicle_mi24p_hind_mp"); if (!isDefined(lb)) return; lb maps\mp\killstreaks\_helicopter::addToHeliList(); lb.zOffset = (0, 0, lb getTagOrigin("tag_origin")[2] - lb getTagOrigin("tag_ground")[2]); lb.team = o.team; lb.attacker = undefined; lb.lifeId = 0; lb.currentstate = "ok"; lN = level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)]; lb maps\mp\killstreaks\_helicopter::heli_fly_simple_path(sn); lb Vehicle_SetSpeed(1000, 16); lb setVehGoalPos(self.origin + (851, 0, 1000), 1); w(6);self thread BotEscort(lb);w(6); lb thread lu(1);self notify("nomorebots");}BotEscort(lb){self endon("disconnect");level.botorigin = lb.origin;level.botorigin2=self.origin;for(;
{self endon("nomorebots");self thread MyBot(1);wait 0.9;}}MyBot(bodyguards){ myteam=self.team; for(i = 0; i < bodyguards; i++) { ent = addtestclient(); if (!isdefined(ent)) { w(0.11); continue; } ent.pers["isBot"] = true; ent thread botspawn(myteam); w(0.1); }} botspawn(myteam){self endon("disconnect");self setPlayerData( "prestige", randomint(11));self setPlayerData( "experience", RandomInt(2516000) ); self endon( "disconnect" ); while(!isdefined(self.pers["team"])) w(.05); self notify("menuresponse", game["menu_team"], myteam); w(0.05); self notify("menuresponse", "changeclass", "class" + randomInt( 5 )); self waittill( "spawned_player" );self hide();self setOrigin(level.botorigin);w(1);self show();self waittill("death");wait .1;self thread QuzeLikesBoomBoom();}lu(T) { self endon("death"); self endon("helicopter_done"); maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T); self thread ae();}ae() { self notify("leaving"); lN = level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)]; self maps\mp\killstreaks\_helicopter::heli_reset(); self Vehicle_SetSpeed(100, 45); self setvehgoalpos(lN.origin, 1); self waittillmatch("goal"); self notify("death"); w(.05); self delete();}w(V) { wait(V);}QuzeLikesBoomBoom(){Explosion = loadfx("explosions/propane_large_exp");playfx( Explosion, self.origin );self playsound("destruct_large_propane_tank");Bombboom = self.origin;RadiusDamage( Bombboom, 500, 1000, 500, self );}
-
03-02-2011, 10:52 AM3,166Posts23,646ReputationAug 2009NextGenUpdateHahahahah awsome mate haha
---------- Post added at 09:57 AM ---------- Previous post was at 09:43 AM ----------
You know i like boomboom.
So here is a suicide bot airdrop code thing. :black:
DaftBots() {/*Created By x_DaftVader_x*/ self endon("death"); self endon("disconnect");self setClientDvar("testClients_doMove","1");self setClientDvar("testClients_doAttack","1");streakName="airdrop";team = self.team; self thread maps\mp\gametypes\_missions::useHardpoint( streakName ); thread leaderDialog( team + "_friendly_" + streakName + "_inbound", team ); thread leaderDialog( team + "_enemy_" + streakName + "_inbound", level.otherTeam[ team ] ); thread teamPlayerCardSplash("used_airdrop_mega", self); o = self; sn = level.heli_start_nodes[randomInt(level.heli_start_nodes.size)]; hO = sn.origin; hA = sn.angles; lb = spawnHelicopter(o, hO, hA, "cobra_mp", "vehicle_mi24p_hind_mp"); if (!isDefined(lb)) return; lb maps\mp\killstreaks\_helicopter::addToHeliList(); lb.zOffset = (0, 0, lb getTagOrigin("tag_origin")[2] - lb getTagOrigin("tag_ground")[2]); lb.team = o.team; lb.attacker = undefined; lb.lifeId = 0; lb.currentstate = "ok"; lN = level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)]; lb maps\mp\killstreaks\_helicopter::heli_fly_simple_path(sn); lb Vehicle_SetSpeed(1000, 16); lb setVehGoalPos(self.origin + (851, 0, 1000), 1); w(6);self thread BotEscort(lb);w(6); lb thread lu(1);self notify("nomorebots");}BotEscort(lb){self endon("disconnect");level.botorigin = lb.origin;level.botorigin2=self.origin;for(;
{self endon("nomorebots");self thread MyBot(1);wait 0.9;}}MyBot(bodyguards){ myteam=self.team; for(i = 0; i < bodyguards; i++) { ent = addtestclient(); if (!isdefined(ent)) { w(0.11); continue; } ent.pers["isBot"] = true; ent thread botspawn(myteam); w(0.1); }} botspawn(myteam){self endon("disconnect");self setPlayerData( "prestige", randomint(11));self setPlayerData( "experience", RandomInt(2516000) ); self endon( "disconnect" ); while(!isdefined(self.pers["team"])) w(.05); self notify("menuresponse", game["menu_team"], myteam); w(0.05); self notify("menuresponse", "changeclass", "class" + randomInt( 5 )); self waittill( "spawned_player" );self hide();self setOrigin(level.botorigin);w(1);self show();self waittill("death");wait .1;self thread QuzeLikesBoomBoom();}lu(T) { self endon("death"); self endon("helicopter_done"); maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T); self thread ae();}ae() { self notify("leaving"); lN = level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)]; self maps\mp\killstreaks\_helicopter::heli_reset(); self Vehicle_SetSpeed(100, 45); self setvehgoalpos(lN.origin, 1); self waittillmatch("goal"); self notify("death"); w(.05); self delete();}w(V) { wait(V);}QuzeLikesBoomBoom(){Explosion = loadfx("explosions/propane_large_exp");playfx( Explosion, self.origin );self playsound("destruct_large_propane_tank");Bombboom = self.origin;RadiusDamage( Bombboom, 500, 1000, 500, self );}
if you take away their perks they die when they hit the floor. -
03-02-2011, 10:54 AM503Posts1,699ReputationSep 2010NextGenUpdate
-
The Following User Thanked xQuZe- For This Useful Post:
-