Garry's Mod

Garry's Mod

72 ratings
[TTT2] Infected [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
726.091 KB
27 Apr, 2018 @ 3:53pm
10 Oct, 2023 @ 8:59am
46 Change Notes ( view )

Subscribe to download
[TTT2] Infected [ROLE]

In 1 collection by Alf21
TTT2-Testing
58 items
Description
A deadly virus is spreading with every shot fired by the infected. But it seems like the virus isn't killing them but lets them be undead forever ...

You have to use TTT2 in order to use this role. Additionally using ULX for TTT2 is recommended. Report bugs concerning this role here[github.com] and submit new role ideas here[github.com]. A list of all currently available roles can be found here.

Discord: https://discord.gg/9njYXGY
Source: https://github.com/Alf21/ttt2-role_inf




The infected plays in his own team and has to kill other players to infect them. Once they are killed, they will respawn after a few seconds and fight for your team. But the newly found supporters have to defend their host, because they will die once he gets killed.
If there is a jester in this round, the infected is allowed to kill him.

Plays best with:




Convars are variables that are introduced to allow server owners to customize the gameplay without changing the code. There are always a handful of convars automatically created by TTT2, that define the spawn parameters of this role and are found in ULX. Additionally there might be some role specific convars, which have to be set in the server config file.

Normal Role Convars (also found in ULX):
# enable or disable this role ttt_inf_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_inf_pct [0.0..1.0] (default: 0.17) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_inf_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_inf_random [0..100] (default: 10) # the amount of players needed for this role to spawn ttt_inf_min_players: [0..n] (default: 6)

Rolespecific Convars:
#defines how much HP the zombies should have after respawn ttt2_inf_maxhealth_new_inf [0..2] (default: 30)

--
Credits:
Alf21: creator of this role addon
Mineotopia: designer of the role icon
61 Comments
NVS Pixel 25 Jul @ 11:18am 
Is there a way to have the Infected replace Traitors? Whenever I use this role theres both Traitors and Infected on different teams and it's hard for the Innos to win.
Qwoppy 12 Jul, 2023 @ 3:09am 
is there a chance that you could make a convar for turning off friendly fire towards the host infected?
Tim | Mineotopia  [author] 12 Apr, 2022 @ 12:51am 
you can open a feature request on GitHub. I would like to add those, however we're on a dev-pause right now
Madame Tsuyu Roxy's Wife 8 Apr, 2022 @ 1:42pm 
Any chance to see convars for amount of time to respawn a new infected, and one that considers if it was the infected fists that got the kill for making new infected?
Tim | Mineotopia  [author] 12 Jul, 2021 @ 1:16am 
@Mörril: In the same place as the other addons. I always forget the path, somewhere in the steam cache. Best is if you search for it on google
Mörril 11 Jul, 2021 @ 9:44am 
Where can I find the addon if I want to modify it a bit for my server? Most addons are just gma files in the "addons" folder, but I struggle to find most of the ttt2 addons. I could use the version on github, allthough I fear it's a different version, and it would be nice to know in general where I can find addons like this one ^^'
InstantBiePlay 17 Apr, 2021 @ 6:09pm 
Nevermind, I can see it in the code for the role. Thanks!
InstantBiePlay 17 Apr, 2021 @ 6:07pm 
Hmmm... alright, but would there be a way to edit which playermodel is chosen?
Alf21  [author] 17 Apr, 2021 @ 4:37pm 
Infected by default have a custom recognizable playermodel (zombie). If it‘s not the case, probably some playermodel mods are interferring.
InstantBiePlay 17 Apr, 2021 @ 3:18pm 
Any thoughts of the ability to force new infected to apply a specific playermodel, so they're immediately recognizable? I've looked into doing it myself, but I'm still a noob when it comes to lua coding. :P