• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How to get terrain from different tile-sets?

Status
Not open for further replies.
Level 4
Joined
May 12, 2016
Messages
73
I'm looking for way to have multiple terrains on the same map. Terrain from e.g. Dalaran and Dungeon and Felwood. All 3 Tile-sets have different terrains, but is it possible to get those terrains on the same map?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
You can choose up to 16 tile types from any tile set you want. Be aware that cliff types will load their matching tile type before the tile type list. Up to 16 cliff types can be used however only the first 2 will load cliff meshes. This limit is a result of each terrain node only allocating 4 bits (16 possibilities) for terrain type and for cliff type. The cliff mesh limit of 2 is from an unknown, likely software, limit.
 
Level 15
Joined
Sep 6, 2015
Messages
576
There is another way using the normal editor, though, but it isn't as convinient as actually being able to place the tiles in the editor, especially when you need to fill a huge amount of randomly-shaped areas with new tiles.

  • Untitled Trigger 001
    • Events
    • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
    • Environment - Change terrain type at (Center of Region 000 <gen>) to Lordaeron Summer - Dirt using variation -1 in an area of size 10 and shape Circle
Notice, though, that it won't change terrain properties like buildable/unbuildable, even though it can place buildable tiles on top of the unbuildable and the other way round, and it won't change the minimap terrain colour of the area it is applied to. It also can't change cliff types, although there are cliffs also present in the menu of the trigger.
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
Notice, though, that it won't change terrain properties like buildable/unbuildable, even though it can place buildable tiles on top of the unbuildable and the other way round, and it won't change the minimap terrain colour of the area it is applied to.
This is because it only modifies the terrain mesh. Tile buildability/pathing is a virtual relation in World Edit that it bakes certain pathing onto the pathing map over certain tile types. Like wise World Edit bakes all terrain, doodads and destructables into a mini-map image in the form of a JPEG BLP with no mipmaps which the game uses as the minimap image.

Do note the trigger approach can dynamically load tile types but cannot exceed the 16 tile type limit. Once a tile is used it will never be unloaded during a session. Trying to use tile types after the 16 tile type limit is reached will result in a seemingly random tile type being used, likely the result of arithmetic overflow in the bitfield used to store tile type.
 
Status
Not open for further replies.
Top