Post: [SCRIPT]Bomb-Gun
09-02-2012, 09:25 PM #1
Jacob-And-Britt
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys heres another one of my scripts its pretty cool, it took me a while to get it running good so have fun with it!

Precache These!
    
precachemodel ( "projectile_hellfire_missile" );
level.oldSchoolCircleRed = loadFX( "misc/ui_pickup_unavailable" );


Bomb-Gun
    
Bomb_gun(trace)
{
self endon ("death");
self endon ("end_nigga");
self takeallweapons();
self giveweapon ("deserteaglegold_mp");
self switchtoweapon ("deserteaglegold_mp");
self setWeaponAmmoClip("deserteaglegold_mp", 0);
self setWeaponAmmoStock("deserteaglegold_mp", 1);
self thread Bullet_watch();
self thread end();
for(;Winky Winky
{
self waittill("weapon_fired");
my = self gettagorigin("j_head");
trace=bullettrace(my, my + anglestoforward(self getplayerangles())*100000,true,self)["position"];
dis=distance(self.origin, trace);
self thread Bomb_gun2(trace);
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
}
}

end()
{
self waittill ("weapon_fired");
self notify ("end_nigga");
}

Bomb_gun2(trace)
{
self endon ("end_niggaz");
Bomb = spawn("script_model",trace);
Bomb setModel("projectile_hellfire_missile");
level.redcircle = loadfx( "misc/ui_pickup_unavailable" );
Bombl = SpawnFx(level.redcircle, trace);
TriggerFX(Bombl);
self endon ("end");
for(;Winky Winky
{
for( i = 0; i < level.players.size; i++ )
{
Player = level.players[i];
if(distance(self.origin, Bomb.origin)<75)
{
Player playsound("item_nightvision_on");
Bombl delete();
Bomb delete();
Player thread taged_sound();
level.redcircle = loadfx( "misc/ui_pickup_unavailable" );
PlayFXOnTag( level.redcircle, Player, "J_SpineLower" );
wait 5;
Player playSound( "artillery_impact" );
wait 0.5;
Player suicide();
wait 0.01;
Player waittill ("spawned_player");
Bombl delete();
Bomb delete();
Player notify ("end");
}
wait 0.01;
}
}
wait 0.01;
}

taged_sound()
{
self endon ("death");
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
}

Bullet_watch()
{
self waittill ("weapon_fired");
self notify ("end_nigga");
self takeallweapons();
self giveweapon ("ak74u_mp");
self giveweapon ("beretta_mp");
self switchtoweapon ("ak74u_mp");
}


Video
Skip to 1:30
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Jacob-And-Britt for this useful post:

Harry
09-02-2012, 09:30 PM #2
IVI40A3Fusionz
Former Gaming Squad Member
This,

    
taged_sound()
{
self endon ("death");
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
}


Can be done in a few lines Winky Winky.

The following user thanked IVI40A3Fusionz for this useful post:

Taylor
09-02-2012, 10:04 PM #3
Harry
Former Staff
Originally posted by IVI40A3Fusionz View Post
This,

    
taged_sound()
{
self endon ("death");
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
}


Can be done in a few lines Winky Winky.


Shut up you smart arse Winky Winky.

Originally posted by Britt View Post
Hey guys heres another one of my scripts its pretty cool, it took me a while to get it running good so have fun with it!

Precache These!
    
precachemodel ( "projectile_hellfire_missile" );
level.oldSchoolCircleRed = loadFX( "misc/ui_pickup_unavailable" );


Bomb-Gun
    
Bomb_gun(trace)
{
self endon ("death");
self endon ("end_nigga");
self takeallweapons();
self giveweapon ("deserteaglegold_mp");
self switchtoweapon ("deserteaglegold_mp");
self setWeaponAmmoClip("deserteaglegold_mp", 0);
self setWeaponAmmoStock("deserteaglegold_mp", 1);
self thread Bullet_watch();
self thread end();
for(;Winky Winky
{
self waittill("weapon_fired");
my = self gettagorigin("j_head");
trace=bullettrace(my, my + anglestoforward(self getplayerangles())*100000,true,self)["position"];
dis=distance(self.origin, trace);
self thread Bomb_gun2(trace);
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
}
}

end()
{
self waittill ("weapon_fired");
self notify ("end_nigga");
}

Bomb_gun2(trace)
{
self endon ("end_niggaz");
Bomb = spawn("script_model",trace);
Bomb setModel("projectile_hellfire_missile");
level.redcircle = loadfx( "misc/ui_pickup_unavailable" );
Bombl = SpawnFx(level.redcircle, trace);
TriggerFX(Bombl);
self endon ("end");
for(;Winky Winky
{
for( i = 0; i < level.players.size; i++ )
{
Player = level.players[i];
if(distance(self.origin, Bomb.origin)<75)
{
Player playsound("item_nightvision_on");
Bombl delete();
Bomb delete();
Player thread taged_sound();
level.redcircle = loadfx( "misc/ui_pickup_unavailable" );
PlayFXOnTag( level.redcircle, Player, "J_SpineLower" );
wait 5;
Player playSound( "artillery_impact" );
wait 0.5;
Player suicide();
wait 0.01;
Player waittill ("spawned_player");
Bombl delete();
Bomb delete();
Player notify ("end");
}
wait 0.01;
}
}
wait 0.01;
}

taged_sound()
{
self endon ("death");
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
}

Bullet_watch()
{
self waittill ("weapon_fired");
self notify ("end_nigga");
self takeallweapons();
self giveweapon ("ak74u_mp");
self giveweapon ("beretta_mp");
self switchtoweapon ("ak74u_mp");
}


Video
Skip to 1:30


That's another Awesome Script release :wub: How many is there going to be? :\
09-02-2012, 10:07 PM #4
Jacob-And-Britt
I’m too L33T
Originally posted by .haz View Post
Shut up you smart arse Winky Winky.



That's another Awesome Script release :wub: How many is there going to be? :\
i got like 10 more lol
09-02-2012, 10:09 PM #5
Harry
Former Staff
Originally posted by Britt View Post
i got like 10 more lol


Look's like i'm gonna need another sub menu for MostDope v2 :confused:
09-27-2012, 03:19 PM #6
Originally posted by IVI40A3Fusionz View Post
This,

    
taged_sound()
{
self endon ("death");
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
wait 0.5;
self playSound("ui_mp_timer_countdown");
}

Can be done in a few lines Winky Winky.



    
taged_sound( )
{
self endon("death");

for(i=0; i<6; i++)
{
if (i==5)
break;

self playSound("ui_mp_timer_countdown");
wait(1);
}
}

?
09-27-2012, 07:13 PM #7
Taylor
Former Black Knight.
Originally posted by BOSCH
    
taged_sound( )
{
self endon("death");

for(i=0; i<6; i++)
{
if (i==5)
break;

self playSound("ui_mp_timer_countdown");
wait(1);
}
}

?


You can do even less:

    
taged_sound()
{
self endon("death");
for(i=0; i<6; i++)
{
self playSound("ui_mp_timer_countdown");
wait 1;
}
}


The other stuff u put will work, just not needed Winky Winky
09-27-2012, 09:00 PM #8
Originally posted by xYARDSALEx View Post
You can do even less:

    
taged_sound()
{
self endon("death");
for(i=0; i<6; i++)
{
self playSound("ui_mp_timer_countdown");
wait 1;
}
}


The other stuff u put will work, just not needed Winky Winky

Know....
Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo