1. The contestants were to create water structures for the 20th Terraining Contest. Choose one in the public poll!
    Dismiss Notice
  2. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  3. The Melee Mapping Contest #4: 2v2 - Results are out! Step by to congratulate the winners!
    Dismiss Notice
  4. We're hosting the 15th Mini-Mapping Contest with YouTuber Abelhawk! The contestants are to create a custom map that uses the hidden content within Warcraft 3 or is inspired by any of the many secrets within the game.
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice

Editor Bug: Phantom Water Height

Discussion in 'Patch & Reforged Discussion' started by Kaijyuu, May 23, 2017.

  1. Kaijyuu

    Kaijyuu

    Joined:
    Jun 2, 2004
    Messages:
    848
    Resources:
    0
    Resources:
    0
    This is a bug I came across when making a map and figured I'd report it with reproduction steps and a test map.


    The bug: Water placed at a high cliff level that is later removed will retain the same water height despite there being no water there. This is mostly unnoticeable except that unit selection circles for aquatic units and the targeting cursor for AoE spells will think you're hovering over water.


    To reproduce:

    Use the terrain brush to raise a block of land by 2-3 cliff heights.
    Place water on this new plateau.
    Save the map.
    Remove the water by raising the cliff height.
    Use the "same level" terrain brush to remove the entire raised block of land.
    Save the map.

    Now AoE targeting cursors will be strangely distorted when targeting the area where the water used to be.


    Attached is a test map and some screenshots showing off the problem. Just learn Flamestrike with the blood mage and try to target the cut-out part of the mountain, or walk over the area with a naga unit (like the myrmidon) selected. It's also noticeable in the editor with unit shadows (though this is editor only; shadows look fine in-game).


    For those suffering from this problem and wanting to fix it in their own map:
    You can change the water height by simply placing water at a lower cliff height and removing it. Tedious to do in a large area (especially if you don't want to remove doodads and the like), though.
     

    Attached Files:

    Last edited: May 23, 2017
  2. Tommi Gustafsson

    Tommi Gustafsson

    Joined:
    May 26, 2017
    Messages:
    269
    Resources:
    6
    Tools:
    1
    Maps:
    2
    Tutorials:
    3
    Resources:
    6
    I submitted a Java fixer for this problem:
    Water Mesh Height Fixer

    You do not need to correct it manually anymore.