Skip to content

Draw the whole queued route and both order lines, styled by UI.INI

Changes0.2.0 (in development)

NewPlanned for 0.2.0

A selected object drew either its target line or its movement line, never both, and showed none of its queued destinations. Both lines now draw together, and destinations queued with the queue-move key continue from the end of the movement line as further lines. A looping queue closes into a ring.

The lines now also show while the queue-move key is held. The new optional file UI.INI controls them from its [Ingame] section. AlwaysShowActionLines=yes keeps them shown for as long as the object is selected, provided UnitActionLines under [Options] in sun.ini is on. ShowNavComQueueLines=no hides the queue lines.

The same section sets the color, dashes, thickness and drop shadow of each line. Its TargetLaser keys style the sighting laser drawn by a vehicle with TargetLaser=yes in its rules.ini section, and TargetLaserTime sets how long that laser stays after each shot. Without UI.INI, the target and movement lines look as they did before.

The keys are named as in Vinifera’s UI.INI, so the action line settings of a file written for Vinifera carry over. CCHyper and tomsons26 are credited for that implementation.

Affected entities

Credit: ZivDero, CCHyper, tomsons26