Post: [SCRIPT] - Javelin
07-13-2012, 05:15 PM #1
TOM DAINTY
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({});
Here is another script I made to liven up this section. All you need to do is thread it from your menu and precache the following in the rank.gsc. You may get bad syntax in that getCursorPos() code because ngu F**ks the code up. Just make sure it's all on the same line. Also any Ideas for next code release? We just might be able to bring this section back to life soon Winky Winky
I want more people working on codes for waw like iPROFamily and nay.

Precache These:
precacheModel("aircraft_bomb");
level.flamethfire = loadfx("env/fire/fx_fire_player_md_mp");
level.exploBullet = loadfx("explosions/default_explosion");

    
Jav()
{
self iPrintln( "Javelin [^2Given^7]" );
self GiveWeapon( "bazooka_mp", 2 );
wait 1;
self SwitchToWeapon( "bazooka_mp" );
for(;Winky Winky
{
if(self AttackButtonPressed() && self getcurrentweapon() == "bazooka_mp")
{
pos = getCursorPos();
Jav = spawn( "script_model", self.origin + (10,10,10));
Jav setModel( "aircraft_bomb" );
Jav.angles = (90,90,90);
Jav moveto( self.origin + (10,10,246Cool Man (aka Tustin), 8 );
Jav thread FXME();
wait 8;
Jav moveto( pos, 2 );
wait 2;
playFx(level.exploBullet,Jav.origin);
RadiusDamage(pos,300,100,20,self);
Jav playSound("vehicle_explo");
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(;Winky Winky
{
playfx(level.flamethfire,self.origin);
wait .05;
}
}

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

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

Click_Tick_19, Correy, Harry, iPROFamily, Raul Villaman, Simple-_-Modz, Special-Modding, Tony Stark, WillyPopPop, x Elite MoDz x
08-30-2012, 01:27 AM #20
Originally posted by Raul
Hey nice script. How do i put this code in my patch? And will it work tho.?

---------- Post added at 01:20 AM ---------- Previous post was at 01:18 AM ----------



I agree, i wanna see this master piece at work Smile


Copy and Paste? :carling:
08-30-2012, 01:31 AM #21
Originally posted by Modz View Post
Copy and Paste? :carling:


HAHA Funny Guy :lol:
08-30-2012, 09:35 PM #22
Host4U_PS3
Save Point
wow nice man
09-08-2012, 05:21 PM #23
.LiON
Bounty hunter
Can some1 make a Video?
10-01-2012, 01:18 PM #24
What is this used for?
10-16-2012, 02:54 PM #25
nice post.. i like it.. Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo