DKC:TF > Level File (ROOM)
Type | Description |
---|---|
CFormDescriptor | Form descriptor |
ROOM Form
Type | Description |
---|---|
CFormDescriptor | Room header (ROOM) |
CFormDescriptor CFormDescriptor ... CFormDescriptor | Script layers (LAYR) |
Room Header Form
RMHD Chunk
Type | Description |
---|---|
Uint16 | Unknown |
PRGP Chunk
Type | Description |
---|---|
List16<CScriptPerformanceGroup> | Performance groups |
CScriptPerformanceGroup
Type | Description |
---|---|
Uint32 | Name length |
Char[] | Name |
CGuid | Editor id |
Bool | Is active |
List16<CGuid> | Referenced layers |
LGEN Chunk
LUNT Form
Type | Description |
---|---|
CChunkDescriptor | LUHD chunk (header) |
CChunkDescriptor | LRES chunk (resource ids) |
CChunkDescriptor | LLYR chunk (layer ids) |
LUHD Chunk
LRES Chunk
LLYR Chunk
CScriptLayer
Type | Description |
---|---|
CChunkDescriptor | LHED chunk (header) |
CFormDescriptor | GSRP form (generated objects) |
CFormDescriptor | SRIP form (script components) |
LHED Chunk
Type | Description |
---|---|
String | Script layer name |
CGuid | Layer id |
Uint16 | Unknown |
List16<CGuid> | Load unit ids |
CGuid | Unknown |
Bool | Unknown |
GSRP Form
These components can be spawned by a GeneratorGOC. This form is filled with GGOB chunks containing the following data:
Type | Description |
---|---|
CGuid | Object id |
List16<CGameObjectComponent> | Components |
SRIP Form
This form is filled with CGameObjectComponent chunks.
CGameObjectComponent
A CGameObjectComponent is stored as a COMP chunk with the following content:
Type | Description |
---|---|
Uint32 | Component type hash |
CGuid | Component id |
String | Component name |
List16<SConnection> | Connections |
List16<SScriptLink> | Script links |
... | Component data |
SConnection
Type | Description |
---|---|
CFourCC | Connection id 1 |
CFourCC | Connection id 2 |
CGuid | Component id |
Uint16 | Unknown |
Uint8 | Unknown |
Uint8 | Unknown |