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

This is an old revision of the document!


Index

//Karsten75 aka K75// - //Tech Artifact//

canonical link to CPACK - where to get the author-maintained version

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

cw4/cpack/docs/f0e93ca4-3fa2-448c-bb4c-26827dc06393.1667238645.txt.gz · Last modified: 2025/02/14 14:56 (external edit)