CLAS

From OpenMW Wiki
Jump to: navigation, search

Character Class Definition.

NAME = Variable length, string. Class ID.
FNAM = Variable length, string. Class name.
CLDT = 60 bytes, used as:
    4 bytes, integer. AttributeID1.
    4 bytes, integer. AttributeID2.
    4 bytes, integer. Specialization?
       -- 0 = Combat,
       -- 1 = Magic,
       -- 2 = Stealth.
    4 bytes, integer. MinorID1.
    4 bytes, integer. MajorID1.
    4 bytes, integer. MinorID2.
    4 bytes, integer. MajorID2.
    4 bytes, integer. MinorID3.
    4 bytes, integer. MajorID3.
    4 bytes, integer. MinorID4.
    4 bytes, integer. MajorID4.
    4 bytes, integer. MinorID5.
    4 bytes, integer. MajorID5.
    4 bytes, integer. Playable flag.
       -- 0x0001 = Playable.
    4 bytes, integer. AutoCalcFlags.
       -- 0x00001 = Weapon,
       -- 0x00002 = Armor,
       -- 0x00004 = Clothing,
       -- 0x00008 = Books,
       -- 0x00010 = Ingrediant,
       -- 0x00020 = Picks,
       -- 0x00040 = Probes,
       -- 0x00080 = Lights,
       -- 0x00100 = Apparatus,
       -- 0x00200 = Repair,
       -- 0x00400 = Misc,
       -- 0x00800 = Spells,
       -- 0x01000 = Magic Items,
       -- 0x02000 = Potions,
       -- 0x04000 = Training,
       -- 0x08000 = Spellmaking,
       -- 0x10000 = Enchanting,
       -- 0x20000 = Repair Item.
DESC = Variable length, string. Character class description.

Go back to main esx page.