I've made a Generals Ability for Tao: Tactical Nuclear Strike.
But when I click on the button to launch it the A-10 cursor comes up like it's supposed to, but there is an invalid cursor, and it is therefore un-launchable. Any ideas?
CommandButton.ini
Quote:
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
|
Quote:
|
Originally Posted by ImmoMan
Sounds like an Enum or a CommandButton problem
|