Jump to content
  • Advertisement
Sign in to follow this  
Mr_Ridd

Warcraft 3 Maps

This topic is 5118 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey Does anyone know how Warcraft 3 does its land for their maps. In the editor you place textures down as though it's 2D. You can also have different heights, I don't think it's a heightmap. Thanks

Share this post


Link to post
Share on other sites
Advertisement
IIRC warcraft 3 maps are a combination of tiles and height mapping. It consists in a series of vertices that each have a base height (determined using the height-alteration tools), a "cliff" height (you can increase/decrease it using cliff tools) and a ground type. These vertices are laid out on a grid.

Now, at rendering time (or maybe it is saved at build time?), the engine builds the actual stuff in the quads formed by sets of four vertices. For instance, if a vertex is one cliff higher than the three below, the quad will be rendered as a "cliff corner". The height of the actual model vertices for that quad area will be transformed based on the base height of the four vertices.

Concering textures, it renders using multitexturing, in one or more passes, various layers of textures that when combined create the illusion of "grass on stone on mud".

So basically, it's a simple tile-based system, except the tiles are quads the corners of which can have different heighets, and some tiles are special 3D tiles (the cliffs).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!