home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ SETUP MENU \\
-
- menuDef {
- name "ingame_configoptions"
- visible 0
- fullscreen 0
- //background "blank"
- rect 186 60 454 420
- focusColor 1 1 1 1
- style 1
- border 1
- onOpen {
- play "sound/UI/menu1.wav" ;
- }
- onEsc { close ingame_configoptions ; close ingame_confignav ; open ingame_main }
- itemDef {
- name options
- group grpOptions
- text "Crosshair:"
- rect 227 43 20 20
- ownerdraw UI_CROSSHAIR
- textalign ITEM_ALIGN_RIGHT
- textalignx 0
- textaligny 20
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseEnter { show message_click; setitemcolor crosshair forecolor 1 1 1 1; }
- mouseExit { hide message_click; setitemcolor crosshair forecolor .66 1 0 1; }
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Marks On Walls:"
- cvar "cg_marks"
- rect 99 65 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Dynamic Lights:"
- cvar "r_dynamiclight"
- rect 99 80 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Identify Target:"
- cvar "cg_drawCrosshairNames"
- rect 99 95 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Draw Gun:"
- cvar "cg_drawGun"
- rect 99 110 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Low Quality Sky:"
- cvar "r_fastsky"
- rect 99 125 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Sync Every Frame:"
- cvar "weapon 5"
- rect 99 140 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Force Player Models:"
- cvar "cg_forceModel"
- rect 99 155 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Auto Download:"
- cvar "cl_allowDownload"
- rect 99 170 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Show Time:"
- cvar "cg_drawTimer"
- rect 99 185 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Simple Items:"
- cvar "cg_simpleItems"
- rect 99 200 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Simple Hud:"
- cvar "sidc_simplehud"
- rect 99 215 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Voice Alerts:"
- cvar "sidc_voice_warnings"
- rect 99 230 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_SLIDER
- text "HUD Opacity:"
- cvarfloat "sidc_hud_opacity" 1 0 1
- rect 99 245 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 1
- mouseenter { show slider_message; }
- mouseexit { hide slider_message; }
- }
-
- //Messages
- itemDef {
- name message_click
- group grpmessage
- style 0
- rect 134 360 128 30
- textstyle 6
- textalign 1
- textstyle 1
- textalignx 0
- textaligny 25
- textscale .3
- text "Click to Toggle Option"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name yesno_message
- rect 134 360 128 30
- text "Select the Item to Toggle to Yes or No"
- forecolor 1 1 1 1
- textscale .3
- textstyle 6
- textalignx 1
- textalign 1
- textaligny 25
- visible 0
- decoration
- }
- itemDef {
- name message_edit
- style 0
- rect 320 420 128 30
- text "Click to Edit Field"
- forecolor 1 1 1 1
- textstyle 6
- textscale .3
- textalignx 1
- textalign 1
- textaligny 25
- visible 0
- decoration
- }
-
- }
-