]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_settings_game_model.qc
Restore white tos text
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_settings_game_model.qc
index f0f95d74b95963fb540c5e330a538dc891f58199..c63248740b67cc2a3b1d1d4b01223d66da3723c5 100644 (file)
@@ -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"));