s_waterWaves
global · terrain
- Address
0x86a034· 4 bytes, up to0x86a037- Type
uint32_t- Meaning
- Holds the waterWaves setting, 2 by default; liquid type 13 reads it as a texture name
- Confidence
- verified, proof one
- Finding
- terrain/world#world-console-commands
Finding: World console commands in terrain: world
Five toggles flip one world flag each and print the new state through ConsoleWrite in class 0:
a set bit is cleared with <name> disabled., a clear one set with <name> enabled. (no period for
particulates). showSimpleDoodads does so to the word 0xc7b2c4, storing 0 or 1. waterMaxLOD,
waterWaves, waterSpecular and waterRipples read a %d into their words, which keep their
value when no number parses; waterMaxLOD is then held to 0 to 4, signed. Each handler returns 1.
The ripple emitter reads waterRipples, and only its handler the simple doodad word. The water
words follow the 9-entry frame name table 0x86a000: the frame loader's 0x68ab44 reads them as
the name formats of liquid types 12 to 15.
| handler | command | word | name |
|---|---|---|---|
0x673050 | showDetailDoodads | flag 0x100000 | Detail doodads |
0x673250 | showCull | flag 0x20 | Terrain culling |
0x673770 | waterParticulates | flag 0x2000000 | Particulates |
0x673a30 | showShadow | flag 0x40 | Terrain shadow |
0x673a70 | showLowDetail | flag 0x4000000 | Terrain low detail |
0x673ac0 | showSimpleDoodads | 0xc7b2c4, 0 at start-up | Simple doodads |
0x6736c0 | waterMaxLOD | 0x86a030, 4 | none |
0x673710 | waterWaves | 0x86a034, 2 | none |
0x673730 | waterSpecular | 0x86a038, 1 | none |
0x673750 | waterRipples | 0x86a03c, 1 | none |
The derivation is in the doc.