cw4:cpack:docs:f0e93ca4-3fa2-448c-bb4c-26827dc06393

This is an old revision of the document!


Index

Karsten75 aka K75 - Tech Artifact

Download from GitHub
Last updated 10/30/2022, Not yet available in any custom map. One known, small issue that does not affect use.1)

Analogous to the Tech Artifact in Creeper World 3, this unit allows a map maker to incrementally increase the quantity of a specific unit that is available to a player.

The default CPACK contains a list of all the standard, in-game units. By selecting a tech artifact, the UI Pane will provide drop-down lists of supported units and a few selected quantities. -1 remove all unit build limits, 0 prevents additional units from being built. The other values will incrementally add as many units as are specified.

When the game is NOT in edit mode, the selection options are suppressed so that players cannot manipulate the selected options.

Both the quantities and the list of units can be changed by editing the script. The lists are built in the `Awake` function. Units are paired by a Display name and an internal name (or the GUID for a custom unit); Quantities are a straight-forward list.

>

List of Units (CMODS) in this CPACK

1)
The Unit and Quantity has to be explicity set by at least changing them one in the unit UI panel before they take effect.
cw4/cpack/docs/f0e93ca4-3fa2-448c-bb4c-26827dc06393.1667251013.txt.gz · Last modified: 2025/02/14 14:56 (external edit)