Garry's Mod

Garry's Mod

129 ratings
INFECTION
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
8.302 MB
7 Dec, 2024 @ 11:35am
12 Dec, 2024 @ 3:06am
4 Change Notes ( view )

Subscribe to download
INFECTION

Description
This addon introduces a infection system, displayed in the interface on the bottom left, slightly above the health indicator. Infection can accumulate from hits by infected NPCs, interaction with infected players, or exposure to gas clouds.

Infection visual and sound effects:
The addon adds visual effects (can be disabled; effects shown in video) and coughing sounds that reflect the progression of the infection.

There are a total of 4 stages of infection, each characterized by different coughing frequency:
1st stage: The interval between coughs is 300 seconds (light effects).1-25%
2nd stage: The interval between coughs is 150 seconds (moderate effects).26-50%
3rd stage: The interval between coughs is 60 seconds (strong effects).51-75%
4th stage: The interval between coughs is 30 seconds (very strong effects).
76-100%

Coughing can be heard by all players within hearing range near the infected person. This adds to the atmosphere, as other players can identify infected individuals by sound.
In addition to coughing sounds, the addon also includes cosmetic sounds when equipping and removing gas masks.

Addon settings are available in the Q-menu, where you can:
Configure which NPCs infect through hits, which infect through the air, and what entities players transform into after dying from infection.

Adjust infection parameters: the amount of infection from hits, the radius of airborne infection, the infection accumulation rate, and more.

Gas mask and filters:
The gas mask itself does not protect against infection. It requires filters to work. You can equip a gas mask using the command "wear_gasmask" and remove it with "remove_gasmask."

A gas mask with a filter protects against airborne infection but not from physical attacks. If a player is wearing a gas mask, an icon of the gas mask appears to the right of the infection indicator, with the remaining filter time displayed below it.
They also drop from players after death if they had them.
Various medications:
Antidote — fully cures infection.
Poor quality antidote — reduces infection level to 1%.
Immunity — protects against infection for 10 minutes.

Types of gas clouds:
Small gas cloud — size of 500 hammer units and infects at 2 units per second.
Large gas cloud — size of 5000 hammer units and infects at 1 unit per second.

Сonsole Сommands
drop_gasmask — Throw the gas mask in front of you.
unfilter — Remove and throw away the filters in front of you.
wear_gasmask — Put on a gas mask.
remove_gasmask — Remove the gas mask.



If you liked the addon or enjoyed playing with it, please support it! 👍

Each like and favorite helps this addon become more visible to other players. Your support really inspires further work and improvement of the addon. Thank you for your attention and enjoy the game! ✨
Popular Discussions View All (3)
15
25 May @ 7:03pm
PINNED: Improvement/ideas
puddingheh
3
8 Dec, 2024 @ 6:26am
PINNED: Errors/bugs
puddingheh
1
15 Dec, 2024 @ 8:41am
a problem
floggerypoggery
14 Comments
Tom 5 May @ 2:12pm 
does this work with jmod
pointblank98 26 Mar @ 2:42pm 
@Mankz: ... Isn't that literally what THIS mod already does?
Hosterle 18 Jan @ 3:05am 
@Mankz If that's what you're looking for, I recommend you to use Custom NPC Infection addon
Mankz 11 Dec, 2024 @ 11:06am 
I have an idea, make an infection system, where npc kills and npc, it will turn into that npc who it was killed by (for example, if combine kills rebel, rebel will turn into combine npc and vice versa) (no special animations needed)
screwdriver lobotomy 11 Dec, 2024 @ 9:35am 
@puddingheh I think they mean they want it to replace the infection system seen in other zombie mods such as GOTD (Gmod Of The Dead).
puddingheh  [author] 11 Dec, 2024 @ 2:31am 
@I hit jellyfish with hammers I'm not an English speaker and I don't understand what GOTD means.
If you meant being able to play as an infected, I won't implement such a thing.
I hit jellyfish with hammers 9 Dec, 2024 @ 6:03pm 
could you add a GOTD setting? like so instead of zombies infecting you and turning you, you catch GOTD infection and turn?
76561199248363925 9 Dec, 2024 @ 7:38am 
Прикольный мод
Goga 9 Dec, 2024 @ 3:01am 
Просто лайк
enclown1 8 Dec, 2024 @ 9:12am 
Хороший аддон :sheephappy: