Skip to content
marcushutchings edited this page Nov 29, 2022 · 20 revisions

Mod Rules can be used to configure the behaviour of the engine. As they get added to the engine they will be documented here.

  • int movement.groundUnitCollisionAvoidanceUpdateRate use to control the rate in sim frames that ground/sea units update their unit collision avoidance vectors. A lower number will increase CPU load, but improve reaction time of collision avoidance. Default = 3
  • float movement.maxCollisionPushMultiplier use to restrict the maximum distance, relative to a unit's max speed, a unit can be pushed as a result of collision deconfliction in a single frame. Setting to 1 cuts down the ability of many fast units pushing a slow unit faster than it should go. Default = infinity
  • int movement.unitQuadPositionUpdateRate use to control the rate in sim frames that a unit's position in the quad grid is updated. A lower number will increase CPU load, but increase accuracy of collision detection. Default = 3
  • bool system.enableSmoothMesh use to enable/disable the SmoothGroundMesh, often used to help aircraft navigate drastic changes in terrain. Default = true
  • bool system.pfForceSingleThreaded use to force pathing system to send pathing requests single threaded. This is for debugging purposes. Default = false