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

Opacity for trees

Status
Not open for further replies.
Level 13
Joined
Jun 3, 2011
Messages
1,058
Hi guys i just want to know if can you add opacity for tress? For example when your camera hits the spot like if there is a tree in the area the opacity of the tree goes down so you can see your hero
 
Level 9
Joined
Apr 23, 2011
Messages
527
you mean transparency? (but that works too)
i don't think so. i've never seen a transparency option in the doodad actions. i think you have to use their hide animation to hide the doodad.
 
Level 13
Joined
Jun 3, 2011
Messages
1,058
you mean transparency? (but that works too)
i don't think so. i've never seen a transparency option in the doodad actions. i think you have to use their hide animation to hide the doodad.

I did saw a game with transparency last time? Or what should i do to make the tress hide?
 
I think there is a function for occlusion height, but I haven't used it myself. You might want to look into it.

Otherwise, you have three main options: (1) enum destructables around the hero and hide them (2) import a model with an animation that makes the destructable transparent, and set the destructable animation as necessary (3) make the destructables units and set the vertex color to 50% or w/e around the hero.
 
Status
Not open for further replies.
Top