XPlor/definitions/cod/materialconstantdef.xscript

14 lines
469 B
Plaintext
Raw Normal View History

2026-01-01 22:18:40 -05:00
type materialconstantdef [display="Material Constant Def"]
{
u32 name_hash [ui, readonly, display="Name Hash"];
// Name is 12 bytes of raw data (null-padded string)
name_bytes = read(12);
name = ascii(name_bytes) [ui, readonly, display="Name"];
u32 literal_1 [ui, readonly, display="Literal 1"];
u32 literal_2 [ui, readonly, display="Literal 2"];
u32 literal_3 [ui, readonly, display="Literal 3"];
u32 literal_4 [ui, readonly, display="Literal 4"];
}