I've made a new General Power for General Tao called Tactical Nuclear Strike. Everything works fine with it, apart from one thing.
When I click on the button to launch it on the Command Center the A-10 radius cursor comes up, like it's meant to, but I can't launch it
Doesn't launch as in: you click and the cursor disappears but nothing happens, or as in: you click but the cursor gives an "invalid" message of some kind and the "click" doesn't actually take effect?
CommandButton Command_PurchaseScienceTacticalNuclearStrike
Command = PURCHASE_SCIENCE
Science = SCIENCE_TacticalNuclearStrike
ButtonImage = SNMig
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
End
CommandButton Command_TacticalNuclearStrike
Command = SPECIAL_POWER
SpecialPower = SuperweaponTacticalNuclearStrike
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
Science = SCIENCE_TacticalNuclearStrike
TextLabel = CONTROLBAR:A10ThunderboltMissileStrike
ButtonImage = SNMig
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipA10Strike
RadiusCursorType = A10STRIKE
InvalidCursorName = GenericInvalid
End
SpecialPower.ini
Quote:
SpecialPower SuperweaponTacticalNuclearStrike
Enum = SPECIAL_A10_THUNDERBOLT_STRIKE
ReloadTime = 240000 ; in milliseconds
RequiredScience = SCIENCE_TacticalNuclearStrike
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 50
ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut.
AcademyClassify = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End
SpecialPower SuperweaponTacticalNuclearStrike
Enum = SPECIAL_A10_THUNDERBOLT_STRIKE
ReloadTime = 240000 ; in milliseconds
RequiredScience = SCIENCE_TacticalNuclearStrike
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 50
ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut.
AcademyClassify = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End