Post: [Script] J&B*'s More realistic nuke bullets!!
12-29-2011, 03:11 AM #1
Jacob-And-Britt
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); I just mashed together some fx's and got more realistic nuke bullets when you shoot after the bullet explodes it will leave behind a flame not that big of a deal but its more realistic!

Don't forget to precache these!
    
level.expbullt = loadfx("explosions/grenadeExp_concrete_1");
level.flame = loadfx("fire/tank_fire_engine");



Script
    Realistic_expBullets()
{
self endon("death");
self iPrintln("You will now shoot explosive bullets.");
while(1)
{
self waittill("weapon_fired");
my = self gettagorigin("j_head");
trace=bullettrace(my, my + anglestoforward(self getplayerangles())*100000,true,self)["position"];
playfx(level.expbullt,trace);
self playSound( "artillery_impact" );
dis=distance(self.origin, trace);
if(dis<101) RadiusDamage( trace, dis, 200, 50, self );
RadiusDamage( trace, 60, 250, 50, self );
RadiusDamage( trace, 100, 800, 50, self );
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self)[ "position" ];
explode = loadfx( "fire/tank_fire_engine" );
playfx(explode, SPLOSIONlocation);
}
}



Credits

Kilamajic (His realistic nuke bullets)
iprofamily (Flames out of one of his scripts)
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to Jacob-And-Britt for this useful post:

247Yamato, User23434
12-29-2011, 08:50 AM #2
247Yamato
< ^ > < ^ >
Why do you load this twice?

fire/tank_fire_engine
12-29-2011, 12:05 PM #3
Why do you have three RadiusDamage ?

The following user thanked x_DaftVader_x for this useful post:

247Yamato
12-29-2011, 03:27 PM #4
Jacob-And-Britt
I’m too L33T
Originally posted by x. View Post
Why do you have three RadiusDamage ?
It amkes it alot better to have 3 and some of it is for the flames
12-29-2011, 04:02 PM #5
Originally posted by jbglitching View Post
It amkes it alot better to have 3


No it doesn't... You have them all going off at the same time from the same origin !

Here is what the numbers represent in the function..

radiusDamage(origin, range, maxdamage, mindamage, owner);

The following user thanked x_DaftVader_x for this useful post:

Correy
12-29-2011, 04:05 PM #6
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
No it doesn't... You have them all going off at the same time from the same origin !

Here is what the numbers represent in the function..

radiusDamage(origin, range, maxdamage, mindamage, owner);


I always put range, maxdamage, mindamage and like 10000 or something to me i see a bigger effect but yet again i have dodgy eyes :/.
12-29-2011, 04:07 PM #7
Originally posted by IVI40A3Fusionz View Post
I always put range, maxdamage, mindamage and like 10000 or something to me i see a bigger effect but yet again i have dodgy eyes :/.
so you just want to wipe out the entire level then Happy

The following user thanked x_DaftVader_x for this useful post:

Karoolus
12-29-2011, 04:09 PM #8
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
so you just want to wipe out the entire level then Happy


That's how i roll Winky Winky F*** my team definitively screw the other team :p

The following user thanked IVI40A3Fusionz for this useful post:

Karoolus
01-01-2012, 03:16 PM #9
Originally posted by reScript
How do you make something that is not realistic in the real world realistic? :carling:


Yeah, I mean who would invent a nuclear cannon in real life eh? Oh yes, America would,,



Or a nuclear rifle...

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo