you shortcut code should look similar to this:
Code:
CommandButton Command_ArtilleryBarrageFromShortcut
Command = SPECIAL_POWER_FROM_SHORTCUT
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:NoHotKeyArtilleryBarrage
ButtonImage = SSBarrage
;ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireArtilleryBarrage
RadiusCursorType = ARTILLERYBARRAGE
InvalidCursorName = GenericInvalid
End
Change the code to suit your ability. Once you're done, place the finished shortcut code in commandbutton.ini. If you want to see you button show up on the right side of the screen, make a commandset entry (in commandset.ini) to, ' CommandSet SpecialPowerShortcutUSA'. If you've done everything correctly, your shortcut should work in-game
