Garry's Mod

Garry's Mod

Realistic Military Smoke Grenade
37 opmerkingen
moffe 12 okt 2023 om 19:31 
c_hands please
Nocny Koczkodan 13 jun 2023 om 6:19 
everything works, but why is the grenade in the middle of the screen when I hold it?
iguana365play 19 mei 2023 om 11:30 
Do how to disable the crosshair?
´Thangler7 9 feb 2023 om 12:14 
Thank you!
Cail  [auteur] 9 feb 2023 om 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 om 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 okt 2022 om 11:44 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
cumpuddle228 14 okt 2022 om 10:55 
OMFG HOW DO YOU TURN OFF CROSSHAIR
Pyxi 12 aug 2021 om 3:32 
How do you disable crosshair for this mod?
Big Huffer 6 apr 2021 om 12:51 
nvm i just had to download the content addon
Cail  [auteur] 5 apr 2021 om 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 apr 2021 om 22:41 
when i throw it its fine but when im holding it its an error
Cail  [auteur] 19 jan 2021 om 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 jan 2021 om 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  [auteur] 5 jan 2021 om 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 jan 2021 om 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  [auteur] 4 jan 2021 om 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 jan 2021 om 10:16 
the smoke wont appear for the player if they arent looking at the smoke grenade
Yourpilot 9 aug 2020 om 3:42 
its great
Kendrilles 9 jul 2020 om 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 om 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 {LINK VERWIJDERD}
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 om 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 om 16:36 
okay ich danke dir
Cail  [auteur] 19 feb 2020 om 16:09 
Nein, der Rauch wird nur clientside berechnet und die Verwendung der Granaten beeinträchtigt die Serverperformance quasi gar ♥♥♥♥♥. 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 ♥♥♥♥♥ berechnet. Wir hatten beim Testen und nutzen dieser Granaten nie Performanceprobleme.

eng: This should cause no noticeable lags
Nanimo 19 feb 2020 om 15:01 
Hi mein Guter,
Verursacht das teil laggs?
Cail  [auteur] 17 jul 2019 om 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 om 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  [auteur] 4 jul 2019 om 8:47 
Map should be "rp_garnet_chaharikar_v1" from the Garnetgaming community
Robbie 3 jul 2019 om 21:53 
map?
BlitzWolf007 10 mei 2019 om 16:23 
Was this based off the one from Toybox back in 09? It just reminds me of it, which is amazingly outstanding!
Cail  [auteur] 5 mei 2019 om 10:49 
You might try to mount CSS Content
Gwape 5 mei 2019 om 10:22 
I get an error when hold it help
Cail  [auteur] 3 mrt 2019 om 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 mrt 2019 om 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 mrt 2019 om 8:34 
this is an awesome mod!
Poxx 27 feb 2019 om 13:40 
whenever i hold it its an error sign
Ymir 26 feb 2019 om 14:49 
Thats actually awesome