93 lines
5.1 KiB
PHP
93 lines
5.1 KiB
PHP
|
// gameplay options
|
||
|
//============================================================================
|
||
|
|
||
|
#define CHOICE_OLDSCHOOL_TEXT "@MPUI_RULES_OLDSCHOOL"
|
||
|
#define CHOICE_OLDSCHOOL_DVAR "scr_oldschool"
|
||
|
#define CHOICE_OLDSCHOOL_DVARTEXT CHOICE_OLDSCHOOL_DVAR"_text"
|
||
|
#define CHOICE_OLDSCHOOL_SHOW 1
|
||
|
#define CHOICE_OLDSCHOOL_EXEC1 execNowOnDvarIntValue scr_oldschool 0 "exec oldschool_disable.cfg";
|
||
|
#define CHOICE_OLDSCHOOL_EXEC2 execNowOnDvarIntValue scr_oldschool 1 "exec oldschool_settings.cfg; exec hardcore_disable.cfg; set scr_hardcore 0";
|
||
|
#define CHOICE_OLDSCHOOL_STRLIST { "@MENU_DISABLED" 0 "@MENU_ENABLED" 1}
|
||
|
#define CHOICE_OLDSCHOOL_EXEC play "mouse_click"; CHOICE_OLDSCHOOL_EXEC1 CHOICE_OLDSCHOOL_EXEC2
|
||
|
|
||
|
#define CHOICE_HARDCORE_TEXT "@MPUI_RULES_HARDCORE"
|
||
|
#define CHOICE_HARDCORE_DVAR "scr_hardcore"
|
||
|
#define CHOICE_HARDCORE_DVARTEXT CHOICE_HARDCORE_DVAR"_text"
|
||
|
#define CHOICE_HARDCORE_SHOW 1
|
||
|
#define CHOICE_HARDCORE_EXEC1 execNowOnDvarIntValue scr_hardcore 0 "exec hardcore_disable.cfg";
|
||
|
#define CHOICE_HARDCORE_EXEC2 execNowOnDvarIntValue scr_hardcore 1 "exec hardcore_settings.cfg; exec oldschool_disable.cfg; set scr_oldschool 0";
|
||
|
#define CHOICE_HARDCORE_STRLIST { "@MENU_DISABLED" 0 "@MENU_ENABLED" 1}
|
||
|
#define CHOICE_HARDCORE_EXEC play "mouse_click"; CHOICE_HARDCORE_EXEC1 CHOICE_HARDCORE_EXEC2
|
||
|
|
||
|
#ifdef TEAMBASED
|
||
|
#define CHOICE_SPECTATE_TEXT "@MPUI_RULES_SPECTATING"
|
||
|
#define CHOICE_SPECTATE_DVAR scr_game_spectatetype
|
||
|
#define CHOICE_SPECTATE_DVARTEXT CHOICE_SPECTATE_DVAR"_text"
|
||
|
#define CHOICE_SPECTATE_SHOW 1
|
||
|
#define CHOICE_SPECTATE_STR1 "@MENU_DISABLED"
|
||
|
#define CHOICE_SPECTATE_STR2 "@MPUI_RULES_TEAM_ONLY"
|
||
|
#define CHOICE_SPECTATE_STR3 "@MPUI_RULES_FREE"
|
||
|
#define CHOICE_SPECTATE_STR4 ""
|
||
|
#define CHOICE_SPECTATE_STR5 ""
|
||
|
#define CHOICE_SPECTATE_STR6 ""
|
||
|
#define CHOICE_SPECTATE_VAL1 0
|
||
|
#define CHOICE_SPECTATE_VAL2 1
|
||
|
#define CHOICE_SPECTATE_VAL3 2
|
||
|
#define CHOICE_SPECTATE_VAL4 0
|
||
|
#define CHOICE_SPECTATE_VAL5 0
|
||
|
#define CHOICE_SPECTATE_VAL6 0
|
||
|
#define CHOICE_SPECTATE_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_SPECTATE_TEXT; play "mouse_click";
|
||
|
#define CHOICE_SPECTATE_STRLIST { CHOICE_SPECTATE_STR1 CHOICE_SPECTATE_VAL1 CHOICE_SPECTATE_STR2 CHOICE_SPECTATE_VAL2 CHOICE_SPECTATE_STR3 CHOICE_SPECTATE_VAL3 CHOICE_SPECTATE_STR4 CHOICE_SPECTATE_VAL4 CHOICE_SPECTATE_STR5 CHOICE_SPECTATE_VAL5 CHOICE_SPECTATE_STR6 CHOICE_SPECTATE_VAL6 }
|
||
|
#define CHOICE_SPECTATE_NUMVALS 3
|
||
|
#else
|
||
|
#define CHOICE_SPECTATE_TEXT "@MPUI_RULES_SPECTATING"
|
||
|
#define CHOICE_SPECTATE_DVAR scr_game_spectatetype
|
||
|
#define CHOICE_SPECTATE_DVARTEXT CHOICE_SPECTATE_DVAR"_text"
|
||
|
#define CHOICE_SPECTATE_SHOW 1
|
||
|
#define CHOICE_SPECTATE_STR1 "@MENU_DISABLED"
|
||
|
#define CHOICE_SPECTATE_STR2 "@MPUI_RULES_PLAYERS_ONLY"
|
||
|
#define CHOICE_SPECTATE_STR3 "@MPUI_RULES_FREE"
|
||
|
#define CHOICE_SPECTATE_STR4 ""
|
||
|
#define CHOICE_SPECTATE_STR5 ""
|
||
|
#define CHOICE_SPECTATE_STR6 ""
|
||
|
#define CHOICE_SPECTATE_VAL1 0
|
||
|
#define CHOICE_SPECTATE_VAL2 1
|
||
|
#define CHOICE_SPECTATE_VAL3 2
|
||
|
#define CHOICE_SPECTATE_VAL4 0
|
||
|
#define CHOICE_SPECTATE_VAL5 0
|
||
|
#define CHOICE_SPECTATE_VAL6 0
|
||
|
#define CHOICE_SPECTATE_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_SPECTATE_TEXT; play "mouse_click";
|
||
|
#define CHOICE_SPECTATE_STRLIST { CHOICE_SPECTATE_STR1 CHOICE_SPECTATE_VAL1 CHOICE_SPECTATE_STR2 CHOICE_SPECTATE_VAL2 CHOICE_SPECTATE_STR3 CHOICE_SPECTATE_VAL3 CHOICE_SPECTATE_STR4 CHOICE_SPECTATE_VAL4 CHOICE_SPECTATE_STR5 CHOICE_SPECTATE_VAL5 CHOICE_SPECTATE_STR6 CHOICE_SPECTATE_VAL6 }
|
||
|
#define CHOICE_SPECTATE_NUMVALS 3
|
||
|
#endif
|
||
|
|
||
|
#define CHOICE_KILLCAM_TEXT "@MPUI_RULE_ALLOW_KILLCAM"
|
||
|
#define CHOICE_KILLCAM_DVAR "scr_game_allowkillcam"
|
||
|
#define CHOICE_KILLCAM_DVARTEXT CHOICE_KILLCAM_DVAR"_text"
|
||
|
#define CHOICE_KILLCAM_SHOW 1
|
||
|
#define CHOICE_KILLCAM_STRLIST { "@MENU_DISABLED" 0 "@MENU_ENABLED" 1}
|
||
|
#define CHOICE_KILLCAM_EXEC play "mouse_click";
|
||
|
|
||
|
#ifdef TEAMBASED
|
||
|
#define CHOICE_FRIENDLYFIRE_TEXT "@MPUI_RULES_FRIENDLY_FIRE"
|
||
|
#define CHOICE_FRIENDLYFIRE_DVAR scr_team_fftype
|
||
|
#define CHOICE_FRIENDLYFIRE_DVARTEXT CHOICE_FRIENDLYFIRE_DVAR"_text"
|
||
|
#define CHOICE_FRIENDLYFIRE_SHOW 1
|
||
|
#define CHOICE_FRIENDLYFIRE_STR1 "@MENU_DISABLED"
|
||
|
#define CHOICE_FRIENDLYFIRE_STR2 "@MENU_ENABLED"
|
||
|
#define CHOICE_FRIENDLYFIRE_STR3 "@MPUI_RULES_REFLECT"
|
||
|
#define CHOICE_FRIENDLYFIRE_STR4 "@MPUI_RULES_SHARED"
|
||
|
#define CHOICE_FRIENDLYFIRE_STR5 ""
|
||
|
#define CHOICE_FRIENDLYFIRE_STR6 ""
|
||
|
#define CHOICE_FRIENDLYFIRE_VAL1 0
|
||
|
#define CHOICE_FRIENDLYFIRE_VAL2 1
|
||
|
#define CHOICE_FRIENDLYFIRE_VAL3 2
|
||
|
#define CHOICE_FRIENDLYFIRE_VAL4 3
|
||
|
#define CHOICE_FRIENDLYFIRE_VAL5 0
|
||
|
#define CHOICE_FRIENDLYFIRE_VAL6 0
|
||
|
#define CHOICE_FRIENDLYFIRE_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_FRIENDLYFIRE_TEXT; play "mouse_click";
|
||
|
#define CHOICE_FRIENDLYFIRE_STRLIST { CHOICE_FRIENDLYFIRE_STR1 CHOICE_FRIENDLYFIRE_VAL1 CHOICE_FRIENDLYFIRE_STR2 CHOICE_FRIENDLYFIRE_VAL2 CHOICE_FRIENDLYFIRE_STR3 CHOICE_FRIENDLYFIRE_VAL3 CHOICE_FRIENDLYFIRE_STR4 CHOICE_FRIENDLYFIRE_VAL4 CHOICE_FRIENDLYFIRE_STR5 CHOICE_FRIENDLYFIRE_VAL5 CHOICE_FRIENDLYFIRE_STR6 CHOICE_FRIENDLYFIRE_VAL6 }
|
||
|
#define CHOICE_FRIENDLYFIRE_NUMVALS 4
|
||
|
#endif
|
||
|
|