StaticItems
Description
StaticItems creates configured entities and attachments when the module initializes. It can place props and other compatible entities at exact world coordinates. Entities treated as players by the game are created with damage disabled.
Configuration
Default configuration
StaticItems.json
json
{
"m_Enable": 0,
"m_Items": [
{
"m_Class": "SurvivorM_Elias",
"m_Attachments": [
"AC_TacticalGloves_Admin",
"AC_TacticalShirt_Admin",
"AC_CargoPants_Admin",
"AC_MilitaryBeret_Admin",
"AC_MilitaryBoots_Admin"
],
"m_Position": {
"m_X": 4745.825195,
"m_Y": 339.002350,
"m_Z": 10369.158203
},
"m_Orientation": {
"m_Yaw": 60.0,
"m_Pitch": 0.0,
"m_Roll": 0.0
}
}
]
}Options
| Option | Type | Description |
|---|---|---|
m_Enable | bool | With 1, enables the module. With 0, disables it. |
m_Items | array<object> | Objects to create. |
m_Items[]
| Option | Type | Description |
|---|---|---|
m_Class | string | Exact entity class. |
m_Attachments | array<string> | Item classes created inside the entity. |
m_Position | object | Exact world coordinates. |
m_Orientation | object | Object rotation. |
m_Items[].m_Position
| Option | Type | Description |
|---|---|---|
m_X | float | World X coordinate in metres. |
m_Y | float | Elevation in metres. |
m_Z | float | World Z coordinate in metres. |
m_Items[].m_Orientation
| Option | Type | Description |
|---|---|---|
m_Yaw | float | Yaw in degrees. |
m_Pitch | float | Pitch in degrees. |
m_Roll | float | Roll in degrees. |
Use the following class in m_Items[].m_Class to place a prop at the configured coordinates.
| Class | Purpose |
|---|---|
AC_Workbench | Decorative Workbench model. |
