Thread Rating:
  • 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 2,746 07-23-2013, 13:02
Last Post: Ra3shed
  Help Explosive Bullets Wallbang yoloman 3 5,070 05-13-2013, 21:58
Last Post: Yamato
Heart Help give points for the deaths of bullets [HARD] Tony. 11 6,804 03-11-2013, 19:02
Last Post: Nekochan
  [Request] Explosive bullets toggle mod One90NL 3 3,429 01-23-2013, 18:47
Last Post: surtek
  secondary weapon without bullets? kpoviv 0 1,870 07-22-2012, 21:51
Last Post: kpoviv
  [Release] Explosive Bullets Nukem 11 71,240 03-22-2012, 13:14
Last Post: d0h!
  [Request] spread of the bullets alex2477 1 2,182 03-09-2012, 10:40
Last Post: d0h!
  Preview Mw3 Explosive Bullets Video barata 7 5,839 01-22-2012, 14:53
Last Post: barata
  Help Explosive Bullets Error Tylerd86 2 62,697 01-22-2012, 02:29
Last Post: Tylerd86
Exclamation [News] Korean dictator uses games to fund nuclear program JariZ 6 3,732 09-27-2011, 09:23
Last Post: Lemon

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.