BuildCreateCharacter
function · glue · orchestration
- Address
0x470b70· 273 bytes, up to0x470c80- Signature
void __fastcall (void *record, uint32_t unused)- Meaning
- Replaces the create character with one built from a record when its race and sex have a model path
- Confidence
- inferred
- Finding
- glue/create#building-the-character
Finding: Building the character in glue: character create
A build needs a model path for the race and sex. It destroys the old character, makes one, loads the path into the frame's scene, sets the model's two callbacks and an animation,
sets the character up from the record, applies the stored facing, rebuilds the class list,
dresses it, bakes it and passes it with the frame's model at +0x318 to 0x712f70. With no
path nothing changes; a failed load leaves the new character without a model.
The derivation is in the doc.
Callers 3
- ResetCreateCharacter glue
- SelectCreateRace glue
- SelectCreateSex glue
Callees 16
- BuildCreateClassList glue
- DressCreateCharacter glue
- SetCreateFacing glue
- NewCharacterComponent charactermodel
- DeleteCharacterComponent charactermodel
- InitCharacterComponent charactermodel
- UpdateCharacterComponent charactermodel
- GetRaceSexModelData objectlayer
- CreateModelFromPath models
- CM2Model::SetDoneCallback models
- CM2Model::PlayAnimation models
- CM2Model::GetParent models
- CM2Model::Attach models
- CM2Model::Detach models
- CM2Model::SetLightingCallback models
- SimpleModelGetScene ui
Calls and jumps by a bare address, from tables/calls.tsv.