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

[General] Tileset increase

Status
Not open for further replies.
Level 1
Joined
Oct 14, 2017
Messages
2
I'm hoping this hasn't been over done too many times but I am looking for a way to increase the number of terrain tiles I can use on a map. I have the Sharp editor DL'd but Idk much about it.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
The 16 tile limit is purely because the game only allocates 4 bits per terrain node for tile variance. The engine actually supports more than 16 tiles just one cannot ever use them as overflow in the 4 bit field causes other tile types to be used. Fixing this is likely a non-trivial change, especially with backwards compatibility, and will degrade performance due to having to allocate at least another 2 bytes per terrain node.

Ironically it also allocates 4 bytes for cliff type as well. However only the first 2 values function correctly with all others resulting in buggy cliff meshes.
 
Status
Not open for further replies.
Top