s_corpseModelPath
global · objectlayer
- Address
0xc4c000· 260 bytes, up to0xc4c103- Type
char[260]- Meaning
- Holds the skeleton model path 0x5d6700 formats for a corpse
- Confidence
- verified, proof one
- Finding
- objectlayer/corpses#the-corpses-model-path
Finding: The corpse's model path in objectlayer: corpses
Slot 10 gives the model file. A skeleton (flags bit 0) uses
World\Generic\PassiveDoodads\DeathSkeletons\%s%sDeathSkeleton.mdx with the race's file string
(ChrRaces row +0x3c, indexed by the byte at +0x69) and the gender word Male, Female or
NOSEX for the byte at +0x6a. Any other corpse uses the model of its display id: the
CreatureDisplayInfo row's +0x4 indexes the model store, whose row +0x8 is the path. A miss
prints INVALIDPLAYERDISPLAYID|%d|%d|%d or INVALIDPLAYERMODELRECORD|%d|%d|%d and gives no path.
The derivation is in the doc.