Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fx name for smoke grenade?
#1
What's the Fx name for the normal smoke grenade? I know for care package smoke it's level._effect["spotlight_fx"].
Reply

#2
I think its this one Smile

Code:
level.smokefx = loadFX( "props/american_smoke_grenade_mp" );
Reply

#3
(06-22-2013, 12:56)Yamato Wrote: I think its this one Smile

Code:
level.smokefx = loadFX( "props/american_smoke_grenade_mp" );

Thanks Smile
Reply

#4
Code:
boom1(loc1)
{
wait 0.5;
loc12 = loc1 + (200,0,0);
playSoundAtPos(loc12, "smokegrenade_explode_default");
redSmoke = spawnFX( level._effect["spotlight_fx"], loc12 );
Angles = vectorToAngles( loc12 - loc1 );
redSmoke.angles = Angles;

    for(i = 0; i < 6; i++)
    {
    triggerFX(redSmoke);
    wait 3;
    }
}

This is what I was messing with. I was spawning redSmoke, but how do I change it to normal smoke? I tried making a new variable for the loadfx you listed, but it wouldn't spawn.
Reply

#5
(06-22-2013, 22:17)akillj Wrote:
Code:
boom1(loc1)
{
wait 0.5;
loc12 = loc1 + (200,0,0);
playSoundAtPos(loc12, "smokegrenade_explode_default");
redSmoke = spawnFX( level._effect["spotlight_fx"], loc12 );
Angles = vectorToAngles( loc12 - loc1 );
redSmoke.angles = Angles;

    for(i = 0; i < 6; i++)
    {
    triggerFX(redSmoke);
    wait 3;
    }
}

This is what I was messing with. I was spawning redSmoke, but how do I change it to normal smoke? I tried making a new variable for the loadfx you listed, but it wouldn't spawn.

Code:
boom1(loc1)
{
level.smokefx = loadFX( "props/american_smoke_grenade_mp" );
wait 0.5;
loc12 = loc1 + (200,0,0);
playSoundAtPos(loc12, "smokegrenade_explode_default");
redSmoke = spawnFX( level.smokefx, loc12 );
Angles = vectorToAngles( loc12 - loc1 );
redSmoke.angles = Angles;

    for(i = 0; i < 6; i++)
    {
    triggerFX(redSmoke);
    wait 3;
    }
}

Try that.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Rainbow Do you smoke? Nekochan 21 10,810 08-04-2013, 04:54
Last Post: Bandarigoda123
  No Smoke kpoviv 3 3,271 08-17-2012, 15:47
Last Post: kpoviv
  [Release] MW3 Background Smoke Remover kokole 12 10,973 07-24-2012, 21:16
Last Post: JariZ
  smoke kpoviv 0 1,592 07-22-2012, 22:04
Last Post: kpoviv
  How to leave smoke in BAKAARA loolz1962 14 7,782 01-31-2012, 19:53
Last Post: loolz1962
  [Release] Grenade SymphonyNade v2.0 Training Mod Symphony 12 19,631 07-25-2011, 00:25
Last Post: ddaavvee
  Why People Should Smoke 4FunPlayin 6 3,682 07-07-2011, 02:11
Last Post: number1
  Help Smoke Damage / MiniMap Dots Removal. koil 4 2,771 07-03-2011, 14:17
Last Post: koil
  Removing Flash/Smoke tags & Grenade cooking. koil 2 2,454 06-26-2011, 02:18
Last Post: koil

Forum Jump:


Users browsing this thread:
1 Guest(s)

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