From c6b41099618f4ce15081df263a545015dd9c3555 Mon Sep 17 00:00:00 2001 From: FutureRave Date: Tue, 16 May 2023 12:12:59 +0100 Subject: [PATCH] maint: quick cleanup --- iw4x/iw4x_00/maps/mp/gametypes/_gamelogic.gsc | 2 -- .../maps/mp/gametypes/_quickmessages.gsc | 21 ------------------- 2 files changed, 23 deletions(-) diff --git a/iw4x/iw4x_00/maps/mp/gametypes/_gamelogic.gsc b/iw4x/iw4x_00/maps/mp/gametypes/_gamelogic.gsc index 66cc61c..c9993c2 100644 --- a/iw4x/iw4x_00/maps/mp/gametypes/_gamelogic.gsc +++ b/iw4x/iw4x_00/maps/mp/gametypes/_gamelogic.gsc @@ -1295,7 +1295,6 @@ Callback_StartGameType() precacheShader( "white" ); precacheShader( "black" ); - //precacheMenu("popup_summary"); game["strings"]["press_to_spawn"] = &"PLATFORM_PRESS_TO_SPAWN"; if ( level.teamBased ) @@ -1473,7 +1472,6 @@ Callback_StartGameType() thread maps\mp\_skill::init(); thread maps\mp\_areas::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\_events::init(); thread maps\mp\_defcon::init(); diff --git a/iw4x/iw4x_00/maps/mp/gametypes/_quickmessages.gsc b/iw4x/iw4x_00/maps/mp/gametypes/_quickmessages.gsc index c4fa118..1ea215c 100644 --- a/iw4x/iw4x_00/maps/mp/gametypes/_quickmessages.gsc +++ b/iw4x/iw4x_00/maps/mp/gametypes/_quickmessages.gsc @@ -50,50 +50,42 @@ quickcommands(response) case "1": soundalias = "mp_cmd_followme"; saytext = &"QUICKMESSAGE_FOLLOW_ME"; - //saytext = "Follow Me!"; break; case "2": soundalias = "mp_cmd_movein"; saytext = &"QUICKMESSAGE_MOVE_IN"; - //saytext = "Move in!"; break; case "3": soundalias = "mp_cmd_fallback"; saytext = &"QUICKMESSAGE_FALL_BACK"; - //saytext = "Fall back!"; break; case "4": soundalias = "mp_cmd_suppressfire"; saytext = &"QUICKMESSAGE_SUPPRESSING_FIRE"; - //saytext = "Suppressing fire!"; break; case "5": soundalias = "mp_cmd_attackleftflank"; saytext = &"QUICKMESSAGE_ATTACK_LEFT_FLANK"; - //saytext = "Attack left flank!"; break; case "6": soundalias = "mp_cmd_attackrightflank"; saytext = &"QUICKMESSAGE_ATTACK_RIGHT_FLANK"; - //saytext = "Attack right flank!"; break; case "7": soundalias = "mp_cmd_holdposition"; saytext = &"QUICKMESSAGE_HOLD_THIS_POSITION"; - //saytext = "Hold this position!"; break; default: assert(response == "8"); soundalias = "mp_cmd_regroup"; saytext = &"QUICKMESSAGE_REGROUP"; - //saytext = "Regroup!"; break; } @@ -117,44 +109,37 @@ quickstatements(response) case "1": soundalias = "mp_stm_grenade"; saytext = &"QUICKMESSAGE_ENEMY_SPOTTED"; - //saytext = "Enemy spotted!"; break; case "2": soundalias = "mp_stm_enemyspotted"; saytext = &"QUICKMESSAGE_ENEMIES_SPOTTED"; - //saytext = "Enemy down!"; break; case "3": soundalias = "mp_stm_iminposition"; saytext = &"QUICKMESSAGE_IM_IN_POSITION"; - //saytext = "I'm in position."; break; case "4": soundalias = "mp_stm_areasecure"; saytext = &"QUICKMESSAGE_AREA_SECURE"; - //saytext = "Area secure!"; break; case "5": soundalias = "mp_stm_holdyourfire"; saytext = &"QUICKMESSAGE_WATCH_SIX"; - //saytext = "Hold your fire!"; break; case "6": soundalias = "mp_stm_sniper"; saytext = &"QUICKMESSAGE_SNIPER"; - //saytext = "Sniper!"; break; default: assert(response == "7"); soundalias = "mp_stm_needreinforcements"; saytext = &"QUICKMESSAGE_NEED_REINFORCEMENTS"; - //saytext = "Need reinforcements!"; break; } @@ -178,38 +163,32 @@ quickresponses(response) case "1": soundalias = "mp_rsp_yessir"; saytext = &"QUICKMESSAGE_YES_SIR"; - //saytext = "Yes Sir!"; break; case "2": soundalias = "mp_rsp_nosir"; saytext = &"QUICKMESSAGE_NO_SIR"; - //saytext = "No Sir!"; break; case "3": soundalias = "mp_rsp_onmyway"; saytext = &"QUICKMESSAGE_IM_ON_MY_WAY"; - //saytext = "On my way."; break; case "4": soundalias = "mp_rsp_sorry"; saytext = &"QUICKMESSAGE_SORRY"; - //saytext = "Sorry."; break; case "5": soundalias = "mp_rsp_greatshot"; saytext = &"QUICKMESSAGE_GREAT_SHOT"; - //saytext = "Great shot!"; break; default: assert(response == "6"); soundalias = "mp_rsp_areyoucrazy"; saytext = &"QUICKMESSAGE_COME_ON"; - //saytext = "Come on!"; break; }