Table of Contents

Index

Kalli - SnappingTool

The latest version of this cpack, specifically adapted for vanilla unit placement, can be found in colony map #4708 Downstream River Battle.

Purpose

The Snapping Tool looks for the nearest suitable cell, within a certain range of the cursor cell.

This greatly facilitates unit placement of units on bad/uneven terrain or on terrain with a lot of other units present.

Controls

Additional Info

  1. A red circle + white cross on the cursor cell means that either you've reached your buid limit, or no suitable cell was found within range.
  2. A green cross highlights the nearest suitable cell, so click LMB and the unit will be placed there.
  3. If you hold the mouse cursor still over a single cell and hold shift+LMB, then it will place 4 units per second. Move the mouse around fast, and it can place up to 30 units per second.
  4. Miners snap to terrain with 75% resource coverage. If you want to place your miners with perfect coverage of the resource patch, then you'll still need to look closely while placing them.
  5. Bomberpads are not yet supported.
  6. Dark Towers are ignored while placing units, but units cannot connect while in the darkness, so they won't be constructed.

Adding your own units to the snapping tool

At the start of the script, there exists a series of lists to which you should add your unit. It is important that the first 4 lists have the same list length and same order. So to add a new unit, it's best to add the GUID to the end of the first 2 lists + the footprint width (x-axis) + length (z-axis) to the end of the next 2 lists.

Index