0
Simple and easy code to make and yet so fun, works just like a MW2 Javelin
Precache This in the init() located in the rank.gsc.
PrecacheModel( "projectile_cbu97_clusterbomb" );
Credits: IELIITEMODZX - GetCursorPos codeCode:Jav() { self iPrintln( "Javelin [^2Given^7]" ); self GiveWeapon( "rpg_mp", 2 ); wait 1; self SwitchToWeapon( "rpg_mp" ); for(;;) { if(self AttackButtonPressed() && self getcurrentweapon() == "rpg_mp") { pos = getCursorPos(); Jav = spawn( "script_model", self.origin + (10,10,10)); Jav setModel( "projectile_cbu97_clusterbomb" ); Jav.angles = (90,90,90); Jav playSound("weap_hind_missile_fire"); Jav moveto( self.origin + (10,10,2468), 8 ); Jav thread FXME(); wait 8; Jav moveto( pos, 2 ); wait 2; playFx(level.chopper_fx["explode"]["large"],Jav.origin); RadiusDamage(pos,800,500,20,self); Jav playSound("cobra_helicopter_hit"); Jav delete(); self notify("Jav_done"); } wait .05; } } getCursorPos() { return bulletTrace(self getTagOrigin("tag_weapon_right"),vector_scale(anglesToForward(self getPlayerAngles()),1000000),false,self)["position"]; } FXME() { self endon("Jav_done"); for(;;) { playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin); wait .05; } }
Register or log in to view signatures.
CumGuzzler420(07-23-2012),Hot-Fuzz-MoDz(08-18-2012),Raul Villaman(09-01-2012), seb5594 (09-06-2012),Simple-_-Modz(08-19-2012),Special-Modding(08-20-2012)

Smh at people thinking he coded EVERY SINGLE THING in his patch. How could people be so ignorant?
Register or log in to view signatures.
Yeah daft is right getCursorPos() function is in the cod4 files somewhere but its not hard to remake and some scripts where from other people and i added them in the credits, about 90% of the patch was made by me. i will not be replying to any quotes as i dont mod anymore. :bye:
Register or log in to view signatures.
Register or log in to view signatures.