parent
6580aa3688
commit
c6b4109961
|
@ -1295,7 +1295,6 @@ Callback_StartGameType()
|
||||||
|
|
||||||
precacheShader( "white" );
|
precacheShader( "white" );
|
||||||
precacheShader( "black" );
|
precacheShader( "black" );
|
||||||
//precacheMenu("popup_summary");
|
|
||||||
|
|
||||||
game["strings"]["press_to_spawn"] = &"PLATFORM_PRESS_TO_SPAWN";
|
game["strings"]["press_to_spawn"] = &"PLATFORM_PRESS_TO_SPAWN";
|
||||||
if ( level.teamBased )
|
if ( level.teamBased )
|
||||||
|
@ -1473,7 +1472,6 @@ Callback_StartGameType()
|
||||||
thread maps\mp\_skill::init();
|
thread maps\mp\_skill::init();
|
||||||
thread maps\mp\_areas::init();
|
thread maps\mp\_areas::init();
|
||||||
thread maps\mp\killstreaks\_killstreaks::init();
|
thread maps\mp\killstreaks\_killstreaks::init();
|
||||||
//thread maps\mp\_perks::init(); // No longer in use, removed from common scripts. (smart arrow)
|
|
||||||
thread maps\mp\perks\_perks::init();
|
thread maps\mp\perks\_perks::init();
|
||||||
thread maps\mp\_events::init();
|
thread maps\mp\_events::init();
|
||||||
thread maps\mp\_defcon::init();
|
thread maps\mp\_defcon::init();
|
||||||
|
|
|
@ -50,50 +50,42 @@ quickcommands(response)
|
||||||
case "1":
|
case "1":
|
||||||
soundalias = "mp_cmd_followme";
|
soundalias = "mp_cmd_followme";
|
||||||
saytext = &"QUICKMESSAGE_FOLLOW_ME";
|
saytext = &"QUICKMESSAGE_FOLLOW_ME";
|
||||||
//saytext = "Follow Me!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "2":
|
case "2":
|
||||||
soundalias = "mp_cmd_movein";
|
soundalias = "mp_cmd_movein";
|
||||||
saytext = &"QUICKMESSAGE_MOVE_IN";
|
saytext = &"QUICKMESSAGE_MOVE_IN";
|
||||||
//saytext = "Move in!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "3":
|
case "3":
|
||||||
soundalias = "mp_cmd_fallback";
|
soundalias = "mp_cmd_fallback";
|
||||||
saytext = &"QUICKMESSAGE_FALL_BACK";
|
saytext = &"QUICKMESSAGE_FALL_BACK";
|
||||||
//saytext = "Fall back!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "4":
|
case "4":
|
||||||
soundalias = "mp_cmd_suppressfire";
|
soundalias = "mp_cmd_suppressfire";
|
||||||
saytext = &"QUICKMESSAGE_SUPPRESSING_FIRE";
|
saytext = &"QUICKMESSAGE_SUPPRESSING_FIRE";
|
||||||
//saytext = "Suppressing fire!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "5":
|
case "5":
|
||||||
soundalias = "mp_cmd_attackleftflank";
|
soundalias = "mp_cmd_attackleftflank";
|
||||||
saytext = &"QUICKMESSAGE_ATTACK_LEFT_FLANK";
|
saytext = &"QUICKMESSAGE_ATTACK_LEFT_FLANK";
|
||||||
//saytext = "Attack left flank!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "6":
|
case "6":
|
||||||
soundalias = "mp_cmd_attackrightflank";
|
soundalias = "mp_cmd_attackrightflank";
|
||||||
saytext = &"QUICKMESSAGE_ATTACK_RIGHT_FLANK";
|
saytext = &"QUICKMESSAGE_ATTACK_RIGHT_FLANK";
|
||||||
//saytext = "Attack right flank!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "7":
|
case "7":
|
||||||
soundalias = "mp_cmd_holdposition";
|
soundalias = "mp_cmd_holdposition";
|
||||||
saytext = &"QUICKMESSAGE_HOLD_THIS_POSITION";
|
saytext = &"QUICKMESSAGE_HOLD_THIS_POSITION";
|
||||||
//saytext = "Hold this position!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert(response == "8");
|
assert(response == "8");
|
||||||
soundalias = "mp_cmd_regroup";
|
soundalias = "mp_cmd_regroup";
|
||||||
saytext = &"QUICKMESSAGE_REGROUP";
|
saytext = &"QUICKMESSAGE_REGROUP";
|
||||||
//saytext = "Regroup!";
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,44 +109,37 @@ quickstatements(response)
|
||||||
case "1":
|
case "1":
|
||||||
soundalias = "mp_stm_grenade";
|
soundalias = "mp_stm_grenade";
|
||||||
saytext = &"QUICKMESSAGE_ENEMY_SPOTTED";
|
saytext = &"QUICKMESSAGE_ENEMY_SPOTTED";
|
||||||
//saytext = "Enemy spotted!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "2":
|
case "2":
|
||||||
soundalias = "mp_stm_enemyspotted";
|
soundalias = "mp_stm_enemyspotted";
|
||||||
saytext = &"QUICKMESSAGE_ENEMIES_SPOTTED";
|
saytext = &"QUICKMESSAGE_ENEMIES_SPOTTED";
|
||||||
//saytext = "Enemy down!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "3":
|
case "3":
|
||||||
soundalias = "mp_stm_iminposition";
|
soundalias = "mp_stm_iminposition";
|
||||||
saytext = &"QUICKMESSAGE_IM_IN_POSITION";
|
saytext = &"QUICKMESSAGE_IM_IN_POSITION";
|
||||||
//saytext = "I'm in position.";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "4":
|
case "4":
|
||||||
soundalias = "mp_stm_areasecure";
|
soundalias = "mp_stm_areasecure";
|
||||||
saytext = &"QUICKMESSAGE_AREA_SECURE";
|
saytext = &"QUICKMESSAGE_AREA_SECURE";
|
||||||
//saytext = "Area secure!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "5":
|
case "5":
|
||||||
soundalias = "mp_stm_holdyourfire";
|
soundalias = "mp_stm_holdyourfire";
|
||||||
saytext = &"QUICKMESSAGE_WATCH_SIX";
|
saytext = &"QUICKMESSAGE_WATCH_SIX";
|
||||||
//saytext = "Hold your fire!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "6":
|
case "6":
|
||||||
soundalias = "mp_stm_sniper";
|
soundalias = "mp_stm_sniper";
|
||||||
saytext = &"QUICKMESSAGE_SNIPER";
|
saytext = &"QUICKMESSAGE_SNIPER";
|
||||||
//saytext = "Sniper!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert(response == "7");
|
assert(response == "7");
|
||||||
soundalias = "mp_stm_needreinforcements";
|
soundalias = "mp_stm_needreinforcements";
|
||||||
saytext = &"QUICKMESSAGE_NEED_REINFORCEMENTS";
|
saytext = &"QUICKMESSAGE_NEED_REINFORCEMENTS";
|
||||||
//saytext = "Need reinforcements!";
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,38 +163,32 @@ quickresponses(response)
|
||||||
case "1":
|
case "1":
|
||||||
soundalias = "mp_rsp_yessir";
|
soundalias = "mp_rsp_yessir";
|
||||||
saytext = &"QUICKMESSAGE_YES_SIR";
|
saytext = &"QUICKMESSAGE_YES_SIR";
|
||||||
//saytext = "Yes Sir!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "2":
|
case "2":
|
||||||
soundalias = "mp_rsp_nosir";
|
soundalias = "mp_rsp_nosir";
|
||||||
saytext = &"QUICKMESSAGE_NO_SIR";
|
saytext = &"QUICKMESSAGE_NO_SIR";
|
||||||
//saytext = "No Sir!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "3":
|
case "3":
|
||||||
soundalias = "mp_rsp_onmyway";
|
soundalias = "mp_rsp_onmyway";
|
||||||
saytext = &"QUICKMESSAGE_IM_ON_MY_WAY";
|
saytext = &"QUICKMESSAGE_IM_ON_MY_WAY";
|
||||||
//saytext = "On my way.";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "4":
|
case "4":
|
||||||
soundalias = "mp_rsp_sorry";
|
soundalias = "mp_rsp_sorry";
|
||||||
saytext = &"QUICKMESSAGE_SORRY";
|
saytext = &"QUICKMESSAGE_SORRY";
|
||||||
//saytext = "Sorry.";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "5":
|
case "5":
|
||||||
soundalias = "mp_rsp_greatshot";
|
soundalias = "mp_rsp_greatshot";
|
||||||
saytext = &"QUICKMESSAGE_GREAT_SHOT";
|
saytext = &"QUICKMESSAGE_GREAT_SHOT";
|
||||||
//saytext = "Great shot!";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert(response == "6");
|
assert(response == "6");
|
||||||
soundalias = "mp_rsp_areyoucrazy";
|
soundalias = "mp_rsp_areyoucrazy";
|
||||||
saytext = &"QUICKMESSAGE_COME_ON";
|
saytext = &"QUICKMESSAGE_COME_ON";
|
||||||
//saytext = "Come on!";
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue