Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

46.8 KB
Raw Blame
; Corrections to EA's command buttons and command sets. ControlBar::init loads this after
; CommandSet.ini with INI_LOAD_MULTIFILE: a button block edits EA's button in place and names
; only what changes, and a set block replaces the set whole. GameEngine::init adds its bytes to
; the multiplayer INI CRC, as it does for CommandSet.ini.

; ==== Buttons =====================================================================================

; The Nuke MiG upgrade is the one China tank and silo upgrade that cannot be started on low power;
; Neutron Shells, sold from the same silo, carries IGNORES_UNDERPOWERED.

CommandButton Command_UpgradeChinaTacticalNukeMig
  Options = IGNORES_UNDERPOWERED
End

; Force Attack: the bar button that arms the same targeting Ctrl has always given. Combat sets
; already leave slot 12 empty under Attack Move; ControlBar::populateCommand fills that hole from
; this button, and so does the launcher's Hotkeys page. Slot 12 already used (China CC mines) stays.

CommandButton Command_ForceAttack
  Command          = FORCE_ATTACK
  Options          = OK_FOR_MULTI_SELECT
  TextLabel        = CONTROLBAR:ForceAttack
  ButtonImage      = SNForceAttack
  ButtonBorderType = SYSTEM
  DescriptLabel    = CONTROLBAR:ToolTipForceAttack
End

; The idle buttons beside the command grid, under EA's idle worker: their tooltips. A click is
; ControlBarSystem's, the same cycle the Next Idle Infantry, Vehicle and Aircraft keys run.

CommandButton NonCommand_IdleInfantry
  TextLabel     = CONTROLBAR:IdleInfantry
  DescriptLabel = CONTROLBAR:IdleInfantryDescription
End

CommandButton NonCommand_IdleVehicle
  TextLabel     = CONTROLBAR:IdleVehicle
  DescriptLabel = CONTROLBAR:IdleVehicleDescription
End

CommandButton NonCommand_IdleAircraft
  TextLabel     = CONTROLBAR:IdleAircraft
  DescriptLabel = CONTROLBAR:IdleAircraftDescription
End

; Vehicle transports unload where the player points. No set names this button: EA's own Evacuate
; buttons stay on every bar, and ControlBar::processCommandUI arms this one in their place when the
; selection holds a vehicle transport and Alt is up. The click sends MSG_EVACUATE with the spot, and
; AIGroup::groupEvacuate drives or flies the transport there, lands it if it flies and empties it.
; Alt with the button or its key empties it where it stands, and buildings always do.

CommandButton Command_EvacuateAt
  Command           = EVACUATE
  Options           = OK_FOR_MULTI_SELECT NEED_TARGET_POS
  DescriptLabel     = CONTROLBAR:ToolTipEvacuateAt
  CursorName        = Move
  InvalidCursorName = GenericInvalid
End

; ==== China Command Centers after Mines ===========================================================

; Buying Mines swaps the Command Center to its Upgrade set, and the Infantry and Nuke copies of that
; set were written from other sets: the Infantry one lost Frenzy and put the plain Carpet Bomb and
; Napalm Strike in place of the general's own, which it cannot use, and the Nuke one lost Frenzy.
; Each is now its general's normal set with EMP Mines in slot 12.

CommandSet Infa_ChinaCommandCenterCommandSetUpgrade
  1  = Infa_Command_ConstructChinaDozer
  2  = Early_Command_ChinaCarpetBomb
  3  = Infa_Command_Paradrop
  4  = Command_ClusterMines
  6  = Command_ArtilleryBarrage
  7  = Command_EmergencyRepair
  8  = Command_EMPPulse
  9  = Command_UpgradeChinaRadar
  10 = Early_Command_Frenzy
  12 = Command_UpgradeEMPMines
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

CommandSet Nuke_ChinaCommandCenterCommandSetUpgrade
  1  = Nuke_Command_ConstructChinaDozer
  2  = Nuke_Command_ChinaCarpetBomb
  3  = Command_NapalmStrike
  4  = Command_ClusterMines
  5  = Command_CashHack
  6  = Command_ArtilleryBarrage
  7  = Early_Command_EmergencyRepair
  8  = Command_EMPPulse
  9  = Command_UpgradeChinaRadar
  10 = Command_Frenzy
  12 = Command_UpgradeEMPMines
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

; The Infantry barracks after Mines swaps the general's own capture-building upgrade for the plain
; one.

CommandSet Infa_ChinaBarracksCommandSetUpgrade
  1  = Infa_Command_ConstructChinaInfantryMiniGunner
  2  = Infa_Command_ConstructChinaInfantryTankHunter
  3  = Infa_Command_ConstructChinaInfantryHacker
  4  = Infa_Command_ConstructChinaInfantryBlackLotus
  7  = Infa_Command_UpgradeChinaRedguardCaptureBuilding
  12 = Command_UpgradeEMPMines
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

; ==== Missing orders ==============================================================================

; The ECM Tank has no Attack Move and the Troop Crawlers no Guard, where every other China combat
; vehicle has both.

CommandSet ChinaVehicleECMTankCommandSet
  1  = Command_ChinaTankECMDisableVehicle
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

CommandSet Tank_ChinaVehicleECMTankCommandSet
  1  = Command_ChinaTankECMDisableVehicle
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

CommandSet ChinaTroopCrawlerCommandSet
  1  = Command_TransportExit
  2  = Command_TransportExit
  3  = Command_TransportExit
  4  = Command_TransportExit
  5  = Command_TransportExit
  6  = Command_TransportExit
  7  = Command_TransportExit
  8  = Command_TransportExit
  9  = Command_EmptyCrawler
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

CommandSet Infa_ChinaTroopCrawlerCommandSet
  1  = Command_TransportExit
  2  = Command_TransportExit
  3  = Command_TransportExit
  4  = Command_TransportExit
  5  = Command_TransportExit
  6  = Command_TransportExit
  7  = Command_TransportExit
  8  = Command_TransportExit
  9  = Command_EmptyCrawler
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

; ==== Powers and abilities ========================================================================

; The American generals bought the Pathfinder and the Stealth Fighter through the plain USA
; buttons, and a purchase tooltip reads its "Requires" line from the button's unit: the plain
; Barracks or Airfield, which these generals never build. Their own buttons name their own units.

CommandButton AirF_Command_PurchaseSciencePathfinder
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_Pathfinder
  Object           = AirF_AmericaInfantryPathfinder
  ButtonImage      = SAPathfinder1
  ButtonBorderType = UPGRADE
End

CommandButton Lazr_Command_PurchaseSciencePathfinder
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_Pathfinder
  Object           = Lazr_AmericaInfantryPathfinder
  ButtonImage      = SAPathfinder1
  ButtonBorderType = UPGRADE
End

CommandButton SupW_Command_PurchaseSciencePathfinder
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_Pathfinder
  Object           = SupW_AmericaInfantryPathfinder
  ButtonImage      = SAPathfinder1
  ButtonBorderType = UPGRADE
End

CommandButton Lazr_Command_PurchaseScienceStealthFighter
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_StealthFighter
  Object           = Lazr_AmericaJetStealthFighter
  ButtonImage      = SAStealth
  ButtonBorderType = UPGRADE
End

CommandButton SupW_Command_PurchaseScienceStealthFighter
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_StealthFighter
  Object           = SupW_AmericaJetStealthFighter
  ButtonImage      = SAStealth
  ButtonBorderType = UPGRADE
End

CommandSet AirF_SCIENCE_AMERICA_CommandSetRank3
  1  = AirF_Command_PurchaseSciencePathfinder
  4  = Command_PurchaseScienceParadrop1
  5  = Command_PurchaseScienceParadrop2
  6  = Command_PurchaseScienceParadrop3
  8  = Command_PurchaseScienceSpectreGunship1
  9  = Command_PurchaseScienceSpectreGunship2
  10 = Early_Command_PurchaseScienceEmergencyRepair2
  11 = Early_Command_PurchaseScienceEmergencyRepair3
  13 = AirF_Command_PurchaseScienceA10ThunderboltMissileStrike1
  14 = AirF_Command_PurchaseScienceA10ThunderboltMissileStrike2
  15 = AirF_Command_PurchaseScienceA10ThunderboltMissileStrike3
End

CommandSet Lazr_SCIENCE_AMERICA_CommandSetRank1
  1  = Command_PurchaseScienceSpyDrone
  2  = Lazr_Command_PurchaseScienceStealthFighter
End

CommandSet Lazr_SCIENCE_AMERICA_CommandSetRank3
  1  = Lazr_Command_PurchaseSciencePathfinder
  4  = Command_PurchaseScienceParadrop1
  5  = Command_PurchaseScienceParadrop2
  6  = Command_PurchaseScienceParadrop3
  7  = Command_PurchaseScienceA10ThunderboltMissileStrike1
  8  = Command_PurchaseScienceA10ThunderboltMissileStrike2
  9  = Command_PurchaseScienceA10ThunderboltMissileStrike3
  10 = Command_PurchaseScienceEmergencyRepair1
  11 = Command_PurchaseScienceEmergencyRepair2
  12 = Command_PurchaseScienceEmergencyRepair3
End

CommandSet SupW_SCIENCE_AMERICA_CommandSetRank1
  1  = Command_PurchaseScienceSpyDrone
  2  = SupW_Command_PurchaseScienceStealthFighter
End

CommandSet SupW_SCIENCE_AMERICA_CommandSetRank3
  1  = SupW_Command_PurchaseSciencePathfinder
  3  = Early_Command_PurchaseScienceLeafletDrop
  4  = Command_PurchaseScienceParadrop1
  5  = Command_PurchaseScienceParadrop2
  6  = Command_PurchaseScienceParadrop3
  7  = Command_PurchaseScienceA10ThunderboltMissileStrike1
  8  = Command_PurchaseScienceA10ThunderboltMissileStrike2
  9  = Command_PurchaseScienceA10ThunderboltMissileStrike3
  10 = Command_PurchaseScienceEmergencyRepair1
  11 = Command_PurchaseScienceEmergencyRepair2
  12 = Command_PurchaseScienceEmergencyRepair3
  14 = Command_PurchaseScienceSpectreGunship1
  15 = Command_PurchaseScienceSpectreGunship2
End

; Wrong countdowns. The Air Force Spectre Gunship recharges in 3:00 and its buttons said 4:00; the
; Superweapon General fires the same one. The Air Force Carpet Bomb recharges in 4:00 and its
; buttons showed China's text, 2:30. The Stealth GPS Scrambler recharges in 3:00 and said 4:00.

CommandButton AirF_Command_SpectreGunship
  DescriptLabel = CONTROLBAR:AirF_TooltipSpectreGunship
End

CommandButton AirF_Command_SpectreGunshipFromShortcut
  DescriptLabel = CONTROLBAR:AirF_TooltipSpectreGunship
End

CommandButton AirF_Command_CarpetBomb
  DescriptLabel = CONTROLBAR:AirF_TooltipCarpetBomb
End

CommandButton AirF_Command_CarpetBombFromShortcut
  DescriptLabel = CONTROLBAR:AirF_TooltipCarpetBomb
End

CommandButton Slth_Command_GPSScrambler
  DescriptLabel = CONTROLBAR:Slth_TooltipFireGPSScrambler
End

CommandButton Slth_Command_GPSScramblerFromShortcut
  DescriptLabel = CONTROLBAR:Slth_TooltipFireGPSScrambler
End

; Arming the Hacker's building hack said nothing, where every other targeted China ability has a
; voice line. HackerVoiceModeHack is recorded and was never named. The Super Hacker shares it.

CommandButton Command_ChinaInfantryHackerDisableBuilding
  UnitSpecificSound = HackerVoiceModeHack
End

; The Toxin General's ambush: his own sciences, with the toxin rebels in their description, and
; his own power (FixesReforged.ini gives his Command Center the module).

CommandButton Chem_Command_PurchaseScienceRebelAmbush1
  Science = Chem_SCIENCE_RebelAmbush1
End

CommandButton Chem_Command_PurchaseScienceRebelAmbush2
  Science = Chem_SCIENCE_RebelAmbush2
End

CommandButton Chem_Command_PurchaseScienceRebelAmbush3
  Science = Chem_SCIENCE_RebelAmbush3
End

CommandButton Chem_Command_Ambush
  SpecialPower = Chem_SuperweaponRebelAmbush
  Science      = Chem_SCIENCE_RebelAmbush1 Chem_SCIENCE_RebelAmbush2 Chem_SCIENCE_RebelAmbush3
End

CommandButton Chem_Command_AmbushFromShortcut
  SpecialPower = Chem_SuperweaponRebelAmbush
  Science      = Chem_SCIENCE_RebelAmbush1 Chem_SCIENCE_RebelAmbush2 Chem_SCIENCE_RebelAmbush3
End

; The Demolitions General's ambush brings 4, 6 and 10 rebels and was bought through the plain GLA
; science, which promises 4, 8 and 16. He gets his own sciences (ScienceReforged.ini), power
; (SpecialPowerReforged.ini) and buttons; his Command Center, shortcut bar and promotion sets are
; EA's with those buttons in place of the plain ones.

CommandButton Demo_Command_PurchaseScienceRebelAmbush1
  Command          = PURCHASE_SCIENCE
  Science          = Demo_SCIENCE_RebelAmbush1
  ButtonImage      = SSGLAAmbush
  ButtonBorderType = UPGRADE
End

CommandButton Demo_Command_PurchaseScienceRebelAmbush2
  Command          = PURCHASE_SCIENCE
  Science          = Demo_SCIENCE_RebelAmbush2
  ButtonImage      = SSGLAAmbush2
  ButtonBorderType = UPGRADE
End

CommandButton Demo_Command_PurchaseScienceRebelAmbush3
  Command          = PURCHASE_SCIENCE
  Science          = Demo_SCIENCE_RebelAmbush3
  ButtonImage      = SSGLAAmbush3
  ButtonBorderType = UPGRADE
End

CommandButton Demo_Command_Ambush
  Command           = SPECIAL_POWER
  SpecialPower      = Demo_SuperweaponRebelAmbush
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  Science           = Demo_SCIENCE_RebelAmbush1 Demo_SCIENCE_RebelAmbush2 Demo_SCIENCE_RebelAmbush3
  TextLabel         = CONTROLBAR:Ambush
  ButtonImage       = SSGLAAmbush
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipFireRebelAmbush
  RadiusCursorType  = AMBUSH
  InvalidCursorName = GenericInvalid
End

CommandButton Demo_Command_AmbushFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = Demo_SuperweaponRebelAmbush
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  Science           = Demo_SCIENCE_RebelAmbush1 Demo_SCIENCE_RebelAmbush2 Demo_SCIENCE_RebelAmbush3
  TextLabel         = GUI:SuperweaponRebelAmbush
  ButtonImage       = SSGLAAmbush
  DescriptLabel     = CONTROLBAR:TooltipFireRebelAmbush
  RadiusCursorType  = AMBUSH
  InvalidCursorName = GenericInvalid
End

CommandSet Demo_SCIENCE_GLA_CommandSetRank3
  4  = Demo_Command_PurchaseScienceRebelAmbush1
  5  = Demo_Command_PurchaseScienceRebelAmbush2
  6  = Demo_Command_PurchaseScienceRebelAmbush3
  7  = Command_PurchaseScienceCashBounty1
  8  = Command_PurchaseScienceCashBounty2
  9  = Command_PurchaseScienceCashBounty3
  10 = Command_PurchaseScienceEmergencyRepair1
  11 = Command_PurchaseScienceEmergencyRepair2
  12 = Command_PurchaseScienceEmergencyRepair3
End

CommandSet Demo_SpecialPowerShortcutGLA
  1  = Demo_Command_AmbushFromShortcut
  2  = Command_EmergencyRepairFromShortcut
  3  = Command_AnthraxBombFromShortcut
  4  = Command_ScudStormFromShortcut
  5  = Command_RadarVanScanFromShortcut
  6  = Command_SneakAttackFromShortcut
  7  = Command_GPSScramblerFromShortcut
End

CommandSet Demo_GLACommandCenterCommandSet
  1  = Demo_Command_ConstructGLAWorker
  4  = Command_GPSScrambler
  5  = Demo_Command_Ambush
  6  = Command_EmergencyRepair
  7  = Command_AnthraxBomb
  8  = Command_SneakAttack
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

CommandSet Demo_GLACommandCenterCommandSetUpgrade
  1  = Demo_Command_ConstructGLAWorker
  3  = Demo_Command_TertiarySuicide
  4  = Command_GPSScrambler
  5  = Demo_Command_Ambush
  6  = Command_EmergencyRepair
  7  = Command_AnthraxBomb
  8  = Command_SneakAttack
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

; ==== Turkiye ======================================================================================

; The Turkiye faction's buttons and sets (TurkiyeReforged.ini). Each button borrows the cameo of the
; unit its object is a reskin of and has its own label and tooltip in Patch.str. A building keeps
; the American tooltip. Every Turkiye unit has a set of its own holding only buttons that work for
; it: the American sets offered drones, TOW missiles, rocket pods and flash-bangs Turkiye cannot
; buy. The powers are Turkiye's own; what they drop (planes, paratroopers) is
; American data that ThingFactory::newObject turns into the Turkiye reskin for a Turkiye player.

CommandButton Command_ConstructTurkiyeCommandCenter
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeCommandCenter
  TextLabel        = CONTROLBAR:ConstructTurkiyeCommandCenter
  ButtonImage      = SAComCentr
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipUSABuildCommandCenter
End

CommandButton Command_ConstructTurkiyePowerPlant
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyePowerPlant
  TextLabel        = CONTROLBAR:ConstructTurkiyePowerPlant
  ButtonImage      = SAPowerPlant
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipUSABuildPowerPlant
End

CommandButton Command_ConstructTurkiyeSupplyCenter
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeSupplyCenter
  TextLabel        = CONTROLBAR:ConstructTurkiyeSupplyCenter
  ButtonImage      = SASupplyCntr
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipUSABuildSupplyCenter
End

CommandButton Command_ConstructTurkiyeBarracks
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeBarracks
  TextLabel        = CONTROLBAR:ConstructTurkiyeBarracks
  ButtonImage      = SABarracks
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipUSABuildBarracks
End

CommandButton Command_ConstructTurkiyeWarFactory
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeWarFactory
  TextLabel        = CONTROLBAR:ConstructTurkiyeWarFactory
  ButtonImage      = SACWeaponsfact
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipUSABuildWarFactory
End

CommandButton Command_ConstructTurkiyeAirfield
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeAirfield
  TextLabel        = CONTROLBAR:ConstructTurkiyeAirfield
  ButtonImage      = SAACommand
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipUSABuildAirField
End

CommandButton Command_ConstructTurkiyePatriotBattery
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyePatriotBattery
  TextLabel        = CONTROLBAR:ConstructTurkiyePatriotBattery
  ButtonImage      = SAPatriot
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipUSABuildPatriotBattery
End

CommandButton Command_ConstructTurkiyeInfantryMehmetcik
  Command          = UNIT_BUILD
  Object           = TurkiyeInfantryMehmetcik
  TextLabel        = CONTROLBAR:ConstructTurkiyeInfantryMehmetcik
  ButtonImage      = SARanger
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeInfantryMehmetcik
End

CommandButton Command_ConstructTurkiyeInfantryEngineer
  Command          = UNIT_BUILD
  Object           = TurkiyeInfantryEngineer
  TextLabel        = CONTROLBAR:ConstructTurkiyeInfantryEngineer
  ButtonImage      = SUWorker
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeInfantryEngineer
End

CommandButton Command_ConstructTurkiyeInfantrySungur
  Command          = UNIT_BUILD
  Object           = TurkiyeInfantrySungur
  TextLabel        = CONTROLBAR:ConstructTurkiyeInfantrySungur
  ButtonImage      = SAMissleDefender
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeInfantrySungur
End

CommandButton Command_ConstructTurkiyeInfantrySpotter
  Command          = UNIT_BUILD
  Object           = TurkiyeInfantrySpotter
  TextLabel        = CONTROLBAR:ConstructTurkiyeInfantrySpotter
  ButtonImage      = SAPathfinder1
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeInfantrySpotter
End

CommandButton Command_ConstructTurkiyeInfantryMaroonBeret
  Command          = UNIT_BUILD
  Object           = TurkiyeInfantryMaroonBeret
  TextLabel        = CONTROLBAR:ConstructTurkiyeInfantryMaroonBeret
  ButtonImage      = SABurton
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeInfantryMaroonBeret
End

CommandButton Command_ConstructTurkiyeVehicleSupplyTruck
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleSupplyTruck
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleSupplyTruck
  ButtonImage      = SNSupplyTruck
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleSupplyTruck
End

CommandButton Command_ConstructTurkiyeVehicleCobra
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleCobra
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleCobra
  ButtonImage      = SAHummer
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleCobra
End

CommandButton Command_ConstructTurkiyeVehicleKirpi
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleKirpi
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleKirpi
  ButtonImage      = SAAmbulance
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleKirpi
End

CommandButton Command_ConstructTurkiyeTankAltay
  Command          = UNIT_BUILD
  Object           = TurkiyeTankAltay
  TextLabel        = CONTROLBAR:ConstructTurkiyeTankAltay
  ButtonImage      = SACLeopard
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeTankAltay
End

CommandButton Command_ConstructTurkiyeVehicleKorkut
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleKorkut
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleKorkut
  ButtonImage      = SAAvnger
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleKorkut
End

CommandButton Command_ConstructTurkiyeVehicleFirtina
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleFirtina
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleFirtina
  ButtonImage      = SACTomahawk
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleFirtina
End

CommandButton Command_ConstructTurkiyeVehicleSakarya
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleSakarya
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleSakarya
  ButtonImage      = SAPaladin
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleSakarya
End

CommandButton Command_ConstructTurkiyeTankKoral
  Command          = UNIT_BUILD
  Object           = TurkiyeTankKoral
  TextLabel        = CONTROLBAR:ConstructTurkiyeTankKoral
  ButtonImage      = SAThunderBolt
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeTankKoral
End

CommandButton Command_ConstructTurkiyeVehicleBayraktar
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleBayraktar
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleBayraktar
  ButtonImage      = SACCommanche
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleBayraktar
End

CommandButton Command_ConstructTurkiyeVehicleGokbey
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleGokbey
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleGokbey
  ButtonImage      = SAChinook
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleGokbey
End

CommandButton Command_ConstructTurkiyeJetAkinci
  Command          = UNIT_BUILD
  Object           = TurkiyeJetAkinci
  TextLabel        = CONTROLBAR:ConstructTurkiyeJetAkinci
  ButtonImage      = SAAurora
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeJetAkinci
End

CommandButton Command_ConstructTurkiyeJetKizilelma
  Command          = UNIT_BUILD
  Object           = TurkiyeJetKizilelma
  TextLabel        = CONTROLBAR:ConstructTurkiyeJetKizilelma
  ButtonImage      = SACRaptor
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeJetKizilelma
End

CommandButton Command_ConstructTurkiyeRadarTower
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeRadarTower
  TextLabel        = CONTROLBAR:ConstructTurkiyeRadarTower
  ButtonImage      = SNPropSpeaker
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeRadarTower
End

CommandButton Command_ConstructTurkiyeSiper
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeSiper
  TextLabel        = CONTROLBAR:ConstructTurkiyeSiper
  ButtonImage      = SNBunker
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeSiper
End

CommandButton Command_ConstructTurkiyeLandMine
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeLandMine
  TextLabel        = CONTROLBAR:ConstructTurkiyeLandMine
  ButtonImage      = SSHideBomb
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeLandMine
End

CommandButton Command_UpgradeTurkiyeExtendedRange
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeExtendedRange
  TextLabel        = CONTROLBAR:UpgradeTurkiyeExtendedRange
  ButtonImage      = SSAPRockets
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeExtendedRange
End

CommandButton Command_UpgradeTurkiyePrecisionGuidance
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyePrecisionGuidance
  TextLabel        = CONTROLBAR:UpgradeTurkiyePrecisionGuidance
  ButtonImage      = SSPlaneLaserMissiles
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyePrecisionGuidance
End

CommandButton Command_UpgradeTurkiyeArmorPack
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeArmorPack
  TextLabel        = CONTROLBAR:UpgradeTurkiyeArmorPack
  ButtonImage      = SSCompositeArmor
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeArmorPack
End

CommandButton Command_UpgradeTurkiyeMineKit
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeMineKit
  TextLabel        = CONTROLBAR:UpgradeTurkiyeMineKit
  ButtonImage      = SUShoes
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeMineKit
End

; ---- the rank tree (ScienceReforged.ini): the purchase buttons, one per science, tier images where
; EA has them

CommandButton Command_PurchaseScienceTurkiyeLaserDesignation
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeLaserDesignation
  ButtonImage      = SAPathfinder1
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeEarlyWarning
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeEarlyWarning
  ButtonImage      = SARadarUpgrade
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeUavRecon
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeUavRecon
  ButtonImage      = SAScout
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeMobileRadar
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeMobileRadar
  ButtonImage      = SURadarVan
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeAkinciAesa
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeAkinciAesa
  ButtonImage      = SAHypAurora
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeSwarmMunition2
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeSwarmMunition2
  ButtonImage      = SSA10Attack2
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeSwarmMunition3
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeSwarmMunition3
  ButtonImage      = SAWarthog
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeRapidDeployment2
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeRapidDeployment2
  ButtonImage      = SNParadrop
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeRapidDeployment3
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeRapidDeployment3
  ButtonImage      = SNParadrop
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeSatelliteGuidance
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeSatelliteGuidance
  ButtonImage      = SSSpySat
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeTayfun
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeTayfun
  ButtonImage      = SNNukeLaunch
  ButtonBorderType = UPGRADE
End

; ---- the new powers' buttons (SpecialPowerReforged.ini)

CommandButton Command_TurkiyeUavRecon
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTurkiyeUavRecon
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeUavRecon
  ButtonImage       = SAScout
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeUavRecon
  RadiusCursorType  = SPYSATELLITE
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeUavReconFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponTurkiyeUavRecon
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeUavRecon
  ButtonImage       = SAScout
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeUavRecon
  RadiusCursorType  = SPYSATELLITE
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeSatelliteGuidance
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTurkiyeSatelliteGuidance
  Options           = NEED_SPECIAL_POWER_SCIENCE
  TextLabel         = CONTROLBAR:TurkiyeSatelliteGuidance
  ButtonImage       = SSSpySat
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeSatelliteGuidance
End

CommandButton Command_TurkiyeSatelliteGuidanceFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponTurkiyeSatelliteGuidance
  Options           = NEED_SPECIAL_POWER_SCIENCE
  TextLabel         = CONTROLBAR:TurkiyeSatelliteGuidance
  ButtonImage       = SSSpySat
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeSatelliteGuidance
End

CommandButton Command_TurkiyeTayfun
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTurkiyeTayfun
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeTayfun
  ButtonImage       = SNNukeLaunch
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeTayfun
  RadiusCursorType  = NUCLEARMISSILE
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeTayfunFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponTurkiyeTayfun
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeTayfun
  ButtonImage       = SNNukeLaunch
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeTayfun
  RadiusCursorType  = NUCLEARMISSILE
  InvalidCursorName = GenericInvalid
End

; ---- the upgrades and the unit the tree adds

CommandButton Command_UpgradeTurkiyeTargetClassification
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeTargetClassification
  TextLabel        = CONTROLBAR:UpgradeTurkiyeTargetClassification
  ButtonImage      = SSCIA
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeTargetClassification
End

CommandButton Command_UpgradeTurkiyeAkkor
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeAkkor
  TextLabel        = CONTROLBAR:UpgradeTurkiyeAkkor
  ButtonImage      = SAFlares
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeAkkor
End

CommandButton Command_UpgradeTurkiyeGokdogan
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeGokdogan
  TextLabel        = CONTROLBAR:UpgradeTurkiyeGokdogan
  ButtonImage      = SSPlaneLaserMissiles
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeGokdogan
End

CommandButton Command_UpgradeTurkiyeSiperReinforced
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeSiperReinforced
  TextLabel        = CONTROLBAR:UpgradeTurkiyeSiperReinforced
  ButtonImage      = SUEliteGrd
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeSiperReinforced
End

CommandButton Command_ConstructTurkiyeVehicleMobileRadar
  Command          = UNIT_BUILD
  Object           = TurkiyeVehicleMobileRadar
  TextLabel        = CONTROLBAR:ConstructTurkiyeVehicleMobileRadar
  ButtonImage      = SURadarVan
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeVehicleMobileRadar
End

CommandButton Command_UpgradeTurkiyeThermal
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeThermal
  TextLabel        = CONTROLBAR:UpgradeTurkiyeThermal
  ButtonImage      = SAPathfinder1
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeThermal
End

CommandButton Command_UpgradeTurkiyeFuelCell
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeFuelCell
  TextLabel        = CONTROLBAR:UpgradeTurkiyeFuelCell
  ButtonImage      = SAsupplyline
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeFuelCell
End

CommandButton Command_UpgradeTurkiyeSwarmSoftware
  Command          = PLAYER_UPGRADE
  Upgrade          = Upgrade_TurkiyeSwarmSoftware
  TextLabel        = CONTROLBAR:UpgradeTurkiyeSwarmSoftware
  ButtonImage      = SSScoutArmor
  ButtonBorderType = UPGRADE
  DescriptLabel    = CONTROLBAR:ToolTipUpgradeTurkiyeSwarmSoftware
End

CommandButton Command_PurchaseScienceTurkiyeSwarmMunition
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeSwarmMunition
  ButtonImage      = SSA10Attack
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeElectronicBlinding
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeElectronicBlinding
  ButtonImage      = SSEMP
  ButtonBorderType = UPGRADE
End

CommandButton Command_TurkiyeSwarmMunition
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTurkiyeSwarmMunition
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  Science           = SCIENCE_TurkiyeSwarmMunition SCIENCE_TurkiyeSwarmMunition2 SCIENCE_TurkiyeSwarmMunition3
  TextLabel         = CONTROLBAR:TurkiyeSwarmMunition
  ButtonImage       = SSA10Attack
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeSwarmMunition
  RadiusCursorType  = ARTILLERYBARRAGE
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeSwarmMunitionFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponTurkiyeSwarmMunition
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeSwarmMunition
  ButtonImage       = SSA10Attack
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeSwarmMunition
  RadiusCursorType  = ARTILLERYBARRAGE
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeElectronicBlinding
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTurkiyeElectronicBlinding
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeElectronicBlinding
  ButtonImage       = SSEMP
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeElectronicBlinding
  RadiusCursorType  = EMPPULSE
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeElectronicBlindingFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponTurkiyeElectronicBlinding
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeElectronicBlinding
  ButtonImage       = SSEMP
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeElectronicBlinding
  RadiusCursorType  = EMPPULSE
  InvalidCursorName = GenericInvalid
End

; Rank 3's Gokbey Indirmesi and Rank 5's commando raid, in place of the American Paradrop and
; Spectre gunship (SpecialPowerReforged.ini, TurkiyeReforged.ini).

CommandButton Command_PurchaseScienceTurkiyeRapidDeployment
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeRapidDeployment
  ButtonImage      = SNParadrop
  ButtonBorderType = UPGRADE
End

CommandButton Command_PurchaseScienceTurkiyeCommandoRaid
  Command          = PURCHASE_SCIENCE
  Science          = SCIENCE_TurkiyeCommandoRaid
  ButtonImage      = SABurton
  ButtonBorderType = UPGRADE
End

CommandButton Command_TurkiyeRapidDeployment
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTurkiyeRapidDeployment
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  Science           = SCIENCE_TurkiyeRapidDeployment SCIENCE_TurkiyeRapidDeployment2 SCIENCE_TurkiyeRapidDeployment3
  TextLabel         = CONTROLBAR:TurkiyeRapidDeployment
  ButtonImage       = SNParadrop
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeRapidDeployment
  RadiusCursorType  = PARADROP
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeRapidDeploymentFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponTurkiyeRapidDeployment
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeRapidDeployment
  ButtonImage       = SNParadrop
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeRapidDeployment
  RadiusCursorType  = PARADROP
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeCommandoRaid
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTurkiyeCommandoRaid
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeCommandoRaid
  ButtonImage       = SABurton
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeCommandoRaid
  RadiusCursorType  = PARADROP
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeCommandoRaidFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponTurkiyeCommandoRaid
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeCommandoRaid
  ButtonImage       = SABurton
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeCommandoRaid
  RadiusCursorType  = PARADROP
  InvalidCursorName = GenericInvalid
End

; The Harekat Merkezi, Turkiye's Strategy Center, keeps the American plan and upgrade buttons.

CommandButton Command_ConstructTurkiyeHarekatMerkezi
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeHarekatMerkezi
  TextLabel        = CONTROLBAR:ConstructTurkiyeHarekatMerkezi
  ButtonImage      = SAStrategyCenter
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeHarekatMerkezi
End

; The Kapalicarsi, Turkiye's black market, with GLA's cameo and the American and GLA upgrade buttons

CommandButton Command_ConstructTurkiyeKapalicarsi
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeKapalicarsi
  TextLabel        = CONTROLBAR:ConstructTurkiyeKapalicarsi
  ButtonImage      = SUBlackMarket
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeKapalicarsi
End

; The Kargu base, Turkiye's superweapon, and its swarm: China's airfield cameo for the building,
; which is that airfield, the Hellfire drone's for the swarm.

CommandButton Command_ConstructTurkiyeKarguBase
  Command          = DOZER_CONSTRUCT
  Object           = TurkiyeKarguBase
  TextLabel        = CONTROLBAR:ConstructTurkiyeKarguBase
  ButtonImage      = SNAirfield
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipTurkiyeKarguBase
End

CommandButton Command_TurkiyeKarguSwarm
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponTurkiyeKarguSwarm
  Options           = NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeKarguSwarm
  ButtonImage       = SAHellfire
  ButtonBorderType  = ACTION
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeKarguSwarm
  RadiusCursorType  = DAISYCUTTER
  InvalidCursorName = GenericInvalid
End

CommandButton Command_TurkiyeKarguSwarmFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponTurkiyeKarguSwarm
  Options           = NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:TurkiyeKarguSwarm
  ButtonImage       = SAHellfire
  DescriptLabel     = CONTROLBAR:TooltipTurkiyeKarguSwarm
  RadiusCursorType  = DAISYCUTTER
  InvalidCursorName = GenericInvalid
End

CommandSet TurkiyeDozerCommandSet
  1  = Command_ConstructTurkiyePowerPlant
  2  = Command_ConstructTurkiyeBarracks
  3  = Command_ConstructTurkiyeSupplyCenter
  4  = Command_ConstructTurkiyeWarFactory
  5  = Command_ConstructTurkiyeAirfield
  6  = Command_ConstructTurkiyeRadarTower
  7  = Command_ConstructTurkiyePatriotBattery
  8  = Command_ConstructTurkiyeCommandCenter
  9  = Command_ConstructTurkiyeSiper
  11 = Command_ConstructTurkiyeKarguBase
  12 = Command_ConstructTurkiyeHarekatMerkezi
  13 = Command_ConstructTurkiyeKapalicarsi
  14 = Command_DisarmMinesAtPosition
End

; The same, with the mine the Barracks' Mine Kit opens.
CommandSet TurkiyeDozerCommandSetMines
  1  = Command_ConstructTurkiyePowerPlant
  2  = Command_ConstructTurkiyeBarracks
  3  = Command_ConstructTurkiyeSupplyCenter
  4  = Command_ConstructTurkiyeWarFactory
  5  = Command_ConstructTurkiyeAirfield
  6  = Command_ConstructTurkiyeRadarTower
  7  = Command_ConstructTurkiyePatriotBattery
  8  = Command_ConstructTurkiyeCommandCenter
  9  = Command_ConstructTurkiyeSiper
  10 = Command_ConstructTurkiyeLandMine
  11 = Command_ConstructTurkiyeKarguBase
  12 = Command_ConstructTurkiyeHarekatMerkezi
  13 = Command_ConstructTurkiyeKapalicarsi
  14 = Command_DisarmMinesAtPosition
End

CommandSet TurkiyeStructureCommandSet
  14 = Command_Sell
End

; America's Strategy Center bar without CIA Intelligence, the drone armour, the MOAB, Composite
; Armor and Supply Lines (TurkiyeReforged.ini says why)
CommandSet TurkiyeHarekatMerkeziCommandSet
  1  = Command_InitiateBattlePlanBombardment
  3  = Command_InitiateBattlePlanHoldTheLine
  5  = Command_InitiateBattlePlanSearchAndDestroy
  6  = Command_UpgradeAmericaChemicalSuits
  9  = Command_UpgradeAmericaAdvancedTraining
  11 = Command_StrategyCenter_Stop
  14 = Command_Sell
End

CommandSet TurkiyeKapalicarsiCommandSet
  1  = Command_UpgradeAmericaCountermeasures
  2  = Command_UpgradeGLAWorkerShoes
  14 = Command_Sell
End

CommandSet TurkiyeKarguBaseCommandSet
  1  = Command_TurkiyeKarguSwarm
  14 = Command_Sell
End

CommandSet TurkiyeSiperCommandSet
  1  = Command_BunkerExit
  2  = Command_BunkerExit
  3  = Command_BunkerExit
  4  = Command_BunkerExit
  5  = Command_BunkerExit
  6  = Command_Evacuate
  13 = Command_Stop
  14 = Command_Sell
End

CommandSet TurkiyeMehmetcikCommandSet
  1  = Command_AmericaRangerCaptureBuilding
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

; the Humvee's five seats
CommandSet TurkiyeCobraCommandSet
  4  = Command_TransportExit
  5  = Command_TransportExit
  6  = Command_TransportExit
  7  = Command_TransportExit
  8  = Command_TransportExit
  9  = Command_Evacuate
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

CommandSet TurkiyeKirpiCommandSet
  4  = Command_TransportExit
  5  = Command_TransportExit
  6  = Command_TransportExit
  7  = Command_TransportExit
  8  = Command_TransportExit
  9  = Command_Evacuate
  10 = Command_AmbulanceCleanupArea
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

; the Altay, Korkut, Firtina, Sakarya and Koral
CommandSet TurkiyeVehicleCommandSet
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

CommandSet TurkiyeAircraftCommandSet
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

; Burton's knife and charges, which work against every side
CommandSet TurkiyeMaroonBeretCommandSet
  1  = Command_ColonelBurtonKnifeAttack
  2  = Command_ColonelBurtonTimedDemoCharge
  4  = Command_ColonelBurtonRemoteDemoCharge
  6  = Command_ColonelBurtonDetonateCharges
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

CommandSet TurkiyeCommandCenterCommandSet
  1  = Command_ConstructTurkiyeInfantryEngineer
  2  = Command_TurkiyeUavRecon
  3  = Command_TurkiyeSwarmMunition
  4  = Command_TurkiyeRapidDeployment
  5  = Command_TurkiyeElectronicBlinding
  6  = Command_TurkiyeSatelliteGuidance
  7  = Command_TurkiyeTayfun
  8  = Command_TurkiyeCommandoRaid
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

CommandSet TurkiyeSupplyCenterCommandSet
  1  = Command_ConstructTurkiyeVehicleSupplyTruck
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

CommandSet TurkiyeBarracksCommandSet
  1  = Command_ConstructTurkiyeInfantryMehmetcik
  2  = Command_ConstructTurkiyeInfantryEngineer
  3  = Command_ConstructTurkiyeInfantrySungur
  4  = Command_ConstructTurkiyeInfantrySpotter
  5  = Command_ConstructTurkiyeInfantryMaroonBeret
  7  = Command_UpgradeTurkiyeMineKit
  8  = Command_UpgradeTurkiyeThermal
  9  = Command_UpgradeAmericaRangerCaptureBuilding
  10 = Command_UpgradeTurkiyeSiperReinforced
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

; The supply truck is the Supply Center's alone now; its slot here went to the Mobile Radar.
CommandSet TurkiyeWarFactoryCommandSet
  1  = Command_ConstructTurkiyeVehicleCobra
  2  = Command_ConstructTurkiyeVehicleKirpi
  3  = Command_ConstructTurkiyeTankAltay
  4  = Command_ConstructTurkiyeVehicleKorkut
  5  = Command_ConstructTurkiyeVehicleFirtina
  6  = Command_ConstructTurkiyeVehicleSakarya
  7  = Command_ConstructTurkiyeTankKoral
  8  = Command_ConstructTurkiyeVehicleMobileRadar
  9  = Command_UpgradeTurkiyeExtendedRange
  10 = Command_UpgradeTurkiyePrecisionGuidance
  11 = Command_UpgradeTurkiyeArmorPack
  12 = Command_UpgradeTurkiyeAkkor
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

CommandSet TurkiyeAirfieldCommandSet
  1  = Command_ConstructTurkiyeVehicleBayraktar
  2  = Command_ConstructTurkiyeVehicleGokbey
  3  = Command_ConstructTurkiyeJetAkinci
  4  = Command_ConstructTurkiyeJetKizilelma
  7  = Command_UpgradeTurkiyeFuelCell
  8  = Command_UpgradeTurkiyeSwarmSoftware
  9  = Command_UpgradeTurkiyeGokdogan
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

CommandSet TurkiyeRadarTowerCommandSet
  1  = Command_UpgradeTurkiyeTargetClassification
  14 = Command_Sell
End

; The rank tree (ScienceReforged.ini). Rank 1: Laser Designation, Early Warning and UAV Recon.
; Rank 3 lays out in five columns of three (1 4 7 10 13 across the top), a column one tier chain:
; the Mobile Radar, Akinci AESA, the UAV Swarm's three, Gokbey Landing's three and Electronic
; Warfare. Rank 5 (EA's Rank 8 window): Satellite Guidance, Tayfun and the commando raid.

CommandSet SCIENCE_Turkiye_CommandSetRank1
  1 = Command_PurchaseScienceTurkiyeLaserDesignation
  2 = Command_PurchaseScienceTurkiyeEarlyWarning
  3 = Command_PurchaseScienceTurkiyeUavRecon
End

CommandSet SCIENCE_Turkiye_CommandSetRank3
  1  = Command_PurchaseScienceTurkiyeMobileRadar
  4  = Command_PurchaseScienceTurkiyeAkinciAesa
  7  = Command_PurchaseScienceTurkiyeSwarmMunition
  8  = Command_PurchaseScienceTurkiyeSwarmMunition2
  9  = Command_PurchaseScienceTurkiyeSwarmMunition3
  10 = Command_PurchaseScienceTurkiyeRapidDeployment
  11 = Command_PurchaseScienceTurkiyeRapidDeployment2
  12 = Command_PurchaseScienceTurkiyeRapidDeployment3
  13 = Command_PurchaseScienceTurkiyeElectronicBlinding
End

CommandSet SCIENCE_Turkiye_CommandSetRank8
  1 = Command_PurchaseScienceTurkiyeSatelliteGuidance
  2 = Command_PurchaseScienceTurkiyeTayfun
  3 = Command_PurchaseScienceTurkiyeCommandoRaid
  4 = Command_FAKECOMMAND_PurchaseScienceMOAB   ; the slot has to exist; the button is SCRIPT_ONLY and hidden
End

CommandSet SpecialPowerShortcutTurkiye
  1  = Command_TurkiyeUavReconFromShortcut
  2  = Command_TurkiyeSwarmMunitionFromShortcut
  3  = Command_TurkiyeRapidDeploymentFromShortcut
  4  = Command_TurkiyeElectronicBlindingFromShortcut
  5  = Command_TurkiyeSatelliteGuidanceFromShortcut
  6  = Command_TurkiyeTayfunFromShortcut
  7  = Command_TurkiyeCommandoRaidFromShortcut
  8  = Command_TurkiyeKarguSwarmFromShortcut
End