CGUnit_C::Mount
function · objectlayer · primitive
- Address
0x607a00· 604 bytes, up to0x607c5b- Meaning
- Loads the mount model, seats and scales the body on it, takes its footprints and sound data
- Confidence
- verified, proof one
- Finding
- objectlayer/unitdisplay#mounts
- Test
objectlayer::unit_mount_scale_difftest
Finding: Mounts in objectlayer: unit display
The UNIT_FIELD_MOUNTDISPLAYID watcher passes the old id to 0x5ffa50, which dismounts from the
old mount and mounts the new one with effect kind 6. 0x607a00 loads the mount model, seats the
body at the mount's attachment 0 playing animation 91, scales the rider by its scale over the
mount's, and takes the mount's footprints and sound data. 0x607ce0 reverses it.
The derivation is in the doc.
Callers 3
- CGUnit_C::PostInit objectlayer
- CGUnit_C::OnMountDisplayChanged objectlayer
- CGUnit_C::OnDisplayChanged objectlayer
Callees 16
- ApplyCreatureDisplay charactermodel
- GetActiveCamera ui
- SetCameraTargetByGuid ui
- CGUnit_C::UpdateBaseAnimation objectlayer
- CGUnit_C::GetMountSoundData objectlayer
- CGObject_C::SetModel2 objectlayer
- CreateModelFromPath models
- HandleClose2 models
- CM2Model::SetBaseTransform models
- CM2Model::SetAlpha models
- CM2Model::SetDiffuseColor models
- CM2Model::SetEmissiveColor models
- CM2Model::SetDoneCallback models
- CM2Model::PlayAnimation models
- CM2Model::Attach models
- CM2Model::SetEventCallback models
Calls and jumps by a bare address, from tables/calls.tsv.