• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,208
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: 52
  • emil23_fixed.jpg
    emil23_fixed.jpg
    115.5 KB · Views: 223
Status
Not open for further replies.
Top