XPlor/definitions/cod/materialconstantdef.xscript
njohnson 7b1f5d34a1 Consolidate XScript definitions with byte order inheritance
- Volition VPP: Unified BE/LE types using inheritance pattern
- THQA PAK: Child types now inherit byte order from parent
- Various XScript definition updates and fixes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 16:08:46 -05:00

14 lines
343 B
Plaintext

type materialconstantdef ui("Material Constant Def")
{
u32 name_hash ui("Name Hash");
// Name is 12 bytes of raw data (null-padded string)
name_bytes = read(12);
name = ascii(name_bytes) ui("Name");
u32 literal_1 ui("Literal 1");
u32 literal_2 ui("Literal 2");
u32 literal_3 ui("Literal 3");
u32 literal_4 ui("Literal 4");
}