StandingFrames
The number of frames in one facing's standing artwork of a shape-drawn vehicle.
- Applies to
- UnitType
- File
art.ini- Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted- Value
- integer
- When omitted
- Computed1 for a vehicle whose FiringFrames is above 0, and 0 otherwise.
The standing artwork is what a vehicle shows while it stands still in its cell and is neither firing nor dying.
At 0 the vehicle has no standing artwork, and it is drawn from the first frame of its facing’s walk run instead. At any other value it is drawn at frame StartStandFrame plus its facing number times this count. The count is therefore also the spacing between one facing’s standing run and the next.
The count is stored in a single signed byte, so it wraps every 256: 128 to 255 store as negative numbers and 256 stores as 0. A negative count still selects the standing run, but each facing after the first is then drawn from a frame before StartStandFrame.
On a Turret=yes vehicle with firing frames, the defaults collide. The default eight facings and one standing frame put the default StartStandFrame at 8 × WalkFrames, the same frame where the turret frames start unless StartTurretFrame moves them. The engine does not separate them, so a resting body is drawn from the turret’s frames with the turret drawn on top. Set StartStandFrame to give such a vehicle a separate standing frame.
[REAPER] ; the Image ID of the stock Cyborg Reaper, which has no turret frames to collide withFacings=8StandingFrames=1StartStandFrame=0 ; frames 0-7WalkFrames=12StartWalkFrame=8 ; the walk block follows the standing frames, frames 8-103