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

More than max tiles

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
And can i do triggers aswell?
Triggered tiles eat into the same 16 tile limit. The tile limit is likely a result of a 4 bit bitfield member being used for tile variation (16 possible combinations). I speculate that it may even load tiles beyond 16 however it is impossible to ever use such tiles because overflow occurs with the bitfield (eg tile 17 becomes tile 0).

Once a tile type is loaded during a session it cannot be unloaded. This is important for triggers as you can dynamically load tile types. Trying to load tile types beyond the 16 limit usually results in some semi-random (probably overflow related) tile type being used instead of the specified type.
 
Status
Not open for further replies.
Top