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
TurretAnimZAdjust is the depth bias of a building’s turret art, in pixels. A lower value draws the art in front of what it overlaps, and a higher one behind it. Turret art usually needs a negative value so that it draws over the structure it is mounted on.
Which art the bias applies to depends on how the turret is drawn:
- A turret drawn from an animation takes the bias.
- A
TurretAnimIsVoxel=yesbuilding has no turret animation. Its voxel turret and barrel take the bias instead. - A
BarrelAnimIsVoxel=yesbuilding applies the bias to its turret animation only. Its voxel barrel always uses a bias of-21, 21 pixels in front.