=[[cw4:cpack:Start| Index]]
====== Tech Artifact ======
//Created by Karsten75 aka K75 on Discord//
[[https://github.com/KnuckleCracker/CW4-CPACKS/tree/master/Karsten75/Tech%20Artifact| 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 [[cw4:examine_cw4_map_resources|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-E((default key binding, you may have changed this in Options)).
* 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 \\ {{cmod_button.png}}
* 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 ====
{{tech_artifact_mapmaker.png}}
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 =====
* [[cw4:cmod:docs:cc78539a-4993-484f-bcc6-fa4f3d4dfe81|Tech Artifact]]
<=[[cw4:cpack:Start| Index]]