Garry's Mod

Garry's Mod

Not enough ratings
Lich (CR for TTT)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
File Size
Posted
Updated
3.478 MB
30 Sep, 2022 @ 5:23am
27 Dec, 2022 @ 1:05pm
71 Change Notes ( view )

Subscribe to download
Lich (CR for TTT)

In 1 collection by Kawaii Five-0
SraegGMod Test
136 items
Description
SraegMod presents the Lich CR for TTT.

The Lich is an independent role. They can use their device to spawn a phylactery. This will spawn a random prop from the map or the default Lich Book prop. If there are no props on the map it will spawn a random prop from a list of 16 default props. The Lich will respawn near their phylactery when they die so long as it is active. Players can do damage to the phylactery to try and destroy it. If the phylactery is destroyed the Lich will die. The Lich wins when they are the last player standing.
------------------------------------------------------------------------------------------------------

Huge thank you to Noxx, Malivil and all the developers of Custom Roles for TTT! Check out the CR for TTT discord at the link below.

https://discord.gg/BAPZrykC3F

The Lich Book prop is from Unclassified's Halloween Props Pack. This addon is not required for the Lich role but is worth checking out.

The following role convars should be added to your server.cfg file to enable this role. They can be customized to your liking.

//Whether or not the lich should spawn
ttt_lich_enabled 1

// The weight assigned to spawning the lich
ttt_lich_spawn_weight 1

// The minimum number of players required to spawn the lich
ttt_lich_min_players 0

// Whether the lich should be treated as a member of the monster team (rather than the independent team)
ttt_lich_is_monster 0

// The amount of time (in seconds) the lich's device takes to use
ttt_lich_device_timer 5

// Amount of time (in seconds) to wait until the lich respawns
ttt_lich_respawn_delay 0.01

// Amount of time (in seconds) that is added to the lich respawn delay every time they die (0 to disable)
ttt_lich_respawn_delay_scale 0.5

// The persentage to reduce the health of the lich by when respawning (0.5 = 50%)
ttt_lich_respawn_health_scale 0.25

// The max health of the phylactery
ttt_lich_phylactery_health 100

// Whether or not to display the entity hint for the phylactery (0 to disable)
ttt_lich_show_phylactery 1

// Whether to use the default book model for the phylactery (0 to use a random prop)
ttt_lich_default_phylactery_model 0

// The amount of health the lich starts with
ttt_lich_starting_health 100

// The maximum amount of health the lich can have
ttt_lich_max_health 100
7 Comments
Kawaii Five-0  [author] 13 Dec, 2022 @ 5:48pm 
I will be adding a visual and audio cue to the phylactery at some point. Even making it a distinct prop lead to games running long because no one could find the phylactery
Kawaii Five-0  [author] 12 Dec, 2022 @ 1:54pm 
The cvar ttt_lich_default_phylactery_model has been added which will toggle whether to use a random prop from the map or use a default book prop. (screenshot of the book model pending)

If the random prop option is enabled, and there is no prop on the map, a random prop from a list of 16 default props will be used instead.
Kawaii Five-0  [author] 12 Dec, 2022 @ 9:04am 
Yeah I have been thinking about that. What I can do is add a cvar that will let you toggle it to default to a gravestone or something like that every time. I will also look into seeing if I can add a list of default props for maps that do not have any.
Delapoer 8 Dec, 2022 @ 4:56pm 
I wanted to make another recomendation when testing this role with my friends, on maps with no props the lich won't work, is there some way to give it the basic list of props in this case, If that is a little too hard I was thinking the phylactery should have the same model every time. Like a gravestone or something, because trying to find a prop that someone hid is really hard and continues games a little too long, overall love this role btw
Kawaii Five-0  [author] 13 Oct, 2022 @ 12:18pm 
The cvar ttt_lich_respawn_health_scale has been added. This will adjust how much health the Lich will respawn with. Set to 0 to disable health scaling.
Kawaii Five-0  [author] 11 Oct, 2022 @ 9:53pm 
@De la Poer That is definitely something I can add. Should not be too hard to implement.
Delapoer 10 Oct, 2022 @ 1:46pm 
Really cool idea I recommend to add a convar to change the health of the respawned lich, possibly another one like the phantom where every time they respawn their health is halved (any fraction)