Quote:
CommandButton Command_DaisyCutter
Command = SPECIAL_POWER
SpecialPower = SuperweaponDaisyCutter
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR aisyCutter
ButtonImage = SACDaisyCutter
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipDaisyCutter
RadiusCursorType = DAISYCUTTER
InvalidCursorName = GenericInvalid
End
|
Command
Type of command this button activates, values include SPECIAL_POWER, FIRE_WEAPON, (PLATYER, CANCEL or OBJECT)_UPGRADE, HACK_INTERNET, HIJACK_VEHICLE, CONVERT_TO_CARBOMB, SWITCH_WEAPON and several attack, guard and movement commands
Options
Special options that control activation and cursor allowances, some values are NEED_SPECIAL_POWER_SCIENCE, NEED_TARGET_POS, SCRIPT_ONLY, CONTEXTMODE_COMMAND (seems to be important for player targettable Superweaps), OK_FOR_MULTI_SELECT and NEED_TARGET_(ENEMY, NEUTRAL or ALLIED)_OBJECT, CHECK_LIKE seems to control the toggle logic for Overpowering Nuke reactors and Strategy center
SpecialPower
Only used for special power activation buttons, values are Speacial Power entry names.
WeaponSlot
Tells button which weapon to fire at selected point, used for Fire wall and vehicle snipe, values are PRIMARY, SECONDARY and TERTIARY
Upgrade
Points to an upgrade that the button starts the research of.
TextLabel
DescriptLabel
Controls name and description respectively, value is string identifier
CursorName
Name of cursor set to use
InvalidCursorName
Name of cursor set if placement is invalid
UnitSpecificSound
Name of sound to play when upgrade is completed or ability used.
ButtonBorderType
Border options for button, values include UPGRADE, ACTION and BUILD
Please take note of the wording, this guide is not the complete set of options and values, just ones that can be used.