This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cw4:cpack:docs:9e25f48f-bf0a-45ad-bf00-af5d879aa6d1 [2021/04/02 12:25] – created UberWaffe | cw4:cpack:docs:9e25f48f-bf0a-45ad-bf00-af5d879aa6d1 [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
Script is commented and what each setting does should be well explained in the script itself. | Script is commented and what each setting does should be well explained in the script itself. | ||
+ | |||
+ | When selecting the unit, the UI labels are updated to reflect the script settings of the unit. This works even while the game is paused or in edit mode, allowing map makers to check their settings without unpausing or playing the map. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | In this example the Aborber is setup to only absorb creep, filling by only 1 creep for every 10 creep it absorbs, and ignoring AC entirely. | ||
+ | |||
+ | Its contents will decrease by 10 per second (since it absorbs only creep at a ratio of 10:1, this is effectively immune to creep flows below 100 creep per second.) | ||
+ | |||
+ | It is also setup to self fill with AC at a rate of 20 per second (even though it cannot absorb AC from the world). But since it also empties at a rate of 10 per second, it effectively only fills with AC at a rate of 10 per second. | ||
+ | |||
+ | It is setup to spill its contents once it gets full. | ||
===== List of Units (CMODS) in this CPACK ===== | ===== List of Units (CMODS) in this CPACK ===== |