CGUnit_C::UpdateTint
function · objectlayer · primitive
- Address
0x60cb50· 158 bytes, up to0x60cbed- Meaning
- Sets the model tint from the colour pulse or the first tint effect when it changes
- Confidence
- verified, proof one
- Finding
- objectlayer/auras#kit-character-procedures
- Test
objectlayer::fade_model_rgb_difftest
Finding: Kit character procedures in objectlayer: auras
0x60d7c0(spell, kit, time) runs the kit's four procedures, kinds at +0x3c and four float
parameters each from +0x4c. Kinds 0 and 12 start a chain beam, 1 tints the model, 6 tints the
screen, 8 colours the weapon trail, 11 starts an effect, 13 pulses a colour, 14 sets a
translucency, 15 fades the unit; the rest do nothing. Tints and pulses skip a harmful spell on a
creature whose type flags have 0x40.
The derivation is in the doc.
Callers 1
- CGUnit_C::Update objectlayer
Callees 2
- CGUnit_C::GetPulseColor objectlayer
- CM2Model::SetDiffuseColor models
Calls and jumps by a bare address, from tables/calls.tsv.