Game Settings

Updated on 1 September 2024

There are several settable options for your level that you can choose to turn on or off according to your needs. This section explains about each one, and includes the code snippet you must insert at the top of your Gameflow.lua file.

Entries with an asterisk (*) can also be used on a level by level basis.

Further functions can be found at the TombEngine Lua API Documentation


Home Level #

To enable a “Lara’s Home” style level that is on the title screen.

Flow.EnableHomeLevel(true)

If enabled: the first level block in your Gameflow will be the title level, then the level accessed on the title screen, then any level after that.

To change the name of the menu entry: please add the following nameKey to your Strings.lua fileĀ 

--Strings.Lua
home_level = { "Insert name here" },

Available in a future release.

Flight Cheat* #

To enable the flight-cheat mode by pressing the letter O during gameplay.

Flow.EnableFlyCheat(true)

This will allow the player to fly around the level. It is not advisable to turn this on when releasing your level. However, you can also take some creative measures to ensure this is not turned on if someone tries to modify your game files and enables it…

Set Intro Image Path #

Set the image that displays when the game executable is launched.
Flow.SetIntroImagePath(path)

The path is relative to TombEngine.exe

Show Lara In Title #

To show Lara in the title screen.

Flow.EnableLaraInTitle(true)

You can also set the animation Lara is performing via Lua.

Enable Mass Pickups* #

Set to true if you want to enable Lara to pickup multiple objects at the same time, as used in TR1 – TR3.
Flow.EnableMassPickup(true)

If enabled: the first level block in your Gameflow will be the title level, then the level accessed on the title screen, then any level after that.

Texture Filtering* #

Set to true if you want textures to be displayed with their true pixels. Set to false to enable texture smoothing.

Flow.EnablePointFilter(true)

If enabled: the first level block in your Gameflow will be the title level, then the level accessed on the title screen, then any level after that.