Latest Updates: Difference between revisions

From Archon Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
= Unit Orientation =
If you include a TerrainFollow attrib in the squads file, then for units with this attrib as non-zero they will align themselves with the terrain (i.e. hills etc)
= Formation Change =
All units now call the formation callback, not just those with more than 1 man remaining.
= Editor Unit Loading =
= Editor Unit Loading =
Set the tweak EditorDefaultLoading to zero to require the CTRL key to load units onto other units.  For editor ease of use for games where units cannot carry other units.
Set the tweak EditorDefaultLoading to zero to require the CTRL key to load units onto other units.  For editor ease of use for games where units cannot carry other units.

Revision as of 17:28, 10 March 2016

Unit Orientation

If you include a TerrainFollow attrib in the squads file, then for units with this attrib as non-zero they will align themselves with the terrain (i.e. hills etc)

Formation Change

All units now call the formation callback, not just those with more than 1 man remaining.

Editor Unit Loading

Set the tweak EditorDefaultLoading to zero to require the CTRL key to load units onto other units. For editor ease of use for games where units cannot carry other units.

Editor Unit Values

You can now set up to 4 user values on units in the editor. These are stored in 4 attribs called System_EditorData0 to System_EditorData3. Users should set them onto the units in the editor in the usual way using SetAttrib. To facilitate editor functionality the new script command GetEditorLastUnit() is available.

Editor Display Callback

FUNCTION HELPER_UNIT_EDITOR_DISPLAY(side, unit)

This new function in the helper script is called for each unit on the map in the editor. If it returns non-zero then the system will include the contents of the first UI string in the information that is shown over the unit (e.g. Fixed, Carryover, etc).