TurretFacings
Added in 0.2.0
The number of facings a shape-drawn vehicle's turret artwork is cut into.
Specification
- Applies to
- UnitType
- File
art.ini- Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted- Value
- integer
- When omitted
32
Only a Turret=yes vehicle drawn from shape artwork uses this value. It is independent of the hull’s Facings. Stock art never sets TurretFacings, so the stock Titan’s turret has the default 32 frames.
Use 8, 16, 32 or 64. The turret then shows the frame for its heading rounded to that many compass points. The first frame faces northwest, and the frames after it turn clockwise. With any other value, the turret always shows the first frame, whichever way it aims.
[MYTANK] ; the Image ID of a shape-drawn UnitType that sets Turret=yes in rules.iniFacings=8 ; eight body facingsWalkFrames=15TurretFacings=16 ; 16 turret frames, from frame 120 by defaultStartTurretFrame sets the frame the turret frames start at.
History
- Added0.2.0In development