• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Cliff remove request

Status
Not open for further replies.

N41

N41

Level 7
Joined
Sep 1, 2015
Messages
148
Create a new map with shallow water. Increase the height with Raise tool and NOT cliff tool.

Then just copy paste your terrain!

Just be careful that you do not copy the shore cliffs.

Though this will not avoid making a new map. Your work will be reduced.

Edit: Doing it piece by piece would be better to avoid burdening your PC

Edit:
You could select shallow water, take the biggest size and go over your whole map.
Units/Doodads/Terrain will survive, you just have to raise the spots that you want.
This way only Units and Doodads will survive, Terrain will die if there are cliffs anywhere inside other than shorelines..
Also buildings with incompatible pathings will be deleted...
This is a good option though, if a new map is to be avoided..
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
Can someone remove cliffs from all shores on map? and it possible without making again all terrain map?
I have stripped the map of all cliffs while preserving terrain vertex height.

The process took 5 minutes to write the macro using my w3e Java interface. It then took <0.1 seconds to execute and remove all cliffs.

The following code was used...
Code:
terrain.simpleTransform( V -> {
	V.setGroundHeight(TerrainVertex.convertHeightWC3ToVertex(
		TerrainVertex.convertHeightVertexToWC3(V.getGroundHeight()) + 128f * V.getCliffLevel()));
	V.setCliffLevel(0);});

This is what the result looks like.

attachment.php



If you want to preserve cliffs, you would need to define what "from all shores" means from a technical point of view.
 

Attachments

  • emil23_World War 2 SoE 18.0a_fix.w3x
    7.6 MB · Views: 53
  • emil23_fixed.jpg
    emil23_fixed.jpg
    115.5 KB · Views: 239
Status
Not open for further replies.
Top