Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Godfather & Mafioso [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
5.599 MB
21 Jan, 2022 @ 9:30am
19 Sep, 2022 @ 5:16am
3 Change Notes ( view )

Subscribe to download
[TTT2] Godfather & Mafioso [ROLE]

In 1 collection by pawel99uk
GM's Network Server Collection
96 items
Description
The man has had enough and he want his troops to enter this town he will not give up until he own it .

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/Npcbb4W
Source: coming soon :)




The Godfather is an new neutral bad role in town that has his own shop. The shops items can be configured by the server owner and by default is identical to the traitor shop he as well has 150HP. while the Mafioso is the soldier with no shop but a great will for the mafia faction.

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) Godfather:
# enable or disable this role ttt_godfather_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_godfather_pct [0.0..1.0] (default: 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_godfather_max [0..n] (default: 2) # the probability each round of this role being spawned at all ttt_godfather_random [0..100] (default: 100) # the amount of players needed for this role to spawn ttt_godfather_min_players: [0..n] (default: 7)

Normal Role Convars (also found in ULX) Mafioso:
# enable or disable this role ttt_mafioso_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_mafioso_pct [0.0..1.0] (default: 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_mafioso_max [0..n] (default: 2) # the probability each round of this role being spawned at all ttt_mafioso_random [0..100] (default: 100) # the amount of players needed for this role to spawn ttt_mafioso_min_players: [0..n] (default: 7)

--
Credits:
Pawel99UK: creator of this role addon
SipcoGamingGuild: designer of the role icon
Popular Discussions View All (1)
0
19 Sep, 2022 @ 5:21am
Role Suggestion For the mafia team
pawel99uk
7 Comments
pawel99uk  [author] 24 Jul, 2022 @ 4:41am 
was hoping to join it :)
Hannes 9 Feb, 2022 @ 9:24am 
What are you planning to do?
Hannes 9 Feb, 2022 @ 9:23am 
It's Schaurs
pawel99uk  [author] 9 Feb, 2022 @ 9:15am 
hannes that is as well a good idea thank u for telling me this all do may ask the name of your TTT2 server
Hannes 8 Feb, 2022 @ 7:18am 
I don't know how difficult this would be since I'm not well versed in programming, but would it be possible to make the Godfather a subrole of the Mafiosos or make it so that a certain percentage of players gets assigned to the Team Mafia (Like the Flood-Role). Because we play with a humongous amount of roles on our server and to balance that out, I have limited the Base-Roles to 5 and since both the Mafioso and the Godfather are basroles, it is insanely unlikely for both of them to spawn at the same time.
Also: I LOVE the idea of Cpt.Haxray!
pawel99uk  [author] 29 Jan, 2022 @ 1:58am 
Cpt.Haxray i this is my first addon and i am still learning code but i did think about adding some mark like hit man or exe. i just need to learn how to add it to my role :)
Cpt.Haxray 22 Jan, 2022 @ 12:21pm 
Just having 50 bonus hp is not particularly exciting. Perhaps it could be a good idea to add a 'mark' system similar to how voting worked as godfather/mafia in TOS, where the godfather can mark a person for the Mafisos to gain a damage boost against?