Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

XRC Breakdown

scott-t edited this page Aug 9, 2012 · 16 revisions

What follows is a rough analysis of the meaning of the data nodes within XRC files, obtained through experimentation and just browsing through the resource tree.

Root Type Sub Type Name Original Class Description
1 W_Root_t
2 Root location W_Level_t
2 2 Unknown2 contains scene directory number
3 Sub-scene?
3 1 Possible load hook for subdir .xrc files?
4 W_Layer_t
4 1 W_Layer2D_t? BG/FG
4 2 W_Layer3D_t? Main ‘layer’
5 W_Camera_t
6 W_Floor_t
7 W_Face_t
8 W_Item_t
8 3 April
8 5 Sprites?
8 8 Background
8 A 3D characters?
8 ? W_ItemVisual_t
8 ? W_ItemVis2D_t
8 ? W_ItemIntLevel_t
8 ? W_ItemIntGlobal_t
9 Script groups? W_Script_t Appears as subnode to root 1A 1 elements, seeming to group script events
A 0 Default AnimSet W_AnimHierarchy_t
B W_Anim_t
B 1 Default Anim
B 2 W_AnimSmackerStream_t
B 3 W_AnimRealtimeBones_t
C Model Direction?? W_Direction_t
D Flat image W_Image_t
D 1 HiColorImage
D 3 TextImage
E 0 Animation Script W_AnimScript_t
F Anim Script Item W_AnimScriptentry_t
10 Sound Item W_Sound_t
11 W_Path_t
12 W_FloorField_t
13 W_Bookmark_t
14
14 2 Knowledge
14 4 Locations
15 W_Knowledge_t
15 0 Knowledge node?
15 2 seconds
16 Script actions W_ScriptCommand_t
16 0 Begin
16 1 End
16 3 Call
16 4 Interactive
16 5 Goto
16 8 Game loop
16 9 Pause
16 A Pause Rand
16 14 Fade in/out
16 51 3D Place on
16 52 3D Walk to
16 53 3D Follow path
16 54 Look at
16 57 Enable
16 5C Use
16 5D Play Anim
16 5E Enable
16 5F Show/Play
16 60 Set Bool
16 64 Set Int
16 67 Enable Floorfield
16 68 Play anim
16 70 Play Snd
16 76 Look direction
16 77 Stop Snd
16 7A Scroll set
16 7B FMV
16 7F Enter diary entry
16 81 Change Snd
16 84 3D Run to
16 85 Place direction
16 87 Activate texture
16 88 Activate mesh
16 8B Speech no talk anim
16 A2 Is on floorfield?
16 A3 Is Enabled?
16 A6 Is set?
16 AC Is equal?
16 AF Is Rnd?
16 B1 ‘Is on place?’
16 B9 Anim is at time
17 0 Default PAT?? W_PATTable_t
1A W_Container_t
1A 1 Scripts Either root (‘Script’ or ‘Script Prologue’) or sub-node
1A 2 Speech
1A 5 Sound Root or sub-node
1A 8 Stock Sounds
1A 9 FMVs
1B Scene elements W_Dialog_t
1D Dialog node W_Speech_t
1E Background Animation W_Light_t
20 W_Mesh_t(?) Model (Mesh, bones, …)
21 W_Scroll_t
22 W_Fmv_t
23 Lipsync W_Lipsync_t
24 W_AnimScriptBonesTrigger_t
25 W_String_t
26 W_TextureSet_t
26 ? W_TextureSetNormal_t
26 ? W_TextureSetFacial_t Probably the facial textures used for the lipsync
Clone this wiki locally