sof2-sdk/ui/ingame_setup.menu
2002-05-24 00:00:00 +00:00

711 lines
13 KiB
Text

{
\\ INGAME SETUP MENU
menuDef
{
name "ingame_setup"
visible 0
fullscreen 0
rect 50 50 432 293
focusColor .49 .56 .27 1
tooltipbackcolor .49 .56 .27 1
tooltipforecolor .12 .14 .08 1
tooltipfont "hud"
tooltipscale .43
tooltipdelay 500
onOpen
{
hide submenu_image_alt_group;
show submenu_image_group;
hide player_image;
show player_image_alt;
show submenu_button_group;
hide player_button;
open player_menu;
}
onClose
{
close setup_controls_menu;
close player_menu;
close sounds_menu;
close setup_display_menu;
close setup_misc_menu;
close setup_scale_menu;
close ingame_network_menu;
}
////////////////////////////////////////////////////////////////////////
// Dialog frame
////////////////////////////////////////////////////////////////////////
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect 0 -6 432 300
background "gfx/menus/ingame/background.png"
visible 1
decoration
}
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect -6 -10 8 8
background "gfx/menus/ingame/frame_topleft.png"
visible 1
decoration
}
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect 0 -10 432 8
background "gfx/menus/ingame/frame_top.png"
visible 1
decoration
}
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect 432 -10 8 8
background "gfx/menus/ingame/frame_topright.png"
visible 1
decoration
}
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect -6 293 8 8
background "gfx/menus/ingame/frame_bottomleft.png"
visible 1
decoration
}
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect 0 293 432 8
background "gfx/menus/ingame/frame_bottom.png"
visible 1
decoration
}
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect 432 293 8 8
background "gfx/menus/ingame/frame_bottomright.png"
visible 1
decoration
}
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect 432 -5 8 298
background "gfx/menus/ingame/frame_right.png"
visible 1
decoration
}
itemDef
{
name window
style WINDOW_STYLE_SHADER
rect -6 -5 8 298
background "gfx/menus/ingame/frame_left.png"
visible 1
decoration
}
////////////////////////////////////////////////////////////////////////
// Selection buttons
////////////////////////////////////////////////////////////////////////
itemDef
{
name window
rect 14 9 46 46
border 1
bordercolor 0 0 0 1
visible 1
decoration
}
itemDef
{
name player_image
group submenu_image_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_player"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 22 17 32 32
visible 1
decoration
}
itemDef
{
name player_image_alt
group submenu_image_alt_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_player_alt"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 22 17 32 32
visible 0
decoration
}
itemDef
{
name player_button
group submenu_button_group
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
rect 14 9 46 46
visible 1
tooltip "Player Setup"
mouseEnter
{
play "sound/misc/menus/hilite1.wav" ;
show player_image_alt;
hide player_image;
}
mouseExit
{
show player_image;
hide player_image_alt;
}
action
{
play "sound/misc/menus/select.wav" ;
hide submenu_image_alt_group;
show submenu_image_group;
show submenu_button_group;
hide player_image;
show player_image_alt;
hide player_button;
close setup_controls_menu;
close sounds_menu;
close setup_display_menu;
close setup_misc_menu;
close setup_scale_menu;
close ingame_network_menu;
open player_menu;
}
}
itemDef
{
name window
rect 69 9 46 46
border 1
bordercolor 0 0 0 1
visible 1
decoration
}
itemDef
{
name keys_image
group submenu_image_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_keys"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 77 17 32 32
visible 1
decoration
}
itemDef
{
name keys_image_alt
group submenu_image_alt_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_keys_alt"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 77 17 32 32
visible 0
decoration
}
itemDef
{
name keys_button
group submenu_button_group
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
rect 79 9 46 46
visible 1
tooltip "Controls Setup"
mouseEnter
{
play "sound/misc/menus/hilite1.wav" ;
show keys_image_alt;
hide keys_image;
}
mouseExit
{
show keys_image;
hide keys_image_alt;
}
action
{
play "sound/misc/menus/select.wav" ;
hide submenu_image_alt_group;
show submenu_image_group;
show submenu_button_group;
hide keys_image;
show keys_image_alt;
hide keys_button;
close player_menu;
close sounds_menu;
close setup_display_menu;
close setup_misc_menu;
close setup_scale_menu;
close ingame_network_menu;
open setup_controls_menu;
}
}
itemDef
{
name window
rect 124 9 46 46
border 1
bordercolor 0 0 0 1
visible 1
decoration
}
itemDef
{
name display_image
group submenu_image_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_display"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 132 17 32 32
visible 1
decoration
}
itemDef
{
name display_image_alt
group submenu_image_alt_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_display_alt"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 132 17 32 32
visible 0
decoration
}
itemDef
{
name display_button
group submenu_button_group
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 124 9 46 46
visible 1
tooltip "Display Setup"
mouseEnter
{
play "sound/misc/menus/hilite1.wav" ;
show display_image_alt;
hide display_image;
}
mouseExit
{
show display_image;
hide display_image_alt;
}
action
{
play "sound/misc/menus/select.wav" ;
hide submenu_image_alt_group;
show submenu_image_group;
show submenu_button_group;
hide display_image;
show display_image_alt;
hide display_button;
close player_menu;
close sounds_menu;
close setup_controls_menu;
close setup_misc_menu;
close setup_scale_menu;
close ingame_network_menu;
open setup_display_menu;
}
}
itemDef
{
name window
rect 179 9 46 46
border 1
bordercolor 0 0 0 1
visible 1
decoration
}
itemDef
{
name sound_image
group submenu_image_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_sound"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 187 17 32 32
visible 1
decoration
}
itemDef
{
name sound_image_alt
group submenu_image_alt_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_sound_alt"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 187 17 32 32
visible 0
decoration
}
itemDef
{
name sound_button
group submenu_button_group
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 179 9 46 46
visible 1
tooltip "Sound Setup"
mouseEnter
{
play "sound/misc/menus/hilite1.wav" ;
show sound_image_alt;
hide sound_image;
}
mouseExit
{
show sound_image;
hide sound_image_alt;
}
action
{
play "sound/misc/menus/select.wav" ;
hide submenu_image_alt_group;
show submenu_image_group;
show submenu_button_group;
hide sound_image;
show sound_image_alt;
hide sound_button;
close player_menu;
close setup_controls_menu;
close setup_display_menu;
close setup_misc_menu;
close setup_scale_menu;
close ingame_network_menu;
open sounds_menu;
}
}
itemDef
{
name window
rect 234 9 46 46
border 1
bordercolor 0 0 0 1
visible 1
decoration
}
itemDef
{
name misc_image
group submenu_image_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_misc"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 242 17 32 32
visible 1
decoration
}
itemDef
{
name misc_image_alt
group submenu_image_alt_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_misc_alt"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 242 17 32 32
visible 0
decoration
}
itemDef
{
name misc_button
group submenu_button_group
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 234 9 46 46
visible 1
tooltip "Misc. Setup"
mouseEnter
{
play "sound/misc/menus/hilite1.wav" ;
show misc_image_alt;
hide misc_image;
}
mouseExit
{
show misc_image;
hide misc_image_alt;
}
action
{
play "sound/misc/menus/select.wav" ;
hide submenu_image_alt_group;
show submenu_image_group;
show submenu_button_group;
hide misc_image;
show misc_image_alt;
hide misc_button;
close setup_controls_menu;
close sounds_menu;
close player_menu;
close setup_display_menu;
close setup_scale_menu;
close ingame_network_menu;
open setup_misc_menu;
}
}
itemDef
{
name window
rect 289 9 46 46
border 1
bordercolor 0 0 0 1
visible 1
decoration
}
itemDef
{
name scale_image
group submenu_image_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_scale"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 297 17 32 32
visible 1
decoration
}
itemDef
{
name scale_image_alt
group submenu_image_alt_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_scale_alt"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 297 17 32 32
visible 0
decoration
}
itemDef
{
name scale_button
group submenu_button_group
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 289 9 46 46
visible 1
tooltip "Scalability Options"
mouseEnter
{
play "sound/misc/menus/hilite1.wav" ;
show scale_image_alt;
hide scale_image;
}
mouseExit
{
show scale_image;
hide scale_image_alt;
}
action
{
play "sound/misc/menus/select.wav" ;
hide submenu_image_alt_group;
show submenu_image_group;
show submenu_button_group;
hide scale_image;
show scale_image_alt;
hide scale_button;
close player_menu;
close setup_controls_menu;
close sounds_menu;
close setup_display_menu;
close setup_misc_menu;
close ingame_network_menu;
open setup_scale_menu;
}
}
itemDef
{
name window
rect 344 9 46 46
border 1
bordercolor 0 0 0 1
visible 1
decoration
}
itemDef
{
name network_image
group submenu_image_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_network"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 352 17 32 32
visible 1
decoration
}
itemDef
{
name network_image_alt
group submenu_image_alt_group
style WINDOW_STYLE_SHADER
background "gfx/menus/icons/submenu_network_alt"
backcolor 0 0 0 0
forecolor .12 .14 .08 1
rect 352 17 32 32
visible 0
decoration
}
itemDef
{
name network_button
group submenu_button_group
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 344 9 46 46
visible 1
tooltip "Network Settings"
mouseEnter
{
play "sound/misc/menus/hilite1.wav" ;
show network_image_alt;
hide network_image;
}
mouseExit
{
show network_image;
hide network_image_alt;
}
action
{
play "sound/misc/menus/select.wav" ;
hide submenu_image_alt_group;
show submenu_image_group;
show submenu_button_group;
hide network_image;
show network_image_alt;
hide network_button;
close player_menu;
close setup_controls_menu;
close sounds_menu;
close setup_display_menu;
close setup_misc_menu;
close setup_scale_menu;
open ingame_network_menu;
}
}
itemDef
{
name window
rect 8 60 418 3
style WINDOW_STYLE_FILLED
backcolor 0 0 0 1
visible 1
decoration
}
}
}