X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_settings_game_model.qc;h=c63248740b67cc2a3b1d1d4b01223d66da3723c5;hb=abf4b5a430d71fc83abbe90da9b17b457a65e149;hp=f0f95d74b95963fb540c5e330a538dc891f58199;hpb=edf01df130d0d1877461561178b8833a9ab6051c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_settings_game_model.qc b/qcsrc/menu/xonotic/dialog_settings_game_model.qc index f0f95d74b9..c63248740b 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_model.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_model.qc @@ -50,7 +50,16 @@ void XonoticGameModelSettingsTab_fill(entity me) me.TR(me); me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "cl_forceplayermodels", _("Force player models to mine"))); me.TR(me); - me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "cl_forceplayercolors", _("Force player colors to mine"))); + me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Force player colors to mine"))); + me.TD(me, 1, 2, e = makeXonoticTextSlider_T("cl_forceplayercolors", + _("Warning: if enabled in team games your team's color may be the same as the enemy team"))); + e.addValue(e, _("Never"), "0"); + e.addValue(e, _("Except in team games"), "1"); + e.addValue(e, _("Only in Duel"), "3"); + e.addValue(e, _("Only in team games"), "4"); + e.addValue(e, _("In team games and Duel"), "5"); + e.addValue(e, _("Always"), "2"); + e.configureXonoticTextSliderValues(e); me.TR(me); me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Body fading:"))); me.TD(me, 1, 2, e = makeXonoticSlider(0, 2, 0.2, "cl_deathglow"));