Jump to content

Teargas smoke


calamity

Recommended Posts

I haven't read this entire thread so Im not sure if this was pointed out, but using just the 

"SmokeShell"

class name will make every smoke grenade, regardless of color, have the exact same effect. You can't use a script that gives just SmokeShell an effect without also giving that to every other type of smoke grenade. You have to specify color.  I have a custom gas grenade script on my server that Matt started and Halvhjearne improved a couple of years ago and we ran into that exact problem. 

 

Also "G_40mm_SmokeGreen" is the correct classname for the 40mm smoke grenades. Basically any m203 smoke grenade firing weapon.

Link to comment
Share on other sites

How about this matt. Code may look familiar to ya, lol.  Wondering how to clear the massive amount of ammo that spawns with the usvehiclebox. I want to create an array it chooses from to fill the box. Hope you have the time. Thanks again man. If you come interstate 95 into NC i'll buy ya some lunch!!

  Reveal hidden contents
Link to comment
Share on other sites

  On 7/17/2016 at 5:51 PM, chi said:

How about this matt. Code may look familiar to ya, lol.  Wondering how to clear the massive amount of ammo that spawns with the usvehiclebox. I want to create an array it chooses from to fill the box. Hope you have the time. Thanks again man. If you come interstate 95 into NC i'll buy ya some lunch!!

  Reveal hidden contents
Expand  

I was in pasquotank county earlier today. After you spawn the box you should be able to use like clearvehiclecargo or something like that. I havnt actually sat down and looked at code since I joined the navy so it would take me a hot minute to get the right variables and commands but what you want can be done 

Link to comment
Share on other sites

  On 7/17/2016 at 6:24 PM, chi said:

Roger that. Doing good things by joining the navy. o7 Thanks!

Expand  

Yeah so a few lines with removeWeapons removeMagazines and removeItems or some such should be sufficient enough to clear it out. I'm on my phone so I can't really do much to help other than help research and answer questions. And yeah man, I love it so far. I'm a corpsman up at MCB Quantico, it's a load of fun.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...