Garry's Mod

Garry's Mod

Not enough ratings
[TTTC] Tapir [Class]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
2.943 MB
Mar 9, 2023 @ 10:38am
1 Change Note ( view )

Subscribe to download
[TTTC] Tapir [Class]

Description
TTT2 Class that can spawn a friendly Tapir which fights for you. Players damaged by the Tapir will suffer the "drowsy" status effect which will obscure their screen and play Touhou music on their end. The concept is inspired by Doremy Sweet[en.touhouwiki.net].

ConVars
ConVar
Default
Description
ttt_tapir_health
400
How much health should the tapir have?
ttt_tapir_damage
4
How much damage should the tapir do with its attacks?
ttt_tapir_close_distance
100
How closely should the tapir follow its owner? (in hammer units)
ttt_tapir_drowsy_duration
30
How long should the drowsiness effect last in seconds? (def: 30, set to 0 to disable)
ttt_tapir_drowsy_volume
1.0
How loud shoud the drowsiness music be? (1.0 means 100%, i.e. the normal volume of the file)
ttt_tapir_drowsy_audio
The audio file to play for drowsy players, relative to "sound/" (set to empty string to disable) (def: "touhou/eternal_spring_dream_short.ogg")
ttt_tapir_drowsy_audio_length
51.25
How long does the audio file play in seconds before it should be looped? (def: 51.25)
ttt_tapir_drowsy_overlay_enable
1
Should drowsy players have a disorienting screen overlay effect?

Copyright
The files in the sound/touhou/ directory belong to the Touhou Project and therefore do not fall under the terms of this project's LICENSE. As such, any derivative works of this project that also include that content will have to follow the Guidelines for Touhou Project Fan Creators[touhou-project.news].


See the GitHub for more information: https://github.com/ruby0b/ttt2-tapir
1 Comments
Confector Mar 10, 2023 @ 10:54am 
this is the best thing since the invention of the wheel