Trailmakers

Flashbulb Games · Simulation

Trailmakers patch notes · Sep 15, 2023

Experiment

Mods Features | Dev Diary #6

What's new in Mods Features | Dev Diary #6: 26 changes to Trailmakers, released Sep 15, 2023.

Content · 2

  • Added color support for blocks.

    block color support
  • Added support to spawn a blueprint.

    blueprint spawning

System · 22

  • Added structure transform support and a structure speed setting in m/s.

    structure transform and speed
  • Added Forward, Left, Right and Back vectors to ModTransform.

    modtransform direction vector
  • Added support to create a ModVector3 from a string.

    modvector3 from string
  • Added support to kill the player and check if the player can be killed.

    player kill and killability check
  • Added support to add force and torque to a rigidbody spawned with SpawnCustomObjectRigidbody().

    force and torque on spawned rigidbody
  • Automatic generation of a mod document file at <game directory>\mods\trailmakers_docs.lua.

    mod documentation file generation
  • Added support to set and get the team index for a player.

    team index for player
  • Added support to add and control a camera, with one camera per player.

    player camera support
  • Added support to set the power of gyros and check if a block is a gyro.

    gyro power
  • Added support to despawn a specific game object.

    despawn specific game object
  • Added support to change a ModGameObject texture in run-time.

    modgameobject texture at runtime
  • Added support to set the power of propellers and check if a block is a propeller.

    propeller power
  • Added time of day override support.

    time of day override
  • Added getters for Transform on ModBlocks.

    transform getters for modblock
  • Added support for multiple time scale multipliers, with each mod able to add one.

    time scale multiplier
  • Added function to get the number of power cores of a structure.

    power core count query
  • Added a new Raycast function that returns raycast data.

    raycast function returning data
  • Added function to get the block the player is seated in.

    seated block query
  • Added more ModVector3 utility functions.

    modvector3 utility function
  • Added support for including other lua scripts, which must be inside the data_static folder; sub-folders are not supported.

    inclusion of other lua script
  • Added support to enable or disable invincibility of the player.

    player invincibility toggle
  • Added 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 removal
  • Added support to show a subtle message to all players or a specific one.

    subtle player message