Post: Mw2 Decoy's
03-13-2011, 11:48 AM #1
Merkii
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({}); I edited the title as i found my problem may as well release this not much different to daft's dancing doll except i made it shoot and be a flash bang :p
    
DaftBots() {/*Created By Daft Vader Edit by merk*/
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, 300), 1);

wait 9;self thread BotEscort(lb);wait 8;
lb thread lu(1);self notify("nomorebots");
}

WalkingModel(Model,Distance,YOffset)
{



doll=spawn("script_model",self.origin);
doll setModel(Model);
doll Solid();
self thread FlyMove(doll,YOffset);


}

FlyMove(FlyModel,YOffset)
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
if(isDefined(FlyModel))
{
FlyModel RotateTo(self getPlayerAngles(),0.1);
wait 0.05;
FlyModel MoveTo(self.origin+(0,0,YOffset),0.1);
wait 0.05;
}
else
{
break;
}
}
}
BotEscort(lb)
{self endon("disconnect");
level.botorigin = lb.origin;level.botorigin2=self.origin;
for(;Winky Winky{self endon("nomorebots");
self thread MyBot(1);wait 0.6;}





}

MyBot(bodyguards)
{myteam=self.team;
for(i = 0; i < bodyguards; i++)
{
ent[i] = addtestclient();

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

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

botspawn(myteam)
{
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.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);wait 1;
self thread WalkingModel("flash_grenade",200,10);

}
(adsbygoogle = window.adsbygoogle || []).push({});
03-13-2011, 11:57 AM #2
247Yamato
< ^ > < ^ >
Originally posted by MerkLovesToHack View Post
ok so what i want to try do is make a bot grenade but i want to try make it for zombies so the guy who buys it gets a laptop then where he teleports the bot to it will explode so does anyone kknow how i can do this?


You saw se7ensins video, chuiby said that he will release this weekend
03-13-2011, 11:58 AM #3
Merkii
Former Staff
Originally posted by 247Yamato View Post
You saw se7ensins video, chuiby said that he will release this weekend


no i truly didnt could you link me plz?
03-13-2011, 12:02 PM #4
iHaXz_xD
Bounty hunter
Originally posted by MerkLovesToHack View Post
ok so what i want to try do is make a bot grenade but i want to try make it for zombies so the guy who buys it gets a laptop then where he teleports the bot to it will explode so does anyone kknow how i can do this?


I Could Try make This... Dunno If I Could Tho, Sounds Pretty Hard To Make :p
03-13-2011, 12:11 PM #5
Originally posted by xD View Post
I Could Try make This... Dunno If I Could Tho, Sounds Pretty Hard To Make :p


Not really, you have all the codes you need, you just need to think about it and put them all together.. Winky Winky
03-13-2011, 12:11 PM #6
Merkii
Former Staff
Originally posted by xD View Post
I Could Try make This... Dunno If I Could Tho, Sounds Pretty Hard To Make :p


ive got it it was very easy Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo