CHRD

From Wulinshu
Revision as of 18:48, 12 May 2019 by PhilYeahz (talk | contribs) (Created page with "====CHRS==== The CHRS contains data that is defined by the STRG node. CHRS and STRG are entangled. =====Functions===== {| class="wikitable" |- ! Name !! Description |- | DEF...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CHRS

The CHRS contains data that is defined by the STRG node. CHRS and STRG are entangled.

Functions
Name Description
DEFIMAGE(35, {Model_ID}, {uint32}) Defines a model
IMAGE(25, {float}, {Model_File}) Assigns model file
IMAGE(3, {Model_ID}) Assigns model file (from humans.afs)
POSITION({uint32}, {x}, {y}, {z}) Sets the position of the currently active model
ANGLE({uint32}, {x}, {y}, {z}) Sets the rotation of the currently active model

STRG (Strings)

CHRS and STRG are entangled.

Position Length Type Description
0x00 0x04 string Identifier (STRG)
0x04 0x04 uint Size in bytes
0x08 0x0? strings Strings with zero termination