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.lua
file in the resource folder. - Locate the
Config.Interiors
table. - 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
, andheading
with the cameras's location. - Replace
x
,y
, andz
in therotation
field with the camera's rotation. - Save the file and restart the resource.
Changing the Default Interior
To set a default interior:
- Open the
config.lua
file in the resource folder. - Locate the
Config.DefaultInterior
variable. - 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.