1. Melee Mapping contest #3 - Poll is up! Vote for the best 4v4 melee maps!
    Dismiss Notice
  2. The 30th edition of the Modeling Contest is finally up! The Portable Buildings need your attention, so come along and have a blast!
    Dismiss Notice
  3. We have a new contest going on right now! Join the 11th Music Contest! You are to make a Cinematic modern sound-track for this contest, so come and compete with other people for fun.
    Dismiss Notice

Editor Bug: Phantom Water Height

Discussion in 'Patch 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:
    200
    Resources:
    5
    Maps:
    2
    Tutorials:
    3
    Resources:
    5
    I submitted a Java fixer for this problem:
    Water Mesh Height Fixer

    You do not need to correct it manually anymore.