Well, first, make sure you include this in GLACommandCenter (don't forget to substitute "whatever" with your values

):
Code:
Behavior = CashHackSpecialPower ModuleTag_Whatever
SpecialPowerTemplate = SuperweaponGLACashHack
MoneyAmount = Whatever
End
Then, go to SpecialPower.ini and add this:
Code:
SpecialPower SuperweaponGLACashHack
Enum = SPECIAL_CASH_HACK
ReloadTime = Whatever
RequiredScience = SCIENCE_GLACashHack
PublicTimer = No
SharedSyncedTimer = Yes
InitiateAtLocationSound = CashHackActivate
End
Next step: Science.ini. Add this:
Code:
Science SCIENCE_GLACashHack
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3 ;assuming you want it at this rank
SciencePurchasePointCost = 3
IsGrantable = Yes
DisplayName = SCIENCE:ChinaCashHack1 ;this is temp but you should use your own description
Description = CONTROLBAR:ToolTipChinaScienceCashHack ;same here
End
Now your power is set up. Just need to be able to use it. So open CommandButton.ini and add this:
Code:
CommandButton Command_GLACashHack
Command = SPECIAL_POWER
SpecialPower = SuperweaponGLACashHack
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_ENEMY_OBJECT NEED_TARGET_NEUTRAL_OBJECT CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:CashHack ;again, need to change this
ButtonImage = SSCashHack
CursorName = Hack
InvalidCursorName = GenericInvalid
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipFireSuperWeaponCashHack ;change this too
End
Nearly there. Now just add Command_GLACashHack
to the GLACommandCenterCommandSet.