Post: CLIP FLYING In COD4 & WAW MultiPlayer
10-31-2011, 08:57 PM #1
Hawkin
Lord of the Undead
(adsbygoogle = window.adsbygoogle || []).push({}); Here is a new script I just designed. This will allow you to fly in COD4 & WAW Multiplayer, and not fly though walls, buildings, the ground, or models. I may add this as an ability for COD4 Zombieland Zombies if I get around to it. This will works on MW2 also but you can do better with Set Velocity.

Hold L2 to fly Hold R2 for A Burst of Turbo Speed (Lasts up to 10 seconds). If you crash into things at high speeds you can break you Flight suit. Which takes 10 seconds to repair.

    Flying()
{ self endon ( "disconnect" );
self endon ("death");
link=0;fst=6;turbo=50;tbs=1.2;crash=0;
if(isdefined(self.GN))self.GN delete();
for(;Winky Winky
{
if( self SecondaryOffhandButtonPressed() )
{ if(link==0){self.GN = spawn("script_origin", self.origin);}
Assert(isdefined(self.GN));
self linkto(self.GN);
link=1;
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100, vec[1] * 100, vec[2] * 100);
if( fst != 6 && self FragButtonPressed() && turbo > 0 )fst=tbs+0.5;
if(!SightTracePassed(self GetEye(),self GetEye()+(end*fst),false,self))
{ self PlayRumbleOnEntity( "grenade_rumble" );
earthquake( .3, 1, self.origin, 200 );
self Unlink(); if(isdefined(self.GN))self.GN delete();
self PlayLocalSound("MP_hit_alert");
if(crash>=4){link=2;crash=0;self PlaySound("artillery_impact");}
else { if(!self IsOnGround() && fst!=6 && (self FragButtonPressed() || tbs>1.3)){crash++;self PlayLocalSound("artillery_launch");} if(tbs>2.Cool Man (aka Tustin)crash++; link=0;wait 2;}
}
else
{ if(fst==6){self.GN MoveTo(self.GN.origin+(end*9),1,.9);fst=1.5;wait 0.8;}
else
{ if(self FragButtonPressed() && turbo>0){end=(end*tbs);turbo--;tbs+=0.3;if(tbs>3)tbs=3;}
self.GN MoveTo( self.GN.origin+end, .2);
}
}
} else
{ if(self IsOnGround())fst=6;
if(link==1) {self Unlink(); if(isdefined(self.GN))self.GN delete();link=0;}
}
if(link==2){self iPrintlnBold("^1You Crashed. ^3Repairing Flight Suit.");wait 10;self iPrintlnBold("^5Suit Repaired.");link=0;}//playsound
if(!self FragButtonPressed() && turbo < 50){turbo++;tbs=1.2;if(fst!=6)fst=1.5;}
wait .2;
}
}


Thanks to 247Yamato for giving me an idea how to do the clipping.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 12 users say thank you to Hawkin for this useful post:

Woof, 247Yamato, Correy, Diddles2Fresshh, IELIITEMODZX, ImDUB, iReset Nigga, IVI40A3Fusionz, lovebros, x_DaftVader_x, x-Roniie-x.
11-01-2011, 05:28 AM #11
iReset Nigga
2Fresshh!!
Originally posted by Hawkin View Post
I know his slutty ways all too well. I'm glad he is your problem now, not mine. Oh the nights I spent Drowning My sorrows on Coke and hookers, over that man... Whimper.... Snort.. cry...


WOW hes got me doing the same ****ing thing :( so depressed over his gay ways

The following user thanked iReset Nigga for this useful post:

Hawkin
11-01-2011, 07:05 AM #12
Gohan288
Save Point
Good work, but after changed map server was crashed, whats wrong hmm ?
11-01-2011, 04:18 PM #13
Hawkin
Lord of the Undead
Originally posted by Gohan288 View Post
Good work, but after changed map server was crashed, whats wrong hmm ?


I don't know what that would have to do with this Flying thread. This has no effect on any Dvar and its not even a level based thread. Something else would of had to cause that. Did it happen more then once?
11-01-2011, 10:17 PM #14
xRaW
xI2aW-
Originally posted by Hawkin View Post
Here is a new script I just designed. This will allow you to fly in COD4 & WAW Multiplayer, and not fly though walls, buildings, the ground, or models. I may add this as an ability for COD4 Zombieland Zombies if I get around to it. This will works on MW2 also but you can do better with Set Velocity.

Hold L2 to fly Hold R2 for A Burst of Turbo Speed (Lasts up to 10 seconds). If you crash into things at high speeds you can break you Flight suit. Which takes 10 seconds to repair.

    Flying()
{ self endon ( "disconnect" );
self endon ("death");
link=0;fst=6;turbo=50;tbs=1.2;crash=0;
if(isdefined(self.GN))self.GN delete();
for(;Winky Winky
{
if( self SecondaryOffhandButtonPressed() )
{ if(link==0){self.GN = spawn("script_origin", self.origin);}
Assert(isdefined(self.GN));
self linkto(self.GN);
link=1;
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100, vec[1] * 100, vec[2] * 100);
if( fst != 6 && self FragButtonPressed() && turbo > 0 )fst=tbs+0.5;
if(!SightTracePassed(self GetEye(),self GetEye()+(end*fst),false,self))
{ self PlayRumbleOnEntity( "grenade_rumble" );
earthquake( .3, 1, self.origin, 200 );
self Unlink(); if(isdefined(self.GN))self.GN delete();
self PlayLocalSound("MP_hit_alert");
if(crash>=4){link=2;crash=0;self PlaySound("artillery_impact");}
else { if(!self IsOnGround() && fst!=6 && (self FragButtonPressed() || tbs>1.3)){crash++;self PlayLocalSound("artillery_launch");} if(tbs>2.Cool Man (aka Tustin)crash++; link=0;wait 2;}
}
else
{ if(fst==6){self.GN MoveTo(self.GN.origin+(end*9),1,.9);fst=1.5;wait 0.8;}
else
{ if(self FragButtonPressed() && turbo>0){end=(end*tbs);turbo--;tbs+=0.3;if(tbs>3)tbs=3;}
self.GN MoveTo( self.GN.origin+end, .2);
}
}
} else
{ if(self IsOnGround())fst=6;
if(link==1) {self Unlink(); if(isdefined(self.GN))self.GN delete();link=0;}
}
if(link==2){self iPrintlnBold("^1You Crashed. ^3Repairing Flight Suit.");wait 10;self iPrintlnBold("^5Suit Repaired.");link=0;}//playsound
if(!self FragButtonPressed() && turbo < 50){turbo++;tbs=1.2;if(fst!=6)fst=1.5;}
wait .2;
}
}


Thanks to 247Yamato for giving me an idea how to do the clipping.
script works but its a bit weird, when i crash i dont get repairing fligght suit and i can just fly again. turbo mode dont work i hold R (i changed the buttons) and nothing happened. Likewise when i use G when i use R2 (pc) i tested on pc because it easier
11-02-2011, 04:51 AM #15
Hawkin
Lord of the Undead
Originally posted by xRaW View Post
script works but its a bit weird, when i crash i dont get repairing fligght suit and i can just fly again. turbo mode dont work i hold R (i changed the buttons) and nothing happened. Likewise when i use G when i use R2 (pc) i tested on pc because it easier


You have to crash with the flight suit while in turbo 4 time to have to repair the suit. You can change those settings. those are just default.
11-02-2011, 03:12 PM #16
Hawkin
Lord of the Undead
Originally posted by xRaW View Post
script works but its a bit weird, when i crash i dont get repairing fligght suit and i can just fly again. turbo mode dont work i hold R (i changed the buttons) and nothing happened. Likewise when i use G when i use R2 (pc) i tested on pc because it easier


I just double check turbo mode, and it works. You have to already be in the air to use it. It only lasts for 10 seconds then recharges. Also you have to crash 4 times to get the repairing flight suit, and only if you are in turbo mode when you crash. If you are going at max turbo speed (you accelerate when using turbo, and takes a second to max out) it only takes 2 crashes You can change that in this line

    if(crash>=4){.....


Change the 4 to the number of crashes you want to have before the repairing flight suit happens. (Again a Crash only counts if you are going fast)

if you want to change that, find this line

    else { if(!self IsOnGround() && fst!=6 && (self FragButtonPressed() || tbs>1.3))....


change it to

    else { if(!self IsOnGround() && fst!=6)...


Lastly if you want to change the max speed turbo can go find the line

    if(self FragButtonPressed() && turbo>0){end=(end*tbs);turbo--;tbs+=0.3;if(tbs>3)tbs=3;}

look at this part

    if(tbs>3)tbs=3;


Change both 3's to whatever you want 3 is 3 times normal speed. You need to change both 3's.

I hope that helps.

The following 3 users say thank you to Hawkin for this useful post:

iReset Nigga, Jeremy, xRaW

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo