Home › Reflected data types › FGXModelFramework

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

Reflected types: FGXModelFramework

Back to the overview.

Model framework: timelines, triggers, behaviours, mesh bindings (inferred).

FGXModelFramework::TimelineSet::TriggerType (enum)

Members and values stored by GetEnumInfo (0x7e43b0).

Member Value
Unknown 0
AssetVFX 1
Sound 2
Transfer 3
Action 4
ArtDefVFX 5
Light 6
Count 7

FGXModelFramework::BehaviorDesc

Layout read from GetTypeInfo (0x7d5e70), size 288 bytes.

Offset Field Type
0 (0x0) m_pDSG Serialization::PackagePtr64<DDT::StateGraph::Root>
8 (0x8) m_Timelines TimelineSet
64 (0x40) m_Animations Types::Vector<FGXModelFramework::BehaviorDesc::AnimationDesc, Types::LinearAlloc::DefaultPackage>
88 (0x58) m_SpecialBoneIDs Types::Vector<int, Types::LinearAlloc::DefaultPackage>
112 (0x70) m_SpecialBoneOffsets Types::Vector<FGXMatrixRow, Types::LinearAlloc::DefaultPackage>
136 (0x88) m_MeshBindingBoneIDs Types::Vector<int, Types::LinearAlloc::DefaultPackage>
160 (0xa0) m_BoneLabels Types::Vector<Types::pair<unsigned int, unsigned int>, Types::LinearAlloc::DefaultPackage>
184 (0xb8) m_MeshBindings Types::Vector<FGXModelFramework::BehaviorDesc::MeshBinding, Types::LinearAlloc::DefaultPackage>
208 (0xd0) m_SlotBindings Types::Vector<FGXModelFramework::BehaviorDesc::SlotBinding, Types::LinearAlloc::DefaultPackage>
232 (0xe8) m_ModelInfo Types::Vector<FGXModelFramework::BehaviorDesc::ModelInfo, Types::LinearAlloc::DefaultPackage>
256 (0x100) m_GrannyModels Types::Vector<Serialization::PackagePtr64<Granny::PackageModel>, Types::LinearAlloc::DefaultPackage>
280 (0x118) m_nDSGAnimationSlots unsigned short
282 (0x11a) m_nDSGAnimationBindings unsigned short

FGXModelFramework::BehaviorDesc::AnimationDesc

Layout read from GetTypeInfo (0x7d5b90), size 8 bytes.

Offset Field Type
0 (0x0) nSourceType uint32
4 (0x4) nSourceIndex uint32

FGXModelFramework::BehaviorDesc::MeshBinding

Layout read from GetTypeInfo (0x7d6460), size 20 bytes.

Offset Field Type
0 (0x0) nFromSkeleton unsigned char
1 (0x1) nToSkeleton unsigned char
2 (0x2) nTransformElementsPerBone unsigned char
3 (0x3) _PAD unsigned char
4 (0x4) nToStart uint32
8 (0x8) nFromStart uint32
12 (0xc) nFromCount unsigned short
14 (0xe) nToCount unsigned short
16 (0x10) nStateMask uint32

FGXModelFramework::BehaviorDesc::ModelInfo

Layout read from GetTypeInfo (0x7d6930), size 16 bytes.

Offset Field Type
0 (0x0) nBoneLabelStart unsigned short
2 (0x2) nBoneLabelCount unsigned short
4 (0x4) nSpecialBoneStart unsigned short
6 (0x6) nSpecialBoneCount unsigned short
8 (0x8) nMeshBindingStart unsigned short
10 (0xa) nMeshBindingCount unsigned short
12 (0xc) nStateMask uint32

FGXModelFramework::BehaviorDesc::SlotBinding

Layout read from GetTypeInfo (0x7d6d70), size 4 bytes.

Offset Field Type
0 (0x0) nSlotIndex unsigned short
2 (0x2) nItemIndex unsigned short