• 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.

Limit for number of tiles in a tileset

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
What is the limit for the total number of tiles that can be in a tileset?
Technically 4,294,967,295 entries. However due to technical limitations you will be lucky to make 1 billion entries before the file becomes too large or you hit an Out of Memory error due to WC3 being 32bit. Same limit applies for cliffs but they are counted separately.

That said only the first 16 tiles and 2 cliffs can actually be used. This is because the game only allocates 4 bits for tiles and another 4 bits for cliffs. The cliff limit is some other hard-coded constant as in theory 16 cliffs are supported.
 
The most you can get in the regular editor is 13 (?) through Advanced -> Modify Tileset.

JassNewGenPack (in our 'tools' section) allows you to get up to 16. Follow these instructions to put them in your map:
http://www.hiveworkshop.com/forums/2198172-post6.html

Note that you only need JassNewGenPack to add the tiles to your map. You can edit it in the regular editor after you've done so (if you'd like).
 
Status
Not open for further replies.
Top