From: MirceaKitsune Date: Tue, 2 Aug 2011 17:26:34 +0000 (+0300) Subject: Add helper setting to the menu X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9b31723db6ba6d4a76fabcd56a3d1fc52e976720;p=voretournament%2Fvoretournament.git Add helper setting to the menu --- diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index 4fbd384b..03063150 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -674,7 +674,7 @@ seta cl_notify_carried_items "3" "notify you of carried items when you obtain th seta cl_hitsound 1 "play a hit notifier sound when you have hit an enemy" seta cl_announcer default "name of the announcer you wish to use from data/sound/announcer" -seta cl_helper 1 "enable helper system" +seta cl_helper 1 "enable helper system (voice that warns you in certain circumstances)" seta cl_helper_voice default "name of the helper you wish to use from data/sound/helper" seta cl_helper_pause 2 "number of seconds that must pass before the helper system can be triggered again" seta cl_helper_item_health 25 "the helper will warn you when going below this amount of health" diff --git a/data/qcsrc/menu/voret/dialog_settings_audio.c b/data/qcsrc/menu/voret/dialog_settings_audio.c index 933d6591..516c6863 100644 --- a/data/qcsrc/menu/voret/dialog_settings_audio.c +++ b/data/qcsrc/menu/voret/dialog_settings_audio.c @@ -175,6 +175,8 @@ void fillVoretAudioSettingsTab(entity me) e.addValue(e, "5 minutes", "2"); e.addValue(e, "Both", "3"); e.configureVoretTextSliderValues(e); + me.TR(me); + me.TD(me, 1, 3, e = makeVoretCheckBox(0, "cl_helper", "Helper")); me.TR(me); me.TD(me, 1, 3, e = makeVoretCheckBox(0, "cl_hitsound", "Hit indicator")); me.TR(me);