• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Solved] Elevators {how to make them higher/what is change occlusion?}

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,601
Hey.

I have a small problem with elevators.

  • How do I raise them higher? Now they're like handicap elevators.
  • And what the hell this suppose to do?
  • Destructible - Set the occlusion height of Elevator[2] to 1000.00
Map is attached to the post. Rep will be given to the helpers.
 

Attachments

  • ELEVATORS.w3x
    18.6 KB · Views: 43
Level 13
Joined
Oct 25, 2009
Messages
995
You raise higher the elevator(Except you use Ctrl+Page Up,you can push it up,and set the level of the elevator.)
EDIT: I tried this also,doesn't work lol,but work for 1-3 level.
  • Destructible - Set height of Elevator[1] to ((Height of Elevator[1]) + 2)
 
Occlusion is actually what blocks the vision of units. Terrain height is what affects the vision of units; terrain height is actually the cliff-layering, while "raise" tool is not considered as an alteration to the terrain's height.

When you have a value of 1000 for Occluder height, this means that a unit, in order to see above this height, it has to stand on a 1000/128 ~= 8 level cliff, since each cliff level equals to 128 height. Keep in mind that a 0 level cliff is the ground, untouched.

So, when a unit steps onto the elevator, if the area around is fogged, up to the occlusion height of the elevator, it will be able to reveal the area nearby (which is also affected by the vision range (day/night) of the unit) (the height of unit must be higher than the occluder height of the elevator).
 

Bannar

Code Reviewer
Level 26
Joined
Mar 19, 2008
Messages
3,140
For further information, you can always use this tutorial. Scroll a bit down, there is also part about field Art - Occluder Height (Real).

There is only one way to change elevator height.. via triggers ofcourse. Its trigger mentioned above already:
  • Destructible - Set height of yourElevator to X
Where X is the integer number from pool: 1, 2, 3. One is the lowest level. There are no other levels, warcraft3 engine doen't support them thus doesn't react on actions forcing it to do so.
Remember that action above opens way on newest level for any unit and closes on previous one.
You can learn a lot about Elevator here.
 
Status
Not open for further replies.
Top