tdauth / submarine-warfare

Warcraft III Reforged funmap in which you control your submarine and have to destroy the other submarines.
0 stars 0 forks source link

Idea to scan the seabed for Z values #113

Closed tdauth closed 3 years ago

tdauth commented 3 years ago

If we cannot get the actual Z value, use a unit with a negative Z value and let it attack a unit floating. Use the time until the missile hits to calculate the Z value.

Scan the whole map and return Z values for all cells to store them in an array.

These Z values can be used to fix the camera height.

tdauth commented 3 years ago

See #136