Shells
Last updated
Last updated
This command is the same and does exactly the same as the command from AV Gangs.
If av_gangs is started, the script will ignore the command from this script to prevent duplicated commands and possible errors.
Run the following command using the shell model that you want to configure:
This will teleport your character inside the shell, by pressing H you can copy the coords offsets.
If is a new shell and you want to use it as lab interior you will need to add it to config/_shells.lua > Config.Interiors, you can copy/paste one of tables that already exist and change the values.
Table Info:
Index key: Is the shell spawn name, needs to be unique and will be also used for labs interiors in server/editable/_labs.lua > Config.LabTypes > shellModel
zIndex: This value indicates how far below the ground the shell will be spawned.
door: Door coords offsets, this value can be retrieved by pressing H while inside a test shell.
Once we have our shell setup in our Config.Interiors, we can continue using the H button to retrieve the coords offsets for lab interactions zones, this coords are added in server/editable/_labs.lua > Config.LabTypes > interactions > coords.
Read the Labs section to learn how to add new lab types.