CGUnit_C::OnFootstep
function · objectlayer · primitive
- Address
0x5fbf70· 928 bytes, up to0x5fc30f- Meaning
- Prints a footprint, shakes the camera and sprays for a footstep near the camera, unless hidden
- Confidence
- verified, proof one
- Finding
- objectlayer/unitanim#model-events
- Test
objectlayer::uh_placement_dist2_difftest,objectlayer::uh_placement_inner_range_difftest,objectlayer::uh_placement_ground_z_difftest,objectlayer::uh_placement_height_gate_difftest
Finding: Model events in objectlayer: unit animation
A sequence's events reach 0x5ffbd0 through 0x607840, keyed by four-character tags. Footstep
tags, two letters and a digit ($FL0, $WR3), leave footprints and splashes; $FD1 to $FD9
and $TRD play foley; $SHL and $SHR move a weapon between hand and sheath; $CSL, $CSR and
$CST launch spell missiles; an unknown tag prints UNHANDLEDANIMEVENT|%.4s.
The derivation is in the doc.
Callers 1
- CGUnit_C::OnModelEvent objectlayer
Callees 14
- OsGetAsyncTimeMs core
- ClntObjMgrGetActivePlayer objectlayer
- GetActiveCamera ui
- CameraAddShake uicamera
- CGUnit_C::IsSpeedWithinTwiceWalk objectlayer
- CGUnit_C::GetFootprintParams objectlayer
- CEffect::CEffect objectlayer
- PlantHardcodedEffect objectlayer
- PlantEffect objectlayer
- CEffect::Release objectlayer
- SMemAlloc storm
- CWorld::AddFootprint terrain
- CWorld::GetEntityLight terrain
- CWorld::GetEntityLightFlags terrain
Calls and jumps by a bare address, from tables/calls.tsv.