Modding Reference by Category | |
---|---|
Sims 4: DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS4 Programmer's Reference |
Model Footprint - FTPT | ||
---|---|---|
TypeID: | 0xD382BF57 | |
Game Version: | The Sims 4 |
Contents |
Overview
This is an RCOL chunk.
Complete format provided by SimGuruModSquad on the EA official forums
Format
DWORD Tag // 'FTPT' DWORD Version // 0x000C / 12 TGI TemplateKey: // Key of template used, in ITG (LONG Instance, DWORD type, DWORD group) format LONG Instance DWORD Type DWORD Group --- if TemplateKey Type not 0: // if TemplateKey type is not zero, data from the template is used BYTE minHeightOverrideCount // the minimum and maximum heights here will override the template PolygonHeightOverride minHeightOverrides[minHeightOverrideCount] // see PolygonHeightOverride structure below BYTE maxHeightOverrideCount PolygonHeightOverride maxHeightOverrides[maxHeightOverrideCount] // see PolygonHeightOverride structure below --- if TemplateKey Type is 0: BYTE FootprintAreaCount Area FootprintAreas[FootprintAreaCount] // see Area structure below BYTE SlotAreaCount Area SlotAreas[SlotAreaCount] // see Area structure below FLOAT MaximumHeight FLOAT MinimumHeight
PolygonHeightOverride structure
DWORD NameHash FLOAT Height
Area structure
DWORD NameHash BYTE Priority DWORD AreaTypeFlags // FootprintPolyFlags - see below BYTE PointsCount -- PointsCount times: // list of polygon points FLOAT X FLOAT Z DWORD IntersectionObjectType // IntersectionFlags - see below - type of object DWORD AllowIntersectionTypes // IntersectionFlags - objects for which intersection is ignored DWORD SurfaceTypeFlags // SurfaceTypeFlags - see below DWORD SurfaceAttributeFlags // SurfaceAttributeFlags - see below BYTE LevelOffset // Deprecated -- Bounding Box 3D: FLOAT min_x FLOAT min_z FLOAT max_x FLOAT max_z FLOAT min_y FLOAT max_y
Flags
|
|