No edit summary
No edit summary
Line 32: Line 32:
|-
|-
|Cannon fire ||ACTION_CANNON_FIRE || Orders a mini cannon or black cannon to attack a single unit
|Cannon fire ||ACTION_CANNON_FIRE || Orders a mini cannon or black cannon to attack a single unit
|-
|Capture action ||ACTION_CAPTURE || Orders a unit to capture a building
|-
|CO unit 0 ||ACTION_CO_UNIT_0 || Deploys the primary CO to a designated unit
|-
|CO unit 1 ||ACTION_CO_UNIT_1 || Deploys the secondary CO to a designated unit
|-
|Crystal healing || ACTION_CRYSTALL_HEAL || Orders a crystal or monolith to heal all units around it
|-
|Deathray fire || ACTION_DEATHRAY_FIRE || Orders a death ray to attack all enemy units in front of it
|}
|}
   
   


[[Category:Modding tutorials]]
[[Category:Modding tutorials]]

Revision as of 04:38, 17 September 2023

Actions in the game can be modified. Actions in the game can be manipulated by creating an actions folder inside the mod. The following is a list of the available actions in the game:

Available actions
Action name Constructor name Description
Power of CO 0 ACTION_ACTIVATE_POWER_CO_0 Activation of the CO power in the front position
Power of CO 1 ACTION_ACTIVATE_POWER_CO_1 Activation of the CO power in the secondary position
Superpower of CO 0 ACTION_ACTIVATE_SUPERPOWER_CO_0 Activation of the CO superpower in the front position
Superpower CO 1 ACTION_ACTIVATE_SUPERPOWER_CO_1 Activation of the CO superpower in the secondary position
Tag power ACTION_ACTIVATE_TAGPOWER Activation of the tag power
Black hole factory door 1 ACTION_BLACKHOLEFACTORY_DOOR1 Allows building units from the door 1 of a Black Hole factory
Black hole factory door 2 ACTION_BLACKHOLEFACTORY_DOOR2 Allows building units from the door 2 of a Black Hole factory
Black hole factory door 3 ACTION_BLACKHOLEFACTORY_DOOR3 Allows building units from the door 3 of a Black Hole factory
Build temporary airport ACTION_BUILD_TEMP_AIRPORT Orders an APC to build a temporary airport
Build temporary harbour ACTION_BUILD_TEMP_HARBOUR Orders an APC to build a temporary harbour
Build units ACTION_BUILD_UNITS Allows building units on a designed building, like a factory or an airport
Build Waterplane ACTION_BUILD_WATERPLANE Orders an Aircraft Carrier to build a Waterplane
Cannon fire ACTION_CANNON_FIRE Orders a mini cannon or black cannon to attack a single unit
Capture action ACTION_CAPTURE Orders a unit to capture a building
CO unit 0 ACTION_CO_UNIT_0 Deploys the primary CO to a designated unit
CO unit 1 ACTION_CO_UNIT_1 Deploys the secondary CO to a designated unit
Crystal healing ACTION_CRYSTALL_HEAL Orders a crystal or monolith to heal all units around it
Deathray fire ACTION_DEATHRAY_FIRE Orders a death ray to attack all enemy units in front of it