• 🏆 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!

[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,208
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