Cliff remove request

Status
Not open for further replies.
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:
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

Status
Not open for further replies.
Back
Top