Garry's Mod

Garry's Mod

TFA-VOX Ledge, Incap and Rescue Callouts
 This topic has been pinned, so it's probably important
Sergeant Pan  [developer] 13 May, 2023 @ 9:47am
Integrating these features into VOX Packs
This will be a short preview of the features and how to implement them.

This table features all the functions included in the addon:

['incapacitation'] = { ['ledhaninitial'] = { // Player enters a ledge hang ['delay'] = 3, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "ledhaninitial", { snd1, snd2, snd3 } ) }, ['ledhanstart'] = { // Sounds played for the first phase of ledge hang ['delay'] = 5, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "ledhanstart", { snd1, snd2, snd3 } ) }, ['ledhanmid'] = { // Sounds played for the second phase of ledge hang ['delay'] = 5, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "ledhanmid", { snd1, snd2, snd3 } ) }, ['ledhanend'] = { // Sounds played for the third phase of ledge hang ['delay'] = 5, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "ledhanend", { snd1, snd2, snd3 } ) }, ['incapstart'] = { // Player gets incapacitated ['delay'] = 4, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "incapstart", { snd1, snd2, snd3 } ) }, ['incaploop'] = { // Sounds played in incap ['delay'] = 4, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "incaploop", { snd1, snd2, snd3 } ) }, ['incapend'] = { // Player is below low health threshold in incap ['delay'] = 4, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "incapend", { snd1, snd2, snd3 } ) }, ['incapdmg'] = { // Player takes damage while incapacitated/ledge hanging ['delay'] = 3, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "incapdmg", { snd1, snd2, snd3 } ) }, ['rescueledge'] = { // Player is rescuing another player from a ledge ['delay'] = 6, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "rescueledge", { snd1, snd2, snd3 } ) }, ['rescueincap'] = { // Player is rescuing another player from incap ['delay'] = 6, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "rescueincap", { snd1, snd2, snd3 } ) }, ['rescuecombat'] = { // Player is rescuing another player from a ledge/incap, but there are enemies nearby ['delay'] = 6, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "rescuecombat", { snd1, snd2, snd3 } ) }, ['rescueappreciation'] = { // The player who was revived shows their appreciation ['delay'] = 2, ['sound'] = TFAVOX_GenerateSound( mdlprefix, "rescueappreciation", { snd1, snd2, snd3 } ) } },

Delay values are recommended to be left as is, or raised slightly depending on the creators own preference.
Last edited by Sergeant Pan; 25 Jul, 2024 @ 5:39am