Quote
Originally posted by Aprosenf:
(and maybe while turning, I'm not sure)
Bible excerpt:
Quote
Flags:
0x0001 - Extra frames in base image are used to display banking. The first set of sprites is used for level flight, the second for banking left, and the third for banking right.
0x0002 - Extra frames in base image are used for animated ship parts such as for folding/unfolding wings. The sprites will be cycled upon landing, taking off, and entering/exiting hyperspace.
0x0004 - The second set of frames in the base image are displayed when the ship is not carrying any of its KeyCarried type ships onboard.
0x0008 - Extra frames in base image are shown in sequence, just like the sprites in the alternating image. The AnimDelay field has the same effect in this case.
0x0010 - Stop the ships' animations when it is disabled
0x0020 - Hide alt sprites when the ship is disabled
0x0040 - Hide running light sprites when the ship is disabled
0x0080 - Ship unfolds when firing weapons, and folds back up when not firing.
0x0100 - Adjust ship's visual presentation to correct for the skew caused by graphics that are rendered highly off-axis from vertical. This uses the ship's UpCompressY and DnCompressY fields to interpolate the proper sprite frame to display based on the ship's actual heading. Use this with caution, as it tends to cause very jerky ship rotation and is mostly included as a curiosity.
Note that the first four flags in this field are mutually exclusive - i.e. you can have a ship that banks, unfolds, changes appearance when it is carrying a certain other ship type, or animates in sequence, but these effects can't be combined. The only exception is that having both flags 0x0001 and 0x0002 set is treated specially - it results in a ship whose extra frames are used for banking and which always displays its engine glow when it is turning, whether or not it is actually accelerating. (This something that got thrown in at some point when I realized that it would be necessary to have in order to replicate the behavior of a certain type of ship from a certain TV show).
Emphasis is mine, as is reformatting for better web compatibility.
------------------
The programmer's code of entomology: there's always another bug.
Windows users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)
(url="http://"http://www.cwssoftware.com")Sephil Saga Website(/url)
(This message has been edited by orcaloverbri9 (edited 01-16-2004).)