Skip to content

ShareTurretData

Borrows the voxel model of another object type's turret instead of loading one of the animation's own.

Specification
Applies to
VoxelAnimType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

ShareTurretData=yes makes the animation draw the turret model of the object type named by ShareSource. The animation then loads no .VXL file for itself.

A turret model is a separate file from the body. A vehicle has one only when it has a turret, and borrowing from a vehicle without one leaves the piece invisible. The exception is a turretless voxel vehicle whose ID is APC: it keeps its <Image ID>W.VXL model, when that file exists, in the turret part, and this flag borrows that model.

An animation borrows only one part. The engine checks the three sharing flags in the order body, turret, barrel and uses the first one set. ShareBodyData=yes therefore overrides this flag, and this flag overrides ShareBarrelData.