Engine 2555 Ready for Testing
A new engine version is available on the test servers, please give it a try and let us know if it is okay.
Please read through the list of changes below and test as many of these changes
You can test the latest release candidate by selecting “Engine Test”, under Config, on the Launcher, click Update, then click Start.
Note: please do remember to !stop the server once you are done testing on it, as it sometimes doesnt exit headless.
Updates since 2511
For Players
Fixed: larger units sometimes didn’t push smaller units are much as they should. (as part of https://github.com/beyond-all-reason/spring/pull/1358)
Fixed: HAPFS paths could lead water-surface travelling units to get stuck on underwater structures when in shallow water. https://github.com/beyond-all-reason/spring/pull/1402/
Fixed: Units that can move directly to a building (to repair/reclaim etc) will move straight there. https://github.com/beyond-all-reason/spring/issues/1470
Fixed: Mouse warping issue in Wayland on Linux. https://github.com/beyond-all-reason/spring/pull/1509
Other: Improved CPU performance of terraforming activities.https://github.com/beyond-all-reason/spring/pull/1360/
Other: Improved CPU performance of unit movement. https://github.com/beyond-all-reason/spring/pull/1382 and https://github.com/beyond-all-reason/spring/pull/1370
Other: Improved CPU performance of QTPFS by rebuilding only damaged parts of paths. https://github.com/beyond-all-reason/spring/pull/1550
For Game Devs
Added: Spring.GetUnitPhysicalState(number unitID)
to get the unit’s PhysicalState bitmask. https://github.com/beyond-all-reason/spring/pull/1528
Added: system.smoothMeshResDivider
and system.smoothMeshSmoothRadius
to control the behaviour of the Air Smooth Mesh. https://github.com/beyond-all-reason/spring/pull/1341
Added: Spring.RebuildSmoothMesh()
to force an immediate build of the complete Air Smooth Mesh. https://github.com/beyond-all-reason/spring/pull/1342
Added: exit-only and no-build yardmap square types. https://github.com/beyond-all-reason/spring/issues/453
Added: float separationDistance
to unitDef, so that units try to keep separationDistance elmos away from each other. This avoids having to increase the unit’s movedef size, which has other additional consequences. https://github.com/beyond-all-reason/spring/pull/1358
Added: bool overrideUnitWaterline
to move defs. When set to false, the waterline of unitDefs will be used instead of the move defs’ version. This should allow units such as raptor models to float at the the intended height in the water; however, having overrideUnitWaterline
set to false forces the unit to use a simplier and less accurate form of collision in the water. https://github.com/beyond-all-reason/spring/pull/1414
Added: New Lua functions GetUnitArrayCentroid
and GetUnitMapCentroid
. https://github.com/beyond-all-reason/spring/pull/1507
Added: Support for directional pathing in HAPFS. https://github.com/beyond-all-reason/spring/pull/1402/
Added: Support for shortest route pathing in QTPFS. https://github.com/beyond-all-reason/spring/pull/1402/
Fixed: Spring.UnitArrivedAtGoal
stack issue with warning spam. https://github.com/beyond-all-reason/spring/pull/1546
Fixed: Prevent factories having canAssist set. https://github.com/beyond-all-reason/spring/issues/1065