MFA File Structure
Docs
Powered by
Powered by
COICommon
What is a COICommon?
COICommon is a structure with common data used between object loaders other than Backdrops.
Structure
Size
Type
Name
Description
4
UInt32
Object Flags
Definitions
4
UInt32
New Object Flags
Definitions
4
RGBA
Background Color
18
UInt16[9]
Qualifiers
The qualifier ids of the object, -1 indicates an empty qualifier entry, the final entry is always empty
...
CListVariables
Alterable Values
A list of alterable value definitions
...
CListVariables
Alterable Strings
A list of alterable string definitions
...
CMovements
Movements
A list of movements defined by this object
...
CBehaviours
Movements
A list of behaviours defined by this object
1
Boolean
Has Fade In
Whether or not this object has a Fade In transition, if false then the next variable does not exist
...
CTransition
Fade In
The Fade In Transition, only exists if Has Fade In is true
1
Boolean
Has Fade Out
Whether or not this object has a Fade Out transition, if false then the next variable does not exist
...
CTransition
Fade Out
The Fade Out Transition, only exists if Has Fade Out is true
Flag Definitions
Object Flags
Value
Name
Description
0x000001
Display in Front
Usage is unknown
0x000002
Background
0x000004
Save Background
0x000008
Run Before Fade In
0x000010
Has Movements
0x000020
Has Animations
0x000040
Tab Stop Focus
0x000080
Is Window Process
0x000100
Has Alterable Values, Strings, and Flags
0x000200
Uses Images
0x000400
Interal Save Background
0x000800
Don't Follow the frame
0x001000
Display as background
0x002000
Don't Destroy object if too far from frame
0x004000
Inactivate if too far from window: No
0x008000
Inactivate if too far from window: Yes
0x010000
Uses Text
0x020000
Create at start
0x040000
Unknown
0x080000
Unknown
0x100000
Do not reset current frame duration when the animation is modified
New Object Flags
Value
Name
Description
0x001
Don't Save background
0x002
Wipe with color
0x004
Use fine detection Disabled / Collision with Box
0x008
Visible at start
0x010
Obstacle Type: Obstacle
0x020
Obstacle Type: Platform
0x040
Obstacle Type: Ladder
0x080
Automatic Rotations Enabled
0x100
Initialize Flags