Post: Release:Pet Pavelow
12-24-2010, 01:49 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Edit: Cleaned up the code and added the kill option as well ( and its a cobra now.. )

This spawns a Cobra above your head which then follows you around and targets enemies..


    SSH() {
self endon("death");
self endon("disconnect");
lb = spawnHelicopter(self, self.origin + (50, 0, 500), self.angles, "cobra_mp","vehicle_mi24p_hind_mp");
if (!isDefined(lb)) return;
lb.owner = self;
lb.team = self.team;
mg1 = spawnTurret("misc_turret", lb.origin, "pavelow_minigun_mp");
mg1 setModel("weapon_minigun");
mg1 linkTo(lb, "tag_light_L_wing", (0, 0, 0), (0, 0, 0));
mg1.owner = self;
mg1.team = self.team;
mg1 makeTurretInoperable();
mg1 SetDefaultDropPitch(Cool Man (aka Tustin);
mg1 SetTurretMinimapVisible(0);
mg2 = spawnTurret("misc_turret", lb.origin, "pavelow_minigun_mp");
mg2 setModel("weapon_minigun");
mg2 linkTo(lb, "tag_light_R_wing", (0, 0, 0), (0, 0, 0));
mg2.owner = self;
mg2.team = self.team;
mg2 makeTurretInoperable();
mg2 SetDefaultDropPitch(Cool Man (aka Tustin);
mg2 SetTurretMinimapVisible(0);
mg1 setMode("auto_nonai");
mg2 setMode("auto_nonai");
mg1 thread maps\mp\killstreaks\_helicopter::sentry_attackTargets();
mg2 thread maps\mp\killstreaks\_helicopter::sentry_attackTargets();
self thread CA(lb,mg1,mg2);
if (level.teamBased) {
mg1 setTurretTeam(self.team);
mg2 setTurretTeam(self.team);
}


for (;Winky Winky {
lb Vehicle_SetSpeed(1000, 16);
lb setVehGoalPos(self.origin + (51, 0, 601), 1);
wait 0.05;
}
}

CA(x,y,z) {
self notifyOnPlayerCommand("X", "+gostand");
for (;Winky Winky {
self waittill("X");

x delete();y delete();z delete();
}
}


(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to x_DaftVader_x for this useful post:

-SilverSurfer-, DR-Dizzy, manster, OFWGKTA, silsil, Solid Snake, TheJaRniBoi, TONEY777
12-24-2010, 02:22 AM #2
CHAOZ
Banned
lol.....................nice
12-24-2010, 02:39 AM #3
Default Avatar
Newelly
Guest
Originally posted by Homer
Seeing as Mossy has released his, you might as well have this as well Smile

This spawns a Pavelow above your head which then follows you around and targets enemies..


    SpawnPavelow(){
self endon("death");
self endon("disconnect");
lb = spawnHelicopter(self,self.origin+(50,0,500),self.angles,"pavelow_mp","vehicle_pavelow_opfor");
if(!isDefined(lb))return;
lb.owner=self;
lb.team=self.team;
lb.AShoot=1;
mgTurret1=spawnTurret("misc_turret",lb.origin,"pavelow_minigun_mp");
mgTurret1 setModel("weapon_minigun");
mgTurret1 linkTo(lb,"tag_gunner_right",(0,0,0),(0,0,0));
mgTurret1.owner=self;
mgTurret1.team=self.team;
mgTurret1 makeTurretInoperable();
mgTurret1 SetDefaultDropPitch(Cool Man (aka Tustin);
mgTurret1 SetTurretMinimapVisible(0);
mgTurret2=spawnTurret("misc_turret",lb.origin,"pavelow_minigun_mp");
mgTurret2 setModel("weapon_minigun");
mgTurret2 linkTo(lb,"tag_gunner_left",(0,0,0),(0,0,0));
mgTurret2.owner = self;
mgTurret2.team = self.team;
mgTurret2 makeTurretInoperable();
mgTurret2 SetDefaultDropPitch(Cool Man (aka Tustin);
mgTurret2 SetTurretMinimapVisible(0);
lb.mg1=mgTurret1;
lb.mg2=mgTurret2;
if ( level.teamBased ){mgTurret1 setTurretTeam( self.team );
mgTurret2 setTurretTeam( self.team );}
self thread Autoshoot(lb);
for(;Winky Winky
{lb Vehicle_SetSpeed(1000,16);
lb setVehGoalPos( self.origin+(51,0,501),1);wait 0.05;}}

Autoshoot(H){self endon("death");self endon("disconnect");
if(H.AShoot){H.mg1 setMode("auto_nonai");
H.mg2 setMode("auto_nonai");
H.mg1 thread maps\mp\killstreaks\_helicopter::sentry_attackTargets();
H.mg2 thread maps\mp\killstreaks\_helicopter::sentry_attackTargets();
}else {self iPrintlnBold("");}}



That Psn Is Being Spammed By Me In The Morning Smile
When I Get On =D After Lending My Bro's Ps3 :p

if he wants i shall make him 11th on a new account if he wishes?
christmas day or if my bro lets me do it for him Smile on his ps3 :P

The following user thanked Newelly for this useful post:

x_DaftVader_x
12-24-2010, 02:57 AM #4
Pr3ttyroyswag
Bounty hunter
who would think of sum like this
12-24-2010, 02:59 AM #5
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by Homer
Seeing as Mossy has released his, you might as well have this as well Smile

This spawns a Pavelow above your head which then follows you around and targets enemies..
[/code]


i tried it and i got a syntax error then i tried mossy new ac130 and it worked LOL
12-24-2010, 03:02 AM #6
Originally posted by iJokaa View Post
i tried it and i got a syntax error then i tried mossy new ac130 and it worked LOL


really? maybe a copy and paste error, i'll check it in the morning, im tired now ..:(

I just checked, it looks fine, its straight out of my patch, you are just calling the first function, not the second one?
12-24-2010, 03:04 AM #7
Default Avatar
Newelly
Guest
Am i right...

you can change the model to any model on the game =D

or am i just talking in wonderland?
12-24-2010, 03:07 AM #8
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by Homer
really? maybe a copy and paste error, i'll check it in the morning, im tired now ..:(

I just checked, it looks fine, its straight out of my patch, you are just calling the first function, not the second one?


yea i only called in the first one.i done it like your bomberman script. when you only call in the first function. i will tomoro. maybe it was a copy and paste error. but i hope i get it sorted . good night man Happy
12-24-2010, 03:11 AM #9
Originally posted by Pr3ttyroyswag View Post
who would think of sum like this


you'd be amazed at some of the things that go through my head..have you seen my "blow your own head off" code yet Smile

---------- Post added at 03:11 AM ---------- Previous post was at 03:09 AM ----------

Originally posted by iJokaa View Post
yea i only called in the first one.i done it like your bomberman script. when you only call in the first function. i will tomoro. maybe it was a copy and paste error. but i hope i get it sorted . good night man Happy


night .. ..
12-24-2010, 03:42 AM #10
Pr3ttyroyswag
Bounty hunter
Got 2 Lose Your Mind Before You Come to Your Senses

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo