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

Environment trigger help

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
What trigger?

Cliffs and terrain types are completely unrelated. The cliff mesh always overwrites any terrain tiles at the affected vertex and cliffs types cannot be modified with triggers.

Terrain types can be modified with triggers, however the 16 tile limit still applies. Triggers can dynamically load tile types if not at the 16 tile limit but once a tile type is loaded it cannot ever be unloaded.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
English please.
According to a spell checker all the words I wrote were in English. I am pretty sure all the words are inside the Oxford Dictionary. Well maybe I misspelt a few, I suck as spelling...

what would I do to do that?
You could try hiding the terrain and then using custom doodad models.

Modifying the ".w3e" binary file directly can allow up to 2^32 cliff types, however only the first 16 can be referenced by terrain nodes and only the first 2 textures and meshes will load (all others will glitch randomly with correct blending but wrong meshes).
 
Level 6
Joined
Apr 20, 2016
Messages
215
The cliffs only, example when I will make a new map and my tileset is lordareon summer and the cliffs are dirt and grass now I will use environment change the center of the map to cityscape tiled walls but unfortunately it only shows the tile above but doesn't show the cliff
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
The cliffs only, example when I will make a new map and my tileset is lordareon summer and the cliffs are dirt and grass now I will use environment change the center of the map to cityscape tiled walls but unfortunately it only shows the tile above but doesn't show the cliff
Yes that is because...
Cliffs and terrain types are completely unrelated. The cliff mesh always overwrites any terrain tiles at the affected vertex and cliffs types cannot be modified with triggers.
One can declare more than 2 cliff types in a map, but only the first two will function correctly. Cliff type and terrain type are unrelated mechanically, with the only relationship being forced by slk files which force a terrain tile type to be included along with a cliff tile type. Interesting mechanics is that this relationship occurs implicitly before the custom tile pallet is loaded meaning one can save 8 bytes or so by not declaring the terrain type attached to the cliffs.
 
Status
Not open for further replies.
Top