Skip to content

- A reference guide and manual in Russian for Heroes 3.

User Avatar
#413
Auto-translated
Perhaps the information is too specific for the reference section, but I couldn't find a better place, so I'm posting it here. **Dependence of the appearance of the "greened" stack on coordinates** Whether or not a "greened" stack appears depends on the following condition: ([ax + by + cz + d] mod 32768) mod 100 < 50, where a = 2992.911117 b = 14174.264968 c = 5325.181015 d = 32788.727920 0 <= x <= 143 0 <= y <= 143 z = 0 for the surface z = 1 for the underground [x] = floor(x) A "greened" stack will appear if the condition is met. Location of neutral creatures with a "greened" stack for a 144 x 144 map with an underground and without 0 - no "greened" stack, 1 - "greened" stack present. You can check a cell (x, y, z) for a "greened" stack using the Bitmap Generator program.