DeployableTurretConfig
Type
This field controls the type, it must be set to the constant value "Turret" to function as this type.
Type information: Constant value: Turret
Id
Used to identify this deployable for uses such as MaxLiveCount
Type information: (Nullable) String
MaxLiveCount
The maximum amount of this deployable that can be live at once
Type information: Integer defaults to: 2147483647
Model
Type information: String
Reference to a ModelAsset asset
ModelPreview
Type information: (Nullable) String
Reference to a ModelAsset asset
ModelScale
Type information:
(Nullable) Either Number defaults to: 1.0 or String that matches the pattern: ^(-?Infinity|NaN)$
LiveDuration
The duration of the lifetime of the deployable in seconds
Type information:
(Nullable) Either Number defaults to: 1.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Invulnerable
Whether this deployable is invulnerable to damage or not
Type information: Boolean defaults to: false
Stats
The default stat configuration for the deployable
Type information:
(Nullable) Map of the following:
| Key | Type | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
any String | StatConfig
|
DeploySoundEventId
The ID of the sound to play upon deployment (at deployment location)
Type information: (Nullable) String
DespawnSoundEventId
The ID of the sound to play when despawning
Type information: (Nullable) String
DieSoundEventId
The ID of the sound to play when despawning due to death
Type information: (Nullable) String
AmbientSoundEventId
The ID of the sound to play ambiently from the deployable while it's in the world
Type information: (Nullable) String
SpawnParticles
A collection of model particles to play when this deployable is spawned.
Type information:
(Nullable) Array of the type:
ModelParticle with the following properties:
| Key | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SystemId | String | |||||||||||||
| TargetEntityPart | Any one of the following String (defaults to Self):
EntityPart
| |||||||||||||
| TargetNodeName | (Nullable) String | |||||||||||||
| Color | (Nullable) A color in the form:
| |||||||||||||
| Scale | Number defaults to: 1.0 | |||||||||||||
| PositionOffset | (Nullable)
Vector3f
| |||||||||||||
| RotationOffset | (Nullable)
Direction
| |||||||||||||
| DetachedFromModel | Boolean defaults to: false | To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space. | ||||||||||||
| ClearParticlesOnRemove | Boolean defaults to: false | When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan. |
DespawnParticles
A collection of model particles to play when this deployable is despawned.
Type information:
(Nullable) Array of the type:
ModelParticle with the following properties:
| Key | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SystemId | String | |||||||||||||
| TargetEntityPart | Any one of the following String (defaults to Self):
EntityPart
| |||||||||||||
| TargetNodeName | (Nullable) String | |||||||||||||
| Color | (Nullable) A color in the form:
| |||||||||||||
| Scale | Number defaults to: 1.0 | |||||||||||||
| PositionOffset | (Nullable)
Vector3f
| |||||||||||||
| RotationOffset | (Nullable)
Direction
| |||||||||||||
| DetachedFromModel | Boolean defaults to: false | To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space. | ||||||||||||
| ClearParticlesOnRemove | Boolean defaults to: false | When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan. |
DebugVisuals
Whether or not to display debug visuals.
Type information: Boolean defaults to: false
AllowPlaceOnWalls
Whether or not this deployable can be placed on walls.
Type information: Boolean defaults to: false
WireframeDebugVisuals
Whether debug visuals will be wireframe or have color.
Type information: Boolean defaults to: false
HitboxCollisionConfig
The HitboxCollision config to apply to the deployable.
Type information: (Nullable) String
Reference to a HitboxCollisionConfig asset
CountTowardsGlobalLimit
Whether or not this deployable counts towards global deployable limit
Type information: Boolean defaults to: true
TrackableRadius
The radius in which a targeted entity can be tracked
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
DetectionRadius
The radius in which an entity can be targeted
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
RotationSpeed
The speed at which the turret can rotate to hit it's target
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
PreferOwnerTarget
If true, will prefer targeting entities that the owner is attacking
Type information: Boolean defaults to: false
Ammo
The total ammo the turret has, each projectile will consume one
Type information: Integer defaults to: 0
DeployDelay
The delay in seconds until the deployable is ready to begin targeting logic
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
ProjectileConfig
Type information:
ShotInterval
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
BurstCount
Type information: Integer defaults to: 0
BurstCooldown
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
ProjectileDamage
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
CanShootOwner
Type information: Boolean defaults to: false
Knockback
Type information:
(Nullable) Any of these:
Key: Type | Type | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
default case: Directional | DirectionalKnockback
| ||||||||||||||||||||||||||||||
| Force | ForceKnockback
| ||||||||||||||||||||||||||||||
| Point | PointKnockback
|
TargetOffset
Type information:
(Nullable)
Vector3d with the following properties:
| Key | Type | Description |
|---|---|---|
| X | Number defaults to: 0.0 | |
| Y | Number defaults to: 0.0 | |
| Z | Number defaults to: 0.0 |
DoLineOfSightTest
Type information: Boolean defaults to: true
ProjectileHitWorldSoundEventId
The positioned sound event played to surrounding players when the projectile hits a player
Type information: (Nullable) String
ProjectileHitLocalSoundEventId
The positioned sound event played to a player hit by the projectile
Type information: (Nullable) String
RespectTeams
Type information: Boolean defaults to: true
ProjectileSpawnOffsets
Type information:
(Nullable) Map of the following:
| Key | Type | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
any String | Vector3d
|
Notes:
Types referenced by this type
ChangeVelocityType
(Nullable) Any one of the following String (defaults to Add):
| Name | Description |
|---|---|
"Add" | Adds the velocity to any existing velocity |
"Set" | Changes the velocity to the given value. Overriding existing values. |
