cod5-sdk/raw/ui/options_shoot_pc.menu
2008-11-20 00:00:00 +00:00

82 lines
2.6 KiB
Text

#include "ui/menudef.h"
#include "ui_mp/common_macro.inc"
#define OPTIONS_STYLE 1
#define CHOICE_SEP_1 30
#define CHOICE_SEP_2 32
#include "ui_mp/menustyle.inc"
#include "ui/choices_setup_common.menu"
{
menuDef
{
name options_shoot
fullScreen 0
rect 0 0 640 480
focusColor COLOR_FOCUSED
soundloop ""
onOpen
{
close options_look;
close options_move;
close options_invehicle;
close options_misc;
close options_graphics;
close options_sound;
close options_game;
close options_view;
close options_defaults;
close options_driverinfo;
close options_credits;
close options_multi;
close options_graphics_defaults;
close options_graphics_texture;
close options_control_defaults;
close options_coop;
setLocalVarBool ui_hideBack 1;
}
onClose
{
setLocalVarBool ui_hideBack 0;
}
onESC
{
close self;
}
#include "ui_mp/leftside_controls.inc"
CHOICE_SECTION_TITLE( 21, "@MENU_COMBAT_CAP" )
CHOICE_BIND( 22, "@MENU_ATTACK", "+attack", ; )
CHOICE_BIND( 23, "@MENU_AIM_DOWN_THE_SIGHT", "+speed_throw", ; )
CHOICE_BIND( 24, "@MENU_TOGGLE_AIM_DOWN_THE_SIGHT", "+toggleads_throw", ; )
CHOICE_BIND( 25, "@MENU_MELEE_ATTACK", "+melee", ; )
CHOICE_BIND( 26, "@MENU_SWITCH_WEAPON", "weapnext", ; )
CHOICE_BIND( 27, "@MENU_RELOAD_WEAPON", "+reload", ; )
CHOICE_BIND( 28, "@MENU_SPRINT", "+sprint", ; )
CHOICE_BIND( 29, "@MENU_SPRINT_HOLD_BREATH", "+breath_sprint", ; )
CHOICE_BIND( 30, "@MENU_STEADY_SNIPER_RIFLE", "+holdbreath", ; )
CHOICE_SEPARATOR( CHOICE_SEP_1 )
CHOICE_BIND( 31, "@MENU_THROW_FRAG_GRENADE", "+frag", ; )
CHOICE_BIND( 32, "@MENU_THROW_SPECIAL_GRENADE", "+smoke", ; )
CHOICE_SEPARATOR( CHOICE_SEP_2 )
CHOICE_BIND_VIS( 33, "@MENU_ACTION_INVENTORY", "+actionslot 3", ;, when( dvarbool( ui_multiplayer ) ), dvarbool( ui_mulitplayer ) ) //mp
CHOICE_BIND_VIS( 33, "@MPUI_RIFLE_GRENADE", "+actionslot 3", ;, when( !dvarbool( ui_multiplayer ) ), !dvarbool( ui_multiplayer ) ) //sp
CHOICE_BIND_VIS( 34, "@MENU_GROUND_SUPPORT", "+actionslot 4", ;, when( dvarbool( ui_multiplayer ) ), dvarbool( ui_multiplayer ) ) //mp
CHOICE_BIND_VIS( 34, "@MENU_SATCHEL_CHARGE", "+actionslot 2", ;, when( !dvarbool( ui_multiplayer ) ), !dvarbool( ui_multiplayer ) ) //sp
CHOICE_BIND_VIS( 35, "@MENU_EQUIPMENT", "+actionslot 4", ;, when( !dvarbool( ui_multiplayer ) ),!dvarbool( ui_multiplayer ) ) //sp
//CHOICE_BACK( "@MENU_BACK", close self )
CHOICE_KEYBINDHELP
}
}