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

region has roof?

Status
Not open for further replies.
Level 4
Joined
Aug 8, 2011
Messages
84
I would try one of the following depending on which best suits your needs:

1: Change the time of day to midnight when entering this area.

2: Create a very large unit with no model and a shadow at the area, this way it looks like just this area is overcast.
 
Level 13
Joined
Oct 10, 2009
Messages
439
Aww sheit, So. I have this custom script that utilizes daynight models to tint everything with darkness, thus allowing lights and such to work (Ever played a game it was really dark in, and the lights were magnified tenfold? Thats what this script does) Anyway, Google "War3 Daynight models" You're bound to find it there.

Basically, that code will make the room really dark, Just place some torches or lights around the place to brighten it up.

The problem appears if you want your map to be multiplayer, Where players may be in seperate areas at once, Seeing how this script is global and cannot effect one player you need to use the (Get Localplayer) custom script to single out one player, Yet again I dont have the script on me so google (Get LocalPlayer War3) and it should help.


Note, Get LocalPlayer can cause desyncs if used incorrectly. However, if used correctly there should be no problems at all.
 
Status
Not open for further replies.
Top