Garry's Mod
Realistic Military Smoke Grenade
37 comentarios
moffe 12 OCT 2023 a las 19:31 
c_hands please
Nocny Koczkodan 13 JUN 2023 a las 6:19 
everything works, but why is the grenade in the middle of the screen when I hold it?
iguana365play 19 MAY 2023 a las 11:30 
Do how to disable the crosshair?
´Thangler7 9 FEB 2023 a las 12:14 
Thank you!
cail.  [autor] 9 FEB 2023 a las 11:56 
I mean, sure.
Just make sure to unsubscribe from this addon when using the lasting forever one.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2930889835
´Thangler7 9 FEB 2023 a las 8:29 
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 a las 11:44 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
cumpuddle228 14 OCT 2022 a las 10:55 
OMFG HOW DO YOU TURN OFF CROSSHAIR
Pyxi 12 AGO 2021 a las 3:32 
How do you disable crosshair for this mod?
Big Huffer 6 ABR 2021 a las 12:51 
nvm i just had to download the content addon
cail.  [autor] 5 ABR 2021 a las 11:41 
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 ABR 2021 a las 22:41 
when i throw it its fine but when im holding it its an error
cail.  [autor] 19 ENE 2021 a las 8:15 
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 ENE 2021 a las 20:44 
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.  [autor] 5 ENE 2021 a las 7:41 
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.
doma 5 ENE 2021 a las 4:43 
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.  [autor] 4 ENE 2021 a las 13:32 
that is correct horizon, thanks to this, your performance as well as the performance of your players wont drop below the mariana trench :)
doma 4 ENE 2021 a las 10:16 
the smoke wont appear for the player if they arent looking at the smoke grenade
Yourpilot 9 AGO 2020 a las 3:42 
its great
Kendrilles 9 JUL 2020 a las 19:49 
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 | Wälkure 12 JUN 2020 a las 3:10 
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 {ENLACE ELIMINADO}
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 | Wälkure 12 JUN 2020 a las 3:08 
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 19 FEB 2020 a las 16:36 
okay ich danke dir
cail.  [autor] 19 FEB 2020 a las 16:09 
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 19 FEB 2020 a las 15:01 
Hi mein Guter,
Verursacht das teil laggs?
cail.  [autor] 17 JUL 2019 a las 6:21 
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 a las 23:06 
I see an error when I hold it, can you link the addon I need for it to not be an error?
cail.  [autor] 4 JUL 2019 a las 8:47 
Map should be "rp_garnet_chaharikar_v1" from the Garnetgaming community
Robbie 3 JUL 2019 a las 21:53 
map?
BlitzWolf007 10 MAY 2019 a las 16:23 
Was this based off the one from Toybox back in 09? It just reminds me of it, which is amazingly outstanding!
cail.  [autor] 5 MAY 2019 a las 10:49 
You might try to mount CSS Content
Gwape 5 MAY 2019 a las 10:22 
I get an error when hold it help
cail.  [autor] 3 MAR 2019 a las 16:22 
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 a las 10:42 
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 a las 8:34 
this is an awesome mod!
Poxx 27 FEB 2019 a las 13:40 
whenever i hold it its an error sign
Ymir 26 FEB 2019 a las 14:49 
Thats actually awesome