SpecialPower SuperweaponNeutronMissile
Enum = SPECIAL_NEUTRON_MISSILE
ReloadTime = 360000 ; in milliseconds. min is 2x door/open close time!
; InitiateSound = AirRaidSiren ; plays at source
InitiateAtLocationSound = AirRaidSiren ; plays at target
PublicTimer = Yes
ViewObjectDuration = 40000
ViewObjectRange = 250
RadiusCursorRadius = 210
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
tadaaa! :)
and following this, China nuke has 2 buttons
CommandButton Command_NeutronMissile
Command = SPECIAL_POWER
SpecialPower = SuperweaponNeutronMissile
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:NeutronMissile
ButtonImage = SNNukeLaunch
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireNukeMissile
RadiusCursorType = NUCLEARMISSILE
InvalidCursorName = GenericInvalid
End
CommandButton Command_NeutronMissile
FromShortcut Command = SPECIAL_POWER_FROM_SHORTCUT SpecialPower = SuperweaponNeutronMissile
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:NeutronMissileShortcut
ButtonImage = SNNukeLaunch
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireNukeMissile
RadiusCursorType = NUCLEARMISSILE
InvalidCursorName = GenericInvalid
End
Edited by user
14 years ago |
Reason: Not specified