Content · 2
Added color support for blocks.
block color supportAdded support to spawn a blueprint.
blueprint spawning
System · 22
Added structure transform support and a structure speed setting in m/s.
structure transform and speedAdded Forward, Left, Right and Back vectors to ModTransform.
modtransform direction vectorAdded support to create a ModVector3 from a string.
modvector3 from stringAdded support to kill the player and check if the player can be killed.
player kill and killability checkAdded support to add force and torque to a rigidbody spawned with SpawnCustomObjectRigidbody().
force and torque on spawned rigidbodyAutomatic generation of a mod document file at <game directory>\mods\trailmakers_docs.lua.
mod documentation file generationAdded support to set and get the team index for a player.
team index for playerAdded support to add and control a camera, with one camera per player.
player camera supportAdded support to set the power of gyros and check if a block is a gyro.
gyro powerAdded support to despawn a specific game object.
despawn specific game objectAdded support to change a ModGameObject texture in run-time.
modgameobject texture at runtimeAdded support to set the power of propellers and check if a block is a propeller.
propeller powerAdded time of day override support.
time of day overrideAdded getters for Transform on ModBlocks.
transform getters for modblockAdded support for multiple time scale multipliers, with each mod able to add one.
time scale multiplierAdded function to get the number of power cores of a structure.
power core count queryAdded a new Raycast function that returns raycast data.
raycast function returning dataAdded function to get the block the player is seated in.
seated block queryAdded more ModVector3 utility functions.
modvector3 utility functionAdded support for including other lua scripts, which must be inside the data_static folder; sub-folders are not supported.
inclusion of other lua scriptAdded support to enable or disable invincibility of the player.
player invincibility toggleAdded support to enable or disable repairing for a player.
player repairing toggle
UI · 2
Added function to remove a UI element for a player.
ui element removalAdded support to show a subtle message to all players or a specific one.
subtle player message


