Skip to content

Commit 2fbeaf8

Browse files
committed
Change: Improve China Overlord upgrade command button and cameo icon placements
1 parent 3e648b2 commit 2fbeaf8

File tree

6 files changed

+64
-6
lines changed

6 files changed

+64
-6
lines changed

Patch104pZH/GameFilesEdited/Data/INI/CommandButton.ini

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,21 @@ CommandButton Command_UpgradeChinaOverlordGattlingCannon
12591259
UnitSpecificSound = OverlordTankVoiceModeGattling
12601260
End
12611261

1262+
;patch104p-optional-begin
1263+
; Patch104p @tweak xezon 01/05/2023 Adds a new button variant for the Gattling Cannon upgrade that works for both Overlord and Emperor.
1264+
; This allows the button to be used in Overlord and Emperor group selections.
1265+
CommandButton Multi_Command_UpgradeChinaOverlordGattlingCannon
1266+
Command = OBJECT_UPGRADE
1267+
Upgrade = Upgrade_ChinaOverlordGattlingCannon
1268+
Options = OK_FOR_MULTI_SELECT NOT_QUEUEABLE
1269+
TextLabel = CONTROLBAR:UpgradeChinaOverlordGattlingCannon
1270+
ButtonImage = SSOLGattling
1271+
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
1272+
DescriptLabel = CONTROLBAR:TooltipUpgradeChinaTankGattlingCannon
1273+
UnitSpecificSound = OverlordTankVoiceModeGattling
1274+
End
1275+
;patch104p-optional-end
1276+
12621277
CommandButton Command_UpgradeChinaOverlordPropagandaTower
12631278
Command = OBJECT_UPGRADE
12641279
Upgrade = Upgrade_ChinaOverlordPropagandaTower

Patch104pZH/GameFilesEdited/Data/INI/CommandSet.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,23 +674,38 @@ CommandSet ChinaTankBattlemasterCommandSet
674674
End
675675

676676
;--------------------------------------------
677+
; Patch104p @tweak tweak 01/05/2023 Optionally repositions and reorders the attachment upgrades to match the position and order of the Helix ones.
677678
CommandSet ChinaTankOverlordDefaultCommandSet
679+
;patch104p-core-begin
678680
1 = Command_UpgradeChinaOverlordBattleBunker
679681
3 = Command_UpgradeChinaOverlordGattlingCannon
680682
5 = Command_UpgradeChinaOverlordPropagandaTower
683+
;patch104p-core-end
684+
;patch104p-optional-begin
685+
6 = Command_UpgradeChinaOverlordBattleBunker
686+
8 = Command_UpgradeChinaOverlordPropagandaTower
687+
10 = Multi_Command_UpgradeChinaOverlordGattlingCannon
688+
;patch104p-optional-end
681689
11 = Command_AttackMove
682690
13 = Command_Guard
683691
14 = Command_Stop
684692
End
685693

686694
; Patch104p @tweak from Command_Evacuate to Command_EmptyCrawler, so that all vehicles use same evacuate command button.
687695
; Patch104p @tweak xezon 30/04/2023 Moves Command_EmptyCrawler from 6 to 9, so that it can be evacuated together with other ground vehicles.
696+
; Patch104p @tweak tweak 01/05/2023 Optionally adds the attachment upgrades to keep them usable in group selections always.
697+
; Patch104p @tweak tweak 01/05/2023 Optionally uses the multi button variant for the Gattling Cannon upgrade so that the Overlord and Emperor can use this button in a group selection.
688698
CommandSet ChinaTankOverlordBattleBunkerCommandSet
689699
1 = Command_TransportExit
690700
2 = Command_TransportExit
691701
3 = Command_TransportExit
692702
4 = Command_TransportExit
693703
5 = Command_TransportExit
704+
;patch104p-optional-begin
705+
6 = Command_UpgradeChinaOverlordBattleBunker
706+
8 = Command_UpgradeChinaOverlordPropagandaTower
707+
10 = Multi_Command_UpgradeChinaOverlordGattlingCannon
708+
;patch104p-optional-end
694709
9 = Command_EmptyCrawler
695710
11 = Command_AttackMove
696711
13 = Command_Guard
@@ -5202,8 +5217,15 @@ CommandSet Tank_ChinaInfantryBlackLotusCommandSet
52025217
14 = Command_Stop
52035218
End
52045219

5220+
; Patch104p @tweak tweak 01/05/2023 Optionally repositions the attachment upgrade to match the position of the Overlord and Helix one.
5221+
; Patch104p @tweak tweak 01/05/2023 Optionally uses the multi button variant for the Gattling Cannon upgrade so that the Overlord and Emperor can use this button in a group selection.
52055222
CommandSet Tank_ChinaTankEmperorDefaultCommandSet
5223+
;patch104p-core-begin
52065224
3 = Tank_Command_UpgradeChinaOverlordGattlingCannon
5225+
;patch104p-core-end
5226+
;patch104p-optional-begin
5227+
10 = Multi_Command_UpgradeChinaOverlordGattlingCannon
5228+
;patch104p-optional-end
52075229
11 = Command_AttackMove
52085230
13 = Command_Guard
52095231
14 = Command_Stop

Patch104pZH/GameFilesEdited/Data/INI/Object/ChinaVehicle.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,13 @@ Object ChinaTankOverlord
227227
SelectPortrait = SNOverlord_L
228228
ButtonImage = SNOverlord
229229

230+
; Patch104p @tweak xezon 30/04/2023 Moves attachment upgrade icons into same order as new optional upgrade buttons and Helix icons.
231+
230232
UpgradeCameo1 = Upgrade_ChinaUraniumShells
231233
UpgradeCameo2 = Upgrade_ChinaNuclearTanks
232-
UpgradeCameo3 = Upgrade_ChinaOverlordBattleBunker
233-
UpgradeCameo4 = Upgrade_ChinaOverlordGattlingCannon
234-
UpgradeCameo5 = Upgrade_ChinaOverlordPropagandaTower
234+
UpgradeCameo3 = Upgrade_ChinaOverlordGattlingCannon
235+
UpgradeCameo4 = Upgrade_ChinaOverlordPropagandaTower
236+
UpgradeCameo5 = Upgrade_ChinaOverlordBattleBunker
235237

236238

237239
Draw = W3DOverlordTankDraw ModuleTag_01

Patch104pZH/GameFilesEdited/Data/INI/Object/NukeGeneral.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17142,12 +17142,14 @@ Object Nuke_ChinaTankOverlord
1714217142

1714317143
; Patch104p @refactor xezon 08/04/2023 Comments the incorrect and unused Nuke upgrades.
1714417144
; Patch104p @bugfix xezon 08/04/2023 Adds missing IsotopeStability icon.
17145+
; Patch104p @tweak xezon 30/04/2023 Moves attachment upgrade icons into same order as new optional upgrade buttons and Helix icons.
17146+
1714517147
;UpgradeCameo1 = Nuke_Upgrade_ChinaWGUraniumShells
1714617148
;UpgradeCameo2 = Nuke_Upgrade_ChinaFusionReactors
1714717149
UpgradeCameo2 = Upgrade_ChinaIsotopeStability
17148-
UpgradeCameo3 = Upgrade_ChinaOverlordBattleBunker
17149-
UpgradeCameo4 = Upgrade_ChinaOverlordGattlingCannon
17150-
UpgradeCameo5 = Upgrade_ChinaOverlordPropagandaTower
17150+
UpgradeCameo3 = Upgrade_ChinaOverlordGattlingCannon
17151+
UpgradeCameo4 = Upgrade_ChinaOverlordPropagandaTower
17152+
UpgradeCameo5 = Upgrade_ChinaOverlordBattleBunker
1715117153

1715217154

1715317155
Draw = W3DOverlordTankDraw ModuleTag_01

Patch104pZH/GameFilesEdited/Data/generals.str

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24887,6 +24887,22 @@ RU: "Построить пулемётную пушку на этом Влады
2488724887
AR: "ﻰﻠﻋ شﺎﺷﺮﻟا ﻊﻓﺪﻤﻟا ءﺎﻨﺑ\nﺔﻣﺪﻘﺘﻤﻟا Overlord ﺔﺑﺎﺑد"
2488824888
END
2488924889

24890+
// Patch104p @feature xezon 01/05/2023 Adds Overlord and Emperor neutral tooltip text. Allows to use the same text for both tank upgrades.
24891+
24892+
CONTROLBAR:TooltipUpgradeChinaTankGattlingCannon
24893+
US: "Build a Gattling Cannon on this tank"
24894+
DE: "Bringt an diesem Panzer ein Gatling-Geschütz an."
24895+
FR: "Ajoute une Mitrailleuse Gattling sur ce char."
24896+
ES: "Construye un Cañón Gattling en este tanque."
24897+
IT: "Costruisce un Cannone gatling su questo carro armato."
24898+
KO: "탱크 뒤쪽에 개틀링 캐논을 장착합니다."
24899+
ZH: "在這輛坦克上建造一門加特林大砲。"
24900+
BP: "Equipa este tanque com um Canhão Gattling."
24901+
PL: "Wyposaża ten czołg w działko Gattling."
24902+
RU: "Построить пулемётную пушку на этом танке"
24903+
AR: "ﻰﻠﻋ شﺎﺷﺮﻟا ﻊﻓﺪﻤﻟا ءﺎﻨﺑ\nﺔﻣﺪﻘﺘﻤﻟا Overlord ﺔﺑﺎﺑد"
24904+
END
24905+
2489024906
CONTROLBAR:TooltipUpgradeChinaOverlordPropagandaTower
2489124907
US: "Build a Propaganda Tower on this Overlord"
2489224908
DE: "Bringt an diesem Overlord einen Propagandaturm an."

Patch104pZH/ModBundleItems.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@
355355
{
356356
"parent": "GameFilesEdited",
357357
"sourceList": [
358+
"Data/INI/CommandButton.ini",
358359
"Data/INI/CommandSet.ini"
359360
],
360361
"params": {

0 commit comments

Comments
 (0)