Garry's Mod

Garry's Mod

Realistic Military Smoke Grenade
37 条留言
moffe 2023 年 10 月 12 日 下午 7:31 
c_hands please
Nocny Koczkodan 2023 年 6 月 13 日 上午 6:19 
everything works, but why is the grenade in the middle of the screen when I hold it?
iguana365play 2023 年 5 月 19 日 上午 11:30 
Do how to disable the crosshair?
´Thangler7 2023 年 2 月 9 日 下午 12:14 
Thank you!
cail.  [作者] 2023 年 2 月 9 日 上午 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 2023 年 2 月 9 日 上午 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 2022 年 10 月 14 日 上午 11:44 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
cumpuddle228 2022 年 10 月 14 日 上午 10:55 
OMFG HOW DO YOU TURN OFF CROSSHAIR
Pyxi 2021 年 8 月 12 日 上午 3:32 
How do you disable crosshair for this mod?
Big Huffer 2021 年 4 月 6 日 下午 12:51 
nvm i just had to download the content addon
cail.  [作者] 2021 年 4 月 5 日 上午 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 2021 年 4 月 4 日 下午 10:41 
when i throw it its fine but when im holding it its an error
cail.  [作者] 2021 年 1 月 19 日 上午 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 2021 年 1 月 18 日 下午 8: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.  [作者] 2021 年 1 月 5 日 上午 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 2021 年 1 月 5 日 上午 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.  [作者] 2021 年 1 月 4 日 下午 1: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 2021 年 1 月 4 日 上午 10:16 
the smoke wont appear for the player if they arent looking at the smoke grenade
Yourpilot 2020 年 8 月 9 日 上午 3:42 
its great
Kendrilles 2020 年 7 月 9 日 下午 7: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 2020 年 6 月 12 日 上午 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 {链接已删除}
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 2020 年 6 月 12 日 上午 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 2020 年 2 月 19 日 下午 4:36 
okay ich danke dir
cail.  [作者] 2020 年 2 月 19 日 下午 4: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 2020 年 2 月 19 日 下午 3:01 
Hi mein Guter,
Verursacht das teil laggs?
cail.  [作者] 2019 年 7 月 17 日 上午 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 2019 年 7 月 12 日 下午 11:06 
I see an error when I hold it, can you link the addon I need for it to not be an error?
cail.  [作者] 2019 年 7 月 4 日 上午 8:47 
Map should be "rp_garnet_chaharikar_v1" from the Garnetgaming community
Robbie 2019 年 7 月 3 日 下午 9:53 
map?
BlitzWolf007 2019 年 5 月 10 日 下午 4:23 
Was this based off the one from Toybox back in 09? It just reminds me of it, which is amazingly outstanding!
cail.  [作者] 2019 年 5 月 5 日 上午 10:49 
You might try to mount CSS Content
Gwape 2019 年 5 月 5 日 上午 10:22 
I get an error when hold it help
cail.  [作者] 2019 年 3 月 3 日 下午 4: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!!! 2019 年 3 月 3 日 上午 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 2019 年 3 月 3 日 上午 8:34 
this is an awesome mod!
Poxx 2019 年 2 月 27 日 下午 1:40 
whenever i hold it its an error sign
Ymir 2019 年 2 月 26 日 下午 2:49 
Thats actually awesome