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

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