Skip to content

Part Container Function

Ferdinand Calo edited this page Mar 14, 2020 · 5 revisions
# Function Overview
Name: Container Function
Function: allows the part to give "container slots" to the vehicle, as result making it able to carry containers
From FVTM: yes

The Container Function allows the part to include one more ContainerSlot into a Vehicle.

Example config:

    "Function": {
    	"id": "fvtm:container",
    	"x": 26, "y": 0, "z": 12,
        "length": 12
    }

Here an overview of the available fields:

  • id - the id of the function, it is fvtm:container
  • type - optional, ContainerType if specified this slot will be locked
    to only accept containers of this type
  • x, y, z - slot center position
  • length - "length" of the slot, e.g. 12 long slot can fit 2 MEDIUM(6) containers
    6 long slot can fit 3 TINY(2) containers but not a LARGE(12) one
  • rot - optional, the container's rotation in degrees, default 0
  • name - unique id/name for the slot obsolete, id is automatically the part category
  • rot_point - optional, id of the SwivelPoint to assign this container slot to, default:vehicle
Clone this wiki locally