No edit summary
No edit summary
Line 17: Line 17:
| Tag power  || ACTION_ACTIVATE_TAGPOWER || Activation of the tag power
| 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 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 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
| 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 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
|}
|}
   
   


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

Revision as of 04:20, 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