HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

SetDayNightModel + Teamcolours...

09-25-2006, 07:39 PM#1
Hyarion
I'm using "call SetDayNightModels(" .mdl", " .mdl")" so that the map appears totally black, and so do the units. This is great. The problem is, that the units teamcolour is visible in the dark. Even when set to Neutral Hostile, so it's totally black, it's still a bit visible. Is there any way around this without alphaing out the teamcolour, and if not, how do I do that?
09-25-2006, 08:45 PM#2
Meanie
I have also used SetDayNightModels("","") and that works perfectly with teamcolors...

Are you using any custom models which where not made propperly?
09-26-2006, 06:48 AM#3
Hyarion
Nope.
Ghouls, Abombinations and Acolytes. The one custom model I AM using doesn't have any teamcolour and is totally invisible when unlit.
09-26-2006, 11:50 AM#4
Meanie
Hmm, strange since i just tested it with Abo's and such and they where very invisible. I wanted to attach a pic but atm my trials have expired.

Maybe its just your brightness value of your screen or is the teamcolors totally visible or just slightly?

I am afraid thats my best answer tho...
09-26-2006, 03:18 PM#5
Rao Dao Zao
The problem is that the actual team colour part of the material is "unshaded"; ie, unaffected by in-game lighting, or as you're experiencing it, lack thereof.

So unless you're going to replace every model with a verion that has the team colour shaded (a single tag removed), you're going to have to stick with what you've got.
09-26-2006, 03:32 PM#6
Hyarion
Which tag? You mean editing the .mdl as a text file, or something?
09-26-2006, 03:47 PM#7
Rao Dao Zao
Well, Magos' model editor would be the easier route, but pretty much, yes.
09-26-2006, 04:40 PM#8
Hyarion
Thanks.
09-26-2006, 04:58 PM#9
Nasrudin
Before doing that, try some heavy black fog maybe?
09-26-2006, 10:20 PM#10
Anitarf
Yeah, if the units are intended to be in-the-black anyway then you could use fog to cover it up, unless you want them to be in the foreground, silhuetted by brighter areas - in that case, use unit tinting to make them black.

The only thing that would be difficult to pull of would be a gradual transition from unlit to lit. Even then, the neutral hostile dark teamcolour should be pretty invisible in the dark.
09-27-2006, 06:38 AM#11
Hyarion
Hmmm. Okay, thanks.