Skip to content

ShareBarrelData

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

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

ShareBarrelData=yes makes the animation draw the barrel model of the object type named by ShareSource, the separate gun model. The animation then loads no .VXL file for itself.

A vehicle has a barrel model only when it has a turret. Borrowing from a type without one leaves the piece invisible.

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. This flag takes effect only when neither ShareBodyData nor ShareTurretData is set.