diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2010-12-07 15:16:40 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:47 +0000 |
commit | 8335ff2bc4ccf1a5f54e2ce0015684746c8a48a9 (patch) | |
tree | fc2f2097dc3f5c01c0306849f5994820572dcec1 /assets | |
parent | fe056327dbcffe8fbe2277a922624c741ce98e99 (diff) |
* (bug 4814) More options for teamoverlay in attempt to make it more useful
Diffstat (limited to 'assets')
-rw-r--r-- | assets/ui/ingame_options.menu | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/assets/ui/ingame_options.menu b/assets/ui/ingame_options.menu index ad601938..5c22cdf6 100644 --- a/assets/ui/ingame_options.menu +++ b/assets/ui/ingame_options.menu @@ -398,9 +398,10 @@ { name hud group optionsGrp - type ITEM_TYPE_YESNO + type ITEM_TYPE_MULTI text "Show Team Overlay:" cvar "cg_drawTeamOverlay" + cvarFloatList { "Off" 0 "All Teammates" 1 "Support Teammates" 2 "Nearby Teammates" 3 } rect CONTENT_X (CONTENT_Y+(5*ELEM_H)) CONTENT_W ELEM_H textalign ALIGN_RIGHT textvalign VALIGN_CENTER @@ -418,10 +419,31 @@ { name hud group optionsGrp + type ITEM_TYPE_MULTI + text "Sort Team Overlay:" + cvar "cg_teamOverlaySortMode" + cvarFloatList { "None" 0 "Score" 1 "Weapon/Class" 2 } + rect CONTENT_X (CONTENT_Y+(6*ELEM_H)) CONTENT_W ELEM_H + textalign ALIGN_RIGHT + textvalign VALIGN_CENTER + textalignx CONTENT_OFF + textscale .25 + forecolor 1 1 1 1 + visible MENU_FALSE + action + { + play "sound/misc/menu1.wav"; + } + } + + itemDef + { + name hud + group optionsGrp type ITEM_TYPE_YESNO text "Show Gun:" cvar "cg_drawGun" - rect CONTENT_X (CONTENT_Y+(6*ELEM_H)) CONTENT_W ELEM_H + rect CONTENT_X (CONTENT_Y+(7*ELEM_H)) CONTENT_W ELEM_H textalign ALIGN_RIGHT textvalign VALIGN_CENTER textalignx CONTENT_OFF @@ -442,7 +464,7 @@ text "Show Speed:" cvar "cg_drawspeed" cvarFloatList { "No" 0 "Text" 1 "Graph" 2 "Text + Graph" 3 "Text No-Z" 5 "Graph No-Z" 6 "Text + Graph No-Z" 7 } - rect CONTENT_X (CONTENT_Y+(7*ELEM_H)) CONTENT_W ELEM_H + rect CONTENT_X (CONTENT_Y+(8*ELEM_H)) CONTENT_W ELEM_H textalign ALIGN_RIGHT textvalign VALIGN_CENTER textalignx CONTENT_OFF @@ -462,7 +484,7 @@ type ITEM_TYPE_YESNO text "Show FPS:" cvar "cg_drawFPS" - rect CONTENT_X (CONTENT_Y+(8*ELEM_H)) CONTENT_W ELEM_H + rect CONTENT_X (CONTENT_Y+(9*ELEM_H)) CONTENT_W ELEM_H textalign ALIGN_RIGHT textvalign VALIGN_CENTER textalignx CONTENT_OFF @@ -482,7 +504,7 @@ type ITEM_TYPE_YESNO text "Show Timer:" cvar "cg_drawTimer" - rect CONTENT_X (CONTENT_Y+(9*ELEM_H)) CONTENT_W ELEM_H + rect CONTENT_X (CONTENT_Y+(10*ELEM_H)) CONTENT_W ELEM_H textalign ALIGN_RIGHT textvalign VALIGN_CENTER textalignx CONTENT_OFF @@ -502,7 +524,7 @@ type ITEM_TYPE_YESNO text "Show Demo State:" cvar "cg_drawDemoState" - rect CONTENT_X (CONTENT_Y+(10*ELEM_H)) CONTENT_W ELEM_H + rect CONTENT_X (CONTENT_Y+(11*ELEM_H)) CONTENT_W ELEM_H textalign ALIGN_RIGHT textvalign VALIGN_CENTER textalignx CONTENT_OFF |