2022-03-31 08:36:59 +00:00
< ? php
#
# COLORS
#
# Text Color
$tcolor = 'white' ;
# This is the color defined by https://materializecss.com/color.html
$color = 'grey darken-4' ;
#
# BASEINFO
#
#The Name of the Role
$name = 'Hidden' ;
#The Description of the Role, HTML conform :)
$description = 'A terrifying threat stalks the shadows' ;
#
# TABS
#
#How To play
$howtoplay = " The Hidden is a neutral killer role. The Hidden must activate their powers to start killing, they do this by pressing reload (default 'R').
After activating their powers , they become invisible , lose the ability to use guns , gain the Climber item , gain bonus HP , and gain a speed boost . Their vision changes and they gain wall hacks when standing still . Finally , it is announced to everyone that they are the Hidden .
Their knife works like the Traitor weapon , dealing melee damage and is capable of being thrown . If the Hidden doesn ' t pick up their knife , it returns to them after a short delay .
Their stun grenade causes those in its Area of Effect to have an intense motion blur effect for a short duration . It will restock after a delay .
After the Hidden takes enough damage , they become partially visible , return to complete invisibility after a delay .
If the Hidden is killed , their death is announced to everyone . " ;
#With what roles does this role play best?
$playsbestwith = '
< ul >
< li ></ li >
< li ></ li >
< li ></ li >
< ul >
' ;
#Convars
$convars = " Normal Role Convars (also found in ULX):
< code > # enable or disable this role
ttt_hidden_enabled [ 0 / 1 ] ( default : 1 )
# the percentage of players that are spawned as this role
ttt_hidden_pct [ 0.0 .. 1.0 ] ( default 0.15 )
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_hidden_max [ 0.0 .. n ] ( default : 1 )
# the probility each round of this role being spawned at all
ttt_hidden_random [ 0. . 100 ] ( default : 33 )
# the amount of players needed for this role to spawn
ttt_hidden_min_players : [ 0. . n ] ( default : 6 ) </ code >
Rolespecific Convars :
< code > # the delay before the hidden's knife returns after being thrown
ttt2_hdn_knife_delay ( default : 15 )
# the delay before the hidden's grenade restocks
ttt2_hdn_nade_delay ( default : 30 )
# the duration of the hidden's stun grenade's effect
ttt2_hdn_stun_duration ( default : 5 ) </ code > " ;
#
# Credits
#
#The Steam URL to your addon
$steam = '' ;
#The Source URL to your addon
$source = '' ;
#Creator of the Addon
$author = 'Wasted' ;
#Creatorlink
$authorurl = 'https://steamcommunity.com/id/Zzzaaaccc13' ;
# Credittext (can use the above variables)
$ctext = " Wasted: creator of this role addon
The Hidden Source [ www . hidden - source . com ] : Inspiration for role
fortune : creator of the port of The Hidden gamemode for Garry ' s Mod whose vision effect I used for this role . " ;
?>