TurretAnimZAdjust
The depth bias a building's turret art is drawn with.
Specification
- Applies to
- BuildingType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- integer
- When omitted
0
The value is in pixels of depth. A lower value draws the art in front of what it overlaps and a higher one behind it, which is why turret art is normally given a negative bias — it has to reach over the structure it is mounted on.
Which art it biases depends on how the turret is drawn. A turret animation carries the bias itself. A TurretAnimIsVoxel=yes building has no animation and writes its voxel turret and barrel at this depth instead. A BarrelAnimIsVoxel=yes building writes its voxel barrel at a fixed bias of 15 pixels in front and reads this key for its turret animation alone.