home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ SETUP MENU \\
-
- menuDef {
- name "ingame_configsystem"
- visible 0
- fullscreen 0
- rect 185 55 455 425
- focusColor 1 1 1 1
- style 1
- border 1
- onOpen {
- play "sound/UI/menu1.wav" ;
- hide grpSystem ;
- hide litebar;
- show graphics_litebar;
- show graphics;
- }
- onEsc { close ingame_configsystem ; close ingame_confignav ; open ingame_main }
- //Buttons//
- //Graphics Button//
- itemDef {
- name graphicsbar
- group grpSystembutton
- style WINDOW_STYLE_FILLED
- rect 150 335 75 20
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/UI/menu3.wav" ;
- hide grpSystem ;
- hide litebar;
- show graphics_litebar;
- show graphics }
- }
- itemDef {
- name graphics_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 150 335 75 20
- backcolor .66 1 0 .7
- visible 0
- decoration
- }
- itemDef {
- name ctr_graphics
- group grpSystembutton
- style 3
- rect 137 332 26 26
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- hide grpSystem ;
- hide litebar;
- show graphics_litebar;
- show graphics }
- }
- itemDef {
- name ctr_graphics
- group grpSystembutton
- style 3
- rect 212 332 26 26
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- hide grpSystem ;
- hide litebar;
- show graphics_litebar;
- show graphics }
- }
- itemDef {
- name ctr_graphics
- group grpSystembutton
- text "Graphics"
- type 1
- textscale .25
- textstyle 6
- style WINDOW_STYLE_FILLED
- rect 150 335 75 20
- textalign 1
- textalignx 39
- textaligny 15
- forecolor .66 1 0 1
- visible 1
- action { play "sound/UI/menu3.wav" ;
- hide grpSystem ;
- hide litebar;
- show graphics_litebar;
- show graphics }
- mouseEnter { show message_graphics; transition graphicsbar 150 345 75 0 150 335 75 20 20 5 }
- mouseExit { hide message_graphics; transition graphicsbar 150 335 75 20 150 345 75 0 20 5}
- }
- //Other Button//
- itemDef {
- name otherbar
- group grpSystembutton
- style WINDOW_STYLE_FILLED
- rect 240 335 75 20
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/UI/menu3.wav" ;
- hide grpSystem ;
- hide litebar;
- show other_litebar;
- show other }
- }
- itemDef {
- name other_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 240 335 75 20
- backcolor .66 1 0 .7
- visible 0
- decoration
- }
- itemDef {
- name ctr_other
- group grpSystembutton
- style 3
- rect 227 332 26 26
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- hide grpSystem ;
- hide litebar;
- show other_litebar;
- show other }
- }
- itemDef {
- name ctr_other
- group grpSystembutton
- style 3
- rect 302 332 26 26
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- hide grpSystem ;
- hide litebar;
- show other_litebar;
- show other }
- }
- itemDef {
- name ctr_other
- group grpSystembutton
- text "Other"
- type 1
- textscale .25
- textstyle 6
- style WINDOW_STYLE_FILLED
- rect 240 335 75 20
- textalign 1
- textalignx 39
- textaligny 15
- forecolor .66 1 0 1
- visible 1
- action { play "sound/UI/menu3.wav" ;
- hide grpSystem ;
- hide litebar;
- show other_litebar;
- show other }
- mouseEnter { show message_other; transition otherbar 240 345 75 0 240 335 75 20 20 5 }
- mouseExit { hide message_other; transition otherbar 240 335 75 20 240 345 75 0 20 5}
- }
-
- //System//
- itemDef {
- name graphics
- group grpSystem
- text "Quality:"
- type ITEM_TYPE_MULTI
- cvar "ui_glCustom"
- cvarFloatList { "High Quality" 0 "Normal" 1 "Fast" 2 "Fastest" 3 "Custom" 4 }
- rect 99 50 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript update "ui_glCustom" }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_EDITFIELD
- text "GL Driver:"
- cvar "r_gldriver"
- rect 99 65 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- decoration
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_YESNO
- text "GL Extensions:"
- cvar "r_allowExtensions"
- rect 99 80 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Video Mode:"
- cvar "r_mode"
- cvarFloatList { "320*240" 0 "400*300" 1 "512*384" 2 "640*480" 3 "800*600" 4 "960*720" 5 "1024*768" 6 "1152*864" 7 "1280*1024" 8 "1600*1200" 9 "2048*1536" 10 "856*480 Wide Screen" 11 }
- rect 99 95 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Color Depth:"
- cvar "r_colorbits"
- cvarFloatList { "Desktop Default" 0 "16-bit" 16 "32-bit" 32 }
- rect 99 110 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom ; uiScript update "r_colorbits" }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_YESNO
- text "Fullscreen:"
- cvar "r_fullscreen"
- rect 99 125 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Lighting:"
- cvar "r_vertexlight"
- cvarFloatList { "Light Map (high)" 0 "Vertex (low)" 1 }
- rect 99 140 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Geometric Detail:"
- cvar "r_lodbias"
- cvarFloatList { "High" 0 "Medium" 1 "Low" 2 }
- rect 99 155 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom ; uiScript update "r_lodbias" }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Texture Detail:"
- cvar "r_picmip"
- cvarFloatList { "Low" 2 "Normal" 1 "High" 0 }
- rect 99 170 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Texture Quality:"
- cvar "r_texturebits"
- cvarFloatList { "Default" 0 "16-bit" 16 "32-bit" 32 }
- rect 99 185 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Texture Filter:"
- cvar "r_texturemode"
- cvarStrList { "Bilinear", "GL_LINEAR_MIPMAP_NEAREST", "Trilinear", "GL_LINEAR_MIPMAP_LINEAR" }
- rect 99 200 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom }
- }
- itemDef {
- name graphics
- group grpSystem
- type ITEM_TYPE_YESNO
- text "Compress Textures:"
- cvar "r_ext_compressed_textures"
- rect 99 215 256 15
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript glCustom }
- }
- //Graphics Apply Button//
- itemDef {
- name applybar
- group grpSystem
- style WINDOW_STYLE_FILLED
- rect 195 305 75 20
- backcolor .66 1 0 .7
- visible 0
- action { play "sound/UI/menu3.wav" ;
- open vid_restart_popmenu }
- }
- itemDef {
- name graphics
- group grpSystem
- style 3
- rect 181 302 26 26
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- open vid_restart_popmenu }
- }
- itemDef {
- name graphics
- group grpSystem
- style 3
- rect 258 302 26 26
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action { play "sound/UI/menu3.wav" ;
- open vid_restart_popmenu }
- }
- itemDef {
- name graphics
- text "Apply"
- type 1
- textscale .25
- textstyle 6
- group grpSystem
- style WINDOW_STYLE_FILLED
- rect 195 305 75 20
- textalign 1
- textalignx 39
- textaligny 15
- forecolor .66 1 0 1
- visible 1
- action { play "sound/UI/menu3.wav" ;
- open vid_restart_popmenu }
- mouseEnter { show message_apply; transition applybar 195 315 75 0 195 305 75 20 20 5 }
- mouseExit { hide message_apply; transition applybar 195 305 75 20 195 315 75 0 20 5}
- }
- //Other//
- itemDef {
- name other
- group grpSystem
- style 1
- text "Display"
- rect 163 50 128 20
- textalign ITEM_ALIGN_CENTER
- textalignx 64
- textaligny 15
- textscale .35
- forecolor .4 .4 .65 1
- visible 0
- decoration
- }
-
- itemDef {
- name other
- group grpSystem
- type ITEM_TYPE_SLIDER
- text "Brightness:"
- cvarfloat "r_gamma" 1 0.5 2
- rect 99 75 256 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 15
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show slider_message; }
- mouseexit { hide slider_message; }
- }
-
- itemDef {
- name other
- group grpSystem
- type ITEM_TYPE_SLIDER
- text "Screen Size:"
- cvarfloat "cg_viewsize" 100 30 100
- rect 99 100 256 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 15
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show slider_message; }
- mouseexit { hide slider_message; }
- }
-
- itemDef {
- name other
- group grpSystem
- style 1
- text "Sound"
- rect 163 125 128 20
- textalign ITEM_ALIGN_CENTER
- textalignx 64
- textaligny 15
- textscale .35
- forecolor .4 .4 .65 1
- visible 0
- decoration
- }
-
- itemDef {
- name other
- group grpSystem
- type ITEM_TYPE_SLIDER
- text "Effects Volume:"
- cvarfloat "s_volume" 0.7 0 1
- rect 99 150 256 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 15
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show slider_message; }
- mouseexit { hide slider_message; }
- }
-
- itemDef {
- name other
- group grpSystem
- type ITEM_TYPE_SLIDER
- text "Music Volume:"
- cvarfloat "s_musicvolume" 0.25 0 1
- rect 99 175 256 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 15
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show slider_message; }
- mouseexit { hide slider_message; }
- }
-
- itemDef {
- name other
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Sound Quality:"
- cvar "s_khz"
- cvarFloatList { "22 khz (high)" 22 "11 khz (low)" 11 }
- rect 99 200 256 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 15
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- }
-
- itemDef {
- name other
- group grpSystem
- type ITEM_TYPE_YESNO
- text "Doppler Sound:"
- cvar "s_doppler"
- rect 99 225 256 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 15
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show yesno_message; }
- mouseexit { hide yesno_message; }
- }
-
-
-
- itemDef {
- name other
- group grpSystem
- style 1
- text "Network"
- rect 163 250 128 20
- textalign 1
- textalignx 64
- textaligny 15
- textscale .35
- forecolor .4 .4 .65 1
- visible 0
- decoration
- }
-
- itemDef {
- name other
- group grpSystem
- type ITEM_TYPE_MULTI
- text "Net Data Rate:"
- cvar "rate"
- cvarFloatList { "<=28.8k" 2500 "33.6k" 3000 "56k" 4000 "ISDN" 5000 "LAN/CABLE/xDSl" 25000 }
- rect 99 275 256 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 15
- textscale .25
- forecolor .66 1 0 1
- visible 0
- mouseenter { show message_click; }
- mouseexit { hide message_click; }
- action { uiScript update ui_setRate }
- }
- //Messages
- itemDef {
- name message_click
- group grpmessage
- style 0
- rect 135 365 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Click to Toggle Option"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name yesno_message
- rect 135 365 128 30
- text "Select the Item to Toggle to Yes or No"
- forecolor 1 1 1 1
- textstyle 6
- textscale .3
- textalignx 1
- textalign 1
- textaligny 25
- visible 0
- decoration
- }
- itemDef {
- name slider_message
- rect 135 365 128 30
- text "Drag the Slider to Increase and Decrease"
- forecolor 1 1 1 1
- textstyle 6
- textscale .3
- textalignx 1
- textalign 1
- textaligny 25
- visible 0
- decoration
- }
- //Buttons
- itemDef {
- name message_apply
- group grpmessage
- style 0
- rect 135 365 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Click to Apply System Changes"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name message_graphics
- group grpmessage
- style 0
- rect 135 365 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Click to Edit Graphics Settings"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name message_other
- group grpmessage
- style 0
- rect 135 365 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Click to Edit Other Settings"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- }
-
-
- }
-