You have to find these lines on the China Command Center.
Behavior = OCLSpecialPower ModuleTag_17
SpecialPowerTemplate = SuperweaponArtilleryBarrage
UpgradeOCL = SCIENCE_ArtilleryBarrage3 SUPERWEAPON_ArtilleryBarrage3
UpgradeOCL = SCIENCE_ArtilleryBarrage2 SUPERWEAPON_ArtilleryBarrage2
OCL = SUPERWEAPON_ArtilleryBarrage1
CreateLocation = CREATE_AT_EDGE_FARTHEST_FROM_TARGET
End
and another UpgradeOCL with the appropriate entries.
ORDER MATTERS, put it before Artillery Barrage 3.
AND to complete with buttons find this button and its FromShortcut counterpart
CommandButton Command_ArtilleryBarrage
Command = SPECIAL_POWER
SpecialPower = SuperweaponArtilleryBarrage
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
Science = SCIENCE_ArtilleryBarrage1 SCIENCE_ArtilleryBarrage2 SCIENCE_ArtilleryBarrage3 ;These will cause the buttons to change icons, nothing more
TextLabel = CONTROLBAR:ArtilleryBarrage
ButtonImage = SSBarrage
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireArtilleryBarrage
RadiusCursorType = ARTILLERYBARRAGE
InvalidCursorName = GenericInvalid
End
just put the 4th level after the 3rd with spaces to separate them of course.
...and test!
Originally Posted by: Zatsupachi