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

This is an old revision of the document!


Index

Tech Artifact - Karsten75 aka K75

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.

>

Installation

  • Download or extract the CPACK from a map. Refer to the image on this page for a visual guide to the following instructions.
  • In the map you intend to use this unit, open the map editor by clicking the green Edit button in the lower right corner. If the button is not showing, press Shift-E2).
  • Click on the “Mods” tab and then on the “Open CPACK Manager” button.
  • Click on the “Import” button and select the location where you have downloaded the CPACK file.
  • Click “Save”, The Tech Artifact unit should now appear in the “Mods section
  • Select a Tech Artifact unit by clicking this button and then clicking on the map where you want to place it.
  • Select the unit on the map and refer to the first image on this page for instructions on how to modify the artifact contents.

List of Units (CMODS) in this CPACK

1)
The Unit and Quantity has to be explicitly set by at least changing them once in the unit UI panel before they take effect.
2)
default key binding, you may have changed this in Options
cw4/cpack/docs/f0e93ca4-3fa2-448c-bb4c-26827dc06393.1667276935.txt.gz · Last modified: 2025/02/14 14:56 (external edit)