Draw the whole queued route and both order lines, styled by UI.INI
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
- Added
UI.INI - Added
action-lines - Changed
UnitActionLines - Added
AlwaysShowActionLines - Added
MovementLineDashed - Added
MovementLineDropShadow - Added
MovementLineThick - Added
MovementLineColor - Added
MovementLineDropShadowColor - Added
TargetLineDashed - Added
TargetLineDropShadow - Added
TargetLineThick - Added
TargetLineColor - Added
TargetLineDropShadowColor - Added
TargetLaserDashed - Added
TargetLaserDropShadow - Added
TargetLaserThick - Added
TargetLaserColor - Added
TargetLaserDropShadowColor - Added
TargetLaserTime - Added
ShowNavComQueueLines - Added
NavComQueueLineDashed - Added
NavComQueueLineDropShadow - Added
NavComQueueLineThick - Added
NavComQueueLineColor - Added
NavComQueueLineDropShadowColor
Credit: ZivDero, CCHyper, tomsons26