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
07-14-2012, 10:45 AM #2
Harry
Former Staff
another awesome script i shall be using in my w@w patch, you may as well release it. Its gonna be full of your scripts =D
07-16-2012, 09:12 AM #3
Good Post Bro Happy
07-17-2012, 02:25 AM #4
This is really cool dude. I might use this in my patch Smile
07-17-2012, 10:39 AM #5
yet again another good script

The following user thanked X-Elite-Clan-X for this useful post:

07-17-2012, 10:40 AM #6
x Elite MoDz x
Climbing up the ladder
Originally posted by X View Post
yet again another good script


HAHA Tom, good script PAHA, only joking you monkey <3
07-19-2012, 01:54 AM #7
Correy
I'm the Original
looks sweat. Smile

The following user thanked Correy for this useful post:

08-01-2012, 08:08 PM #8
xUniquuee
Do a barrel roll!
Originally posted by Blazing247 View Post
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;
}
}



Awesome any chance off a video to see what it looks like
08-01-2012, 10:29 PM #9
nay1995
The Master
its basically my code from my patch, video, check out my purple beam patch...
08-02-2012, 08:34 PM #10
TOM DAINTY
Do a barrel roll!
Originally posted by nay View Post
its basically my code from my patch, video, check out my purple beam patch...


It's not your code though? There not hard to make nathan :L?

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

Raul Villaman, Simple-_-Modz, Special-Modding, WillyPopPop

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo