Here is my code below for the command button, the radius cursor parameters, and the special power itself.
CODE
CommandButton Command_NerveGasAttackFromShortcut
Command = SPECIAL_POWER_FROM_SHORTCUT
SpecialPower = SuperweaponNerveGasAttack
Options = NEED_TARGET_POS CONTEXTMODE_COMMAND OK_FOR_MULTI_SELECT NEED_SPECIAL_POWER_SCIENCE
TextLabel = CONTROLBAR:NerveGasAttack
ButtonImage = SUNerveGasBomb
InvalidCursorName = GenericInvalid
RadiusCursorType = ATTACK_DAMAGE_AREA;ATTACK_CONTINUE_AREA;SPYDRONE
ButtonBorderType = ACTION; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireNerveGasAttack
UnitSpecificSound = GLAEvaSelectTarget
End
AttackDamageAreaRadiusCursor
Texture = SCCScudStorm_GLA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:255 G:255 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
AttackContinueAreaRadiusCursor
Texture = SCCScudStorm_GLA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:255 G:255 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
SpecialPower SuperweaponNerveGasAttack
Enum = SPECIAL_BLACK_MARKET_NUKE
ReloadTime = 360000; in milliseconds. min is 2x door/open close time!
RequiredScience = SCIENCE_NerveGasAttack
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectRange = 0
RadiusCursorRadius = 275
ShortcutPower = Yes;Capable of being fired by the side-bar shortcut.
InitiateSound = GLANerveGasDeployed
AcademyClassify = ACT_SUPERPOWER;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End
Command = SPECIAL_POWER_FROM_SHORTCUT
SpecialPower = SuperweaponNerveGasAttack
Options = NEED_TARGET_POS CONTEXTMODE_COMMAND OK_FOR_MULTI_SELECT NEED_SPECIAL_POWER_SCIENCE
TextLabel = CONTROLBAR:NerveGasAttack
ButtonImage = SUNerveGasBomb
InvalidCursorName = GenericInvalid
RadiusCursorType = ATTACK_DAMAGE_AREA;ATTACK_CONTINUE_AREA;SPYDRONE
ButtonBorderType = ACTION; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireNerveGasAttack
UnitSpecificSound = GLAEvaSelectTarget
End
AttackDamageAreaRadiusCursor
Texture = SCCScudStorm_GLA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:255 G:255 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
AttackContinueAreaRadiusCursor
Texture = SCCScudStorm_GLA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:255 G:255 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
SpecialPower SuperweaponNerveGasAttack
Enum = SPECIAL_BLACK_MARKET_NUKE
ReloadTime = 360000; in milliseconds. min is 2x door/open close time!
RequiredScience = SCIENCE_NerveGasAttack
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectRange = 0
RadiusCursorRadius = 275
ShortcutPower = Yes;Capable of being fired by the side-bar shortcut.
InitiateSound = GLANerveGasDeployed
AcademyClassify = ACT_SUPERPOWER;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End