Skip to content

HotPotato

KissLick edited this page Apr 14, 2016 · 8 revisions
ConVar Description
tgm_hotpotato_healthcheck 0 = Nothing
1 = Color players in shades of red according to their health level.
2 = Show healthbar above players.
tgm_hotpotato_damage Amount of damage to deal to victim
tgm_hotpotato_damageinterval Interval between dealing damage to victim
tgm_hotpotato_victimspeed Set speed of victim (in percent)

**File prefix** `[HotPotato]` - Example: `[HotPotato] models/props_junk/watermelon01.mdl`
**File prefix** `[HotPotato-beam ]` - Example: `[HotPotato-beam 1.0 255 255 255 255] materials/sprites/laserbeam.vmt`
Argument Description
width Beam width.
r Rendered amount of red color (0-255).
g Rendered amount of green color (0-255).
b Rendered amount of blue color (0-255).
a Rendered amount of alpha (0-255).

**File prefix** `[HotPotato-healthbar ]` - Example: `[HotPotato-healthbar 50 16.0 0.25 255 255 255 255] materials/tg/healthbar/50.vmt`
Argument Description
health Max health level for this healthbar material.
Accepts values 10, 20, 30, 40, 50, 60, 70, 80, 90 and 100.
vertical offset Vertical offset of healthbar from player's head.
scale Scale of texture used for healthbar.
r Rendered amount of red color (0-255).
g Rendered amount of green color (0-255).
b Rendered amount of blue color (0-255).
a Rendered amount of alpha (0-255).