Garry's Mod

Garry's Mod

Realistic Military Smoke Grenade
37 Comments
塞尔维亚疯子 12 Oct, 2023 @ 7:31pm 
c_hands please
Nocny Koczkodan 13 Jun, 2023 @ 6:19am 
everything works, but why is the grenade in the middle of the screen when I hold it?
iguana365play 19 May, 2023 @ 11:30am 
Do how to disable the crosshair?
´Thangler7 9 Feb, 2023 @ 12:14pm 
Thank you!
cail.  [author] 9 Feb, 2023 @ 11:56am 
I mean, sure.
Just make sure to unsubscribe from this addon when using the lasting forever one.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2930889835
´Thangler7 9 Feb, 2023 @ 8:29am 
Can you make a version that lasts forever? I wanna do a chemical hell warfare thing where everyone is wearing hazmat suits and the chemical weapon mostly obscures vision. Like that mission in COD Black ops 1.
cumpuddle228 14 Oct, 2022 @ 11:44am 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
cumpuddle228 14 Oct, 2022 @ 10:55am 
OMFG HOW DO YOU TURN OFF CROSSHAIR
Pyxi 12 Aug, 2021 @ 3:32am 
How do you disable crosshair for this mod?
Big Huffer 6 Apr, 2021 @ 12:51pm 
nvm i just had to download the content addon
cail.  [author] 5 Apr, 2021 @ 11:41am 
Hey HBomb70.
Like written below, you might need to mount counterstrike Source.
Unfortunatly the SteamWorkshop TOS prohibits the upload of such content.
Big Huffer 4 Apr, 2021 @ 10:41pm 
when i throw it its fine but when im holding it its an error
cail.  [author] 19 Jan, 2021 @ 8:15am 
The Ammotype ist "colorgrenade", as used in the refill grenade:
a:GiveAmmo(1, "colorgrenade", true)
, but for the normal, grey smore grenade its "grenade" ammo type
[RE] Flameoguide 18 Jan, 2021 @ 8:44pm 
what is the ammo type? i'm trying to create a darkrp custom ammo for the colored smoke grenade and i can't find the ammo for 'colormuni'
cail.  [author] 5 Jan, 2021 @ 7:41am 
Yeh, I see where you are comming from, but these are primarly designed for roleplay Server, not for competitive gamemodes.
To let everything render all the time would cause a lot of users with weaker computer to have low frames, while this causes no problems, but have to aspect to get abused if you really want to abuse it.
gay-seeking rabbit 5 Jan, 2021 @ 4:43am 
but it can be abused by not looking at it and then the player will able to see through the smoke but the others wont
cail.  [author] 4 Jan, 2021 @ 1:32pm 
that is correct horizon, thanks to this, your performance as well as the performance of your players wont drop below the mariana trench :)
gay-seeking rabbit 4 Jan, 2021 @ 10:16am 
the smoke wont appear for the player if they arent looking at the smoke grenade
Yourpilot 9 Aug, 2020 @ 3:42am 
its great
Kendrilles 9 Jul, 2020 @ 7:49pm 
My only suggestion is the ability to add a delay before they go off

Because it doesn’t go off as soon as you remove the pin
Lieutenant | Field Director 12 Jun, 2020 @ 3:10am 
Checked the code;
1. Requires Counter-Strike : Source because it uses the viewmodels from that game
2. Viewmodels are inverted because CS:S Viewmodels are naturally on the left side instead.
3. World Model works just fine. Garry's Mod has some assets from CS:S which is what you see from a third person view and when the grenade is thrown as an entity.

How to Fix This (Works for both client and server-side)
1. Open the original file; it only has one folder which is titled "Lua"
(Download the original file set from {LINK REMOVED}
2. There are three sub-folders called "autorun", "entities", and "weapons". Open the 3rd folder.
3. Each grenade has a label with the term "teargas". Select the color of the grenade you want to modify and fix. Do NOT modify the base or entity lua.
4. Open the lua file. You can use notepad or C++, as long as it can read the text. For server owners, your host control panel should be able to open it and let you modify the files.
Lieutenant | Field Director 12 Jun, 2020 @ 3:08am 
5. Look for "SWEP.ViewModel" and "SWEP.ViewModelFlip". Should be at the very bottom.
6. You can switch this to any v_model you want, and set the viewmodel flip to false so it appears on the right side properly.
The viewmodel I used was "models/weapons/v_grenade.mdl"

To install (Both Client and Server-Side)
For clients, simply extract or place the whole file folder into Steam\steamapps\common\GarrysMod\garrysmod\addons
For server owners, you might need to compress the file into a .zip before you can upload it to the same location for the server directory.

Hope this helps!~ :heart:
Nanimo [LOS] 19 Feb, 2020 @ 4:36pm 
okay ich danke dir
cail.  [author] 19 Feb, 2020 @ 4:09pm 
Nein, der Rauch wird nur clientside berechnet und die Verwendung der Granaten beeinträchtigt die Serverperformance quasi gar nicht. Wenn der Client einen sehr schlechten PC hat, könnten die FPS des Client geringfügig sinken, allerdings auch nur wenn der Client direkt in die Granate schaut, wenn der Client woanders hinschaut wird der Rauch nicht berechnet. Wir hatten beim Testen und nutzen dieser Granaten nie Performanceprobleme.

eng: This should cause no noticeable lags
Nanimo [LOS] 19 Feb, 2020 @ 3:01pm 
Hi mein Guter,
Verursacht das teil laggs?
cail.  [author] 17 Jul, 2019 @ 6:21am 
The ViewModel is "models/weapons/v_eq_smokegrenade.mdl"
You might need CounterStrike:Source Content to run this w/o errors. I might investigate this later on,
Toilet 12 Jul, 2019 @ 11:06pm 
I see an error when I hold it, can you link the addon I need for it to not be an error?
cail.  [author] 4 Jul, 2019 @ 8:47am 
Map should be "rp_garnet_chaharikar_v1" from the Garnetgaming community
Robbie 3 Jul, 2019 @ 9:53pm 
map?
BlitzWolf007 10 May, 2019 @ 4:23pm 
Was this based off the one from Toybox back in 09? It just reminds me of it, which is amazingly outstanding!
cail.  [author] 5 May, 2019 @ 10:49am 
You might try to mount CSS Content
Gwape 5 May, 2019 @ 10:22am 
I get an error when hold it help
cail.  [author] 3 Mar, 2019 @ 4:22pm 
You can actual carry the Smoke grenade with the Gravity Gun and the smoke will appear always on the place of the grenade. So it is clearly possible to to make an addon to like pickup the grenade and push them out of the way.
Lazlo!!! 3 Mar, 2019 @ 10:42am 
I wish it was possible for props to actually push smoke out of the way/out of the cloud. Probably not possible with the source engine though.
Mosikov 3 Mar, 2019 @ 8:34am 
this is an awesome mod!
Poxx 27 Feb, 2019 @ 1:40pm 
whenever i hold it its an error sign
Ymir 26 Feb, 2019 @ 2:49pm 
Thats actually awesome