From the Depths

Brilliant Skies Ltd. · Simulation

From the Depths patch notes · Aug 16, 2015

Experiment

1.76 TO 1.7713 (LUA SCRIPTING SUPPORT)

What's new in 1.76 TO 1.7713 (LUA SCRIPTING SUPPORT): 49 changes to From the Depths, released Aug 16, 2015.

Balance · 3

  • Seagulls now follow the player rather than the camera.

    seagull following behaviour
  • The Flayed soul vehicle was improved for its use in a story mission.

    flayed soul vehicle
  • Heartstones are no longer permanently removed when destroyed, but in some game modes they cannot be repaired.

    heartstone destruction behaviour

Content · 24

  • Some new 4m metal blocks were added.

    metal block
  • BlockInfo structures can now be retrieved through the Lua component interface.

    blockinfo retrieval
  • A variable thrust thruster was added for missiles.

    variable thrust thruster
  • WeaponInfo.PlayerCurrentlyControllingIt was added to the Lua interface.

    lua weaponinfo interface
  • More story missions were added and newly added story missions were tweaked.

    additional story mission
  • New missions were added and factions were updated.

    new story missions and faction update
  • A complex controller style interface for pressing keys such as TGYHUJIKOLUpDownLeftRight was added to Lua.

    complex controller style interface
  • A spin block interface was added to Lua.

    spin block interface
  • Hydrofoils were added to the Lua adjustable component list.

    hydrofoils in adjustable component list
  • A TimeSinceLaunch field was added to the MissileWarningInfo structure.

    timesincelaunch field
  • Missile Guidance interface functions were added to Lua, along with a missile block to facilitate them.

    missile guidance interface function
  • Lua scripting was added via a new block called the LUA Box.

    scripting block
  • More Lua functions were added for getting construct information and terrain height.

    construct info and terrain height function
  • Unlocks (story missions) were removed.

    unlocks removed
  • Thrust control functions were added to the Lua interface.

    thrust control interface function
  • Vector3, Quaternion and Mathf libraries were added to Lua by default.

    lua math library
  • A ClearLogs() function was added to Lua.

    clearlogs function
  • Default Lua code was written into the LUABox.

    default lua code
  • Construct orientation interface functions were added to Lua.

    construct orientation interface function
  • The shield projector was added to the Lua component interface.

    shield projector interface
  • Missile Warning interface functions were added to Lua.

    missile warning interface function
  • BlockInfo was enhanced with position relative to the center of mass and local and global rotation quaternions.

    blockinfo position and rotation data
  • getn was added to the table whitelist.

    getn table whitelist
  • An Id field, unique for each missile and target, was added to MissileWarningInfo and TargetInfo.

    id field

Controls · 2

  • Pressing F8 saves and runs the player's Lua code.

    code save and run shortcut
  • The Tab key is now remappable.

    tab key binding

System · 4

  • The Lua library was swapped for a more powerful and faster replacement, and the Update(I) function was created.

    lua library replacement
  • The slua Lua library now supports Linux.

    lua library platform support
  • Poster board and LUABox text now syncs over the network.

    text sync over network
  • Lua sandboxing was completed.

    lua sandboxing

UI · 3

  • Line numbers were added to the Lua Editor, roughly matching error messages.

    lua editor line number
  • A confirm button was added for restarting the vehicle designer.

    vehicle designer restart confirmation
  • A missile guidance delay slider was added to the Missile Setup GUI.

    missile guidance delay slider

Fix · 13

  • Fixes were made to missiles and the thumper warhead.

    missile and thumper warhead fix
  • math.randomseed was added to the Lua whitelist.

    math.randomseed whitelist
  • Changes to force selection in the lobby are now forwarded to players who join the server later.

    multiplayer force selection forwarding
  • Some further Lua fixes were made.

    lua fix
  • A bug with uploading planets to the workshop from folders containing more than one planet was fixed.

    planet workshop upload
  • An issue with the auto sloping of wood was fixed.

    wood auto sloping
  • When the LUA box fails to save, an error appears, the Lua code is copied to the clipboard, and the player can paste it back and press SAVE.

    lua box save failure
  • The Lua .so file was replaced with a working one.

    lua .so file
  • TargetInfo retrieval no longer crashes if the target has died.

    target info crash on dead target
  • The Lua GetTargetPositionInfoForPosition function was fixed.

    gettargetpositioninfoforposition function
  • Corrupted blueprints in the constructables folder no longer cause problems, and a pop-up alerts the player that they are corrupt.

    corrupted blueprint handling
  • Reversing ships now reverse properly.

    ship reversing behaviour
  • A double counting error regarding scores in qualification mode was fixed.

    qualification mode score double counting