ConfigurationAdvanced
Interiors
Learn how to configure interiors in your resource.
Adding a New Interior
Follow these steps to add a new interior to your resource:
- Open the
config.luafile in the resource folder. - Locate the
Config.Interiorstable. - Add a new entry in the table, structured as follows:
- Replace
'interior_name'with a unique identifier. This must not match any other interior and will be used to reference it in other configurations. - Replace
x,y,z, andheadingwith the cameras's location. - Replace
x,y, andzin therotationfield with the camera's rotation. - Save the file and restart the resource.
Changing the Default Interior
To set a default interior:
- Open the
config.luafile in the resource folder. - Locate the
Config.DefaultInteriorvariable. - Adjust the value as needed:
- Replace
'interior_name'with the identifier of the interior you want as default. - Save the file and restart the resource.