s_liquidHalf
global · terrain
- Address
0x869ffc· 4 bytes, up to0x869fff- Type
float- Meaning
- Holds 0.5
- Confidence
- verified, proof one
- Finding
- terrain/liquid#animated-textures
Finding: Animated textures in terrain: liquid
0x68aac0(type) returns the current frame of liquid type 0 to 7: with a period of 1.25 s,
truncated to 1,250 ms, frame = nearest(float(30·(t mod 1250)/1250) − 0.5) for the clock t in
milliseconds. The 30 frames load on first use from XTextures\river\lake_a.%d.blp,
ocean\ocean_h, lava\lava, slime\slime, then lake_a, none, lava and slime for types
4 to 7, numbered 1 to 30.
The derivation is in the doc.