User Tools

Site Tools


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

Index

Tech Artifact

Created by Karsten75 aka K75 on Discord

Download from GitHub
Last updated 11/01/2022, Not yet available in any custom map.

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.

Installation and Use

Installation

  • Download or extract the CPACK from a map. Also refer to the link for a screenshot of the map editor pane referred to in subsequent 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-E1).
  • 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.
  • Now refer to the Use Instructions for usage.

Use

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.

>

The UI Indicator Companion Script

The UI Indicator companion script Should be installed in the Global Control portion of the CPACK. From there it can listen and activate the UI Indicators that flash yellow attention signals on UI indicators to which one might wish to draw attention.

List of Units (CMODS) in this CPACK

1)
default key binding, you may have changed this in Options
cw4/cpack/docs/f0e93ca4-3fa2-448c-bb4c-26827dc06393.txt · Last modified: 2022/11/23 13:20 by karsten75