• 3 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nuclear Bullets
#1
Credits: Lost4468

Code:
ExplosionWednesday() //<--Add to onplayerspawned();
{
    for(;;)
    {
        self waittill ( "weapon_fired" );
        forward = self getTagOrigin("j_head");
        end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
        SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
        level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
        playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
        RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self );
    }
}


vector_scal(vec, scale) //<-- dont add this thread to onplayerspawned();
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}
  Reply
#2
Nice explosions gj lost
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help Make ac130 shoot custom bullets Ra3shed 0 930 07-23-2013, 13:02
Last Post: Ra3shed
  Help Explosive Bullets Wallbang yoloman 3 2,895 05-13-2013, 21:58
Last Post: Yamato
Heart Help give points for the deaths of bullets [HARD] Tony. 11 1,774 03-11-2013, 19:02
Last Post: Nekochan
  [Request] Explosive bullets toggle mod One90NL 3 1,125 01-23-2013, 18:47
Last Post: surtek
  secondary weapon without bullets? kpoviv 0 689 07-22-2012, 21:51
Last Post: kpoviv
  [Release] Explosive Bullets Nukem 11 9,630 03-22-2012, 13:14
Last Post: d0h!
  [Request] spread of the bullets alex2477 1 731 03-09-2012, 10:40
Last Post: d0h!
  Preview Mw3 Explosive Bullets Video barata 7 2,990 01-22-2012, 14:53
Last Post: barata
  Help Explosive Bullets Error Tylerd86 2 4,671 01-22-2012, 02:29
Last Post: Tylerd86
Exclamation [News] Korean dictator uses games to fund nuclear program JariZ 6 1,635 09-27-2011, 09:23
Last Post: Lemon

Forum Jump:


Users browsing this thread: 1 Guest(s)