Warning: Too many direct light styles on a face(?,?,?)

Warning: Too many direct light styles on a face(?,?,?)

Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Thu Mar 25th 2004 at 11:46am
Wild Card
2321 posts
Posted 2004-03-25 11:46am
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
"Too many direct <B style="BACKGROUND-COLOR: red">light</B> <B style="BACKGROUND-COLOR: red">styles</B> on a face"
There are too many <B style="BACKGROUND-COLOR: red">light</B> entities with different names lighting the same surface, the limit is about 5 differently named lights.
?Remove some <B style="BACKGROUND-COLOR: red">light entities and use textured lighting instead
?Use lights with the same name to <B style="BACKGROUND-COLOR: red">light</B> up the same area</B>
Remember how I toped off the largest log file in history? Well, I did it again, this time, it was 43mb big.

I keep getting that damn error, but the problem is, its nothing like in the quote above. In the whole map, I have 5 lights, and 3 light_environments. 3 of the lights are in the stairwell, the 4th one is in the corridor leading to the stairwell on the top floor. The 5th one, is in the room after the corridor inside a vent on the ceiling. That one it a red light, the rest are white. The four white lights each have a different name, the red one, is nameless.

The light_environment, I have 1 outside in the large outdoor area, the second, in the smaller outdoor area, and the third is at the helicopter area. All 3 light_environment are named the same.

As well, my sky isnt blocking for some reason. I can see the helicopter rotor spinning from the large outdoor area. And I can see at times, brush work from the mountain through the sky. I take it this is because of the error as I dont know why else.

But why am I getting this error?
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by KungFuSquirrel on Thu Mar 25th 2004 at 1:36pm
KungFuSquirrel
751 posts
Posted 2004-03-25 1:36pm
751 posts 393 snarkmarks Registered: Aug 22nd 2001 Occupation: Game Design, LightBox Interactive Location: Austin TX
The culprit is quite possibly linked to the 4 whie lights having their own separate names - sometimes as little as 3 lights can set this off.

Also, do you have any custom appearances on these lights? i.e. flickering/fading/etc, even blinking or manually triggered toggles. This is often another culprit.

Try removing the names on the white lights. Also, if you find the correct problem area, you can try playing with the ZHLT fade value on the lights to make them 'smaller.'

Also, consider trying fewer bounces.

Make sure any names on lights are necessary - never give a light a name unless it is specifically triggered by anything. Naming a static light will not only possibly contribute to problems like this, but leave the light in the map as an entity, where unnamed lights are culled in the compile.

Why are the light_environments named, and do you really need 3 different ones?

(Lep's note from the future- texture lights seem to have caused this, see later, but this is the cause for this error...)
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Jinx on Thu Mar 25th 2004 at 2:00pm
Jinx
874 posts
Posted 2004-03-25 2:00pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
um, light_environments are global (unless you use an old compile parameter to prevent them from not being). so basically... if they are all 3 working, you already have at least THREE light styles on every face that's outside. they might be why your sky is screwy as well...

cut it down to one light_environment, and unname all lights that don't need to be named as kfs said... that should do it I would think.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by fraggard on Thu Mar 25th 2004 at 2:12pm
fraggard
1110 posts
Posted 2004-03-25 2:12pm
fraggard
member
1110 posts 220 snarkmarks Registered: Jul 8th 2002 Occupation: Student Location: Bangalore, India
Yeah. I'm pretty sure it's the light_environments. I think I had the same error once when I accidentally cloned one of them thinking it was a regular light.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Thu Mar 25th 2004 at 4:25pm
Wild Card
2321 posts
Posted 2004-03-25 4:25pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
Ok, I didnt know the light_environment was a global entity. So then I can remove 2 of them. And take out their name.

As for the white lights, they are named because they can be manual triggered via a func_breakable "fusebox"

They dont have custom appearences though.

I'll remove the light_environments and see what happends. I'm at school at the moment and I have an operation afterwards (tooth pulling time :biggrin: ) So I'll let you guys know tomorow, as I wont be at school. I need 3 days rest, docs orders :biggrin:
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Jinx on Thu Mar 25th 2004 at 4:39pm
Jinx
874 posts
Posted 2004-03-25 4:39pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
3 days of rest = 3 days of mapping :cool:
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by fishy on Thu Mar 25th 2004 at 5:23pm
fishy
2623 posts
Posted 2004-03-25 5:23pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
Wild Card said:
As well, my sky isnt blocking for some reason. I can see the helicopter rotor spinning from the large outdoor area. And I can see at times, brush work from the mountain through the sky. I take it this is because of the error as I dont know why else.

But why am I getting this error?
doesn't the game have problems with large or complex func_brushes showing through sky?

i used to think that all func_brushes did, but that was down to my bad/lazy mapping practices. :leper:
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Gollum on Thu Mar 25th 2004 at 5:37pm
Gollum
1268 posts
Posted 2004-03-25 5:37pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
fishy said:
doesn't the game have problems with large or complex func_brushes showing through sky?

i used to think that all func_brushes did, but that was down to my bad/lazy mapping practices. :leper:
If a solid entity is large enough, then it will be rendered from ALL areas of the map (within a certain distance). This will be visible through the sky.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Orpheus on Thu Mar 25th 2004 at 6:07pm
Orpheus
13860 posts
Posted 2004-03-25 6:07pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
i was going to point that out as well mike..

just because a func is seen from afar, doesn't in itself signify poor mapping, its an engine defect.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Thu Mar 25th 2004 at 7:39pm
Wild Card
2321 posts
Posted 2004-03-25 7:39pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
Jinx said:
3 days of rest = 3 days of mapping :cool:
Yer damn right. After I do another reformat that is :biggrin:

here's a picture of what I mean:

<!--thumb-->http://www.snarkpit.com/pits/wild%20card/alert/de_alert0024.JPG')">[simg]<A href=[simg]http:/www.snarkpit.com/pits/wild%20card/alert/de_alert0024a.JPG</a>" border=0></a><!--/thumb-->
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Thu Mar 25th 2004 at 7:40pm
Wild Card
2321 posts
Posted 2004-03-25 7:40pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
Some images in this post have been automatically down-sized, click on them to view the full sized versions:

User posted imageLep! Your thumbs BB code aint working! :cry:

Oh well, just click the link to the larger pic.

[edit]
Damnit Its not working :evil:
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Thu Mar 25th 2004 at 8:19pm
Wild Card
2321 posts
Posted 2004-03-25 8:19pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
Ok, Im still getting the Warning: Too many direct light styles on a face(?,?,?) error (sorry I C&P the title :biggrin: )

I now have one 1 light_environment without a name and 1 light with a name because it is triggered by a func_breakable.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by JFry on Thu Mar 25th 2004 at 9:36pm
JFry
369 posts
Posted 2004-03-25 9:36pm
JFry
member
369 posts 82 snarkmarks Registered: Mar 9th 2004 Occupation: Scumbag Location: USA
try reducing the brightness of the light triggered by the func_breakable or take it out all together just to see if this is causing the problem. Also looking over the entity report for a map can reveal things that weren't properly deleted (happens to me at least). Maybe you have a light entity somewhere you don't know about.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by omegaslayer on Thu Mar 25th 2004 at 10:31pm
omegaslayer
2481 posts
Posted 2004-03-25 10:31pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Getting ur wisdom teeth pulled? No big its actually quite fun when they put you under. But as for your lighting problem, maybe you acidently cloned a light over on top of another light, do an entity report and see how many you actually have. As for the choper blade, there is one thing you can do, and thats place a barely visable func_illusionary right in front of it, that will block it from being renderd by the engine from far away, or you can lower the max vis distance in your map properties.

Good luck with your operation, I REPEAT DO NOT DRINK SUGAR BEVERAGES UNTIL YOUR HOLES IN YOUR HEAD HAVE CLOSED UP. just a little advice :biggrin:
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Thu Mar 25th 2004 at 10:45pm
Wild Card
2321 posts
Posted 2004-03-25 10:45pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
Uh,, Dont knw hy but the erior it if fix now, I only had the sky lght and 1 triggerrrrred light.

Iii try to radd some lghteing laterl
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Orpheus on Thu Mar 25th 2004 at 10:53pm
Orpheus
13860 posts
Posted 2004-03-25 10:53pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Wild Card said:
Uh,, Dont knw hy but the erior it if fix now, I only had the sky lght and 1 triggerrrrred light.

Iii try to radd some lghteing laterl
scratches buttocks, resists urge to sniff fingers

uhh, WC, why you typin so funny?

looks for stuff under nails
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by omegaslayer on Thu Mar 25th 2004 at 10:56pm
omegaslayer
2481 posts
Posted 2004-03-25 10:56pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Maybe he had the operation, you know hydocodene (aka:vicodin) does that to you.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Thu Mar 25th 2004 at 11:10pm
Wild Card
2321 posts
Posted 2004-03-25 11:10pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
soory avout thsi. oOs is pinfull
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Orpheus on Thu Mar 25th 2004 at 11:19pm
Orpheus
13860 posts
Posted 2004-03-25 11:19pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Wild Card said:
soory avout thsi. oOs is pinfull
OK, i give, but i suggest you avoid the PC till tomorrow.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Fri Mar 26th 2004 at 12:33am
Wild Card
2321 posts
Posted 2004-03-26 12:33am
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
Yea, I had my wisdom teeth taken out. But yea, I just got home when I was typing. Had a nice nap since.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by omegaslayer on Fri Mar 26th 2004 at 12:39am
omegaslayer
2481 posts
Posted 2004-03-26 12:39am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
remember dont drink soda, it'll feel like someones jabing a knife in your gums.

ps sorry if im sounding like im a control freak, but it does hurt bad
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Fri Mar 26th 2004 at 12:40am
Wild Card
2321 posts
Posted 2004-03-26 12:40am
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
lol I've been starving myself all day and plan to keep it that way until tomorow. But at least I gots T3 for the pain.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by omegaslayer on Fri Mar 26th 2004 at 1:01am
omegaslayer
2481 posts
Posted 2004-03-26 1:01am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Wild Card said:
lol I've been starving myself all day and plan to keep it that way until tomorow. But at least I gots T3 for the pain.
Let the good time roll. :biggrin:

She devil :ar15firing: :rocketwhore: Arnold
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Fri Mar 26th 2004 at 5:11pm
Wild Card
2321 posts
Posted 2004-03-26 5:11pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
Some images in this post have been automatically down-sized, click on them to view the full sized versions:

Ok, I fixed the error. I had 4 text lights with names and forgot about them.

But my sky is still letting me see brushes behind it. Like at one point, you go outside, take a look. The brushes behind the skybrush are visible from time to time.

(I dont mean the helicopter rotors)

User posted image

User posted image

User posted image

User posted image

User posted image

User posted image
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Gorbachev on Fri Mar 26th 2004 at 5:26pm
Gorbachev
1569 posts
Posted 2004-03-26 5:26pm
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
T3 is nothing. I was in the hospital for half my spring break last week for mono and T3 did nothing, even morphine didn't work. It was just pain, pain, pain.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Jinx on Fri Mar 26th 2004 at 5:37pm
Jinx
874 posts
Posted 2004-03-26 5:37pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
Gorbachev said:
T3 is nothing. I was in the hospital for half my spring break last week for mono and T3 did nothing, even morphine didn't work. It was just pain, pain, pain.
yeah, but I bet you downloaded a lot of pr0n on that fat pipe didn't ya? :lol:
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Yak_Fighter on Fri Mar 26th 2004 at 7:13pm
Yak_Fighter
1832 posts
Posted 2004-03-26 7:13pm
1832 posts 742 snarkmarks Registered: Dec 30th 2001 Occupation: College Student/Slacker Location: Indianapolis, IN
You cannot help the sky showing brushes behind itself. You just have to map around it. If it bothers you that much a redesign may be in order.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Fri Mar 26th 2004 at 7:16pm
Wild Card
2321 posts
Posted 2004-03-26 7:16pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
yea, but other brushes arent shown. For example, you see the rotor, but you dont see the helicopter. Is it because the brushes showing are closer?
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by wil5on on Sat Mar 27th 2004 at 2:03am
wil5on
1733 posts
Posted 2004-03-27 2:03am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Did you really need all those pictures? IMO one would have been sufficient.

I think I've been able to stop the brushes behind the skybrush being drawn, but I forgot how I did it.

Not that I have any experience with all this pain, but remember, you can go 3 minutes without oxygen, 3 days without water, and 3 weeks without food. So I expect you at least be drinking something.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Orpheus on Sat Mar 27th 2004 at 3:31am
Orpheus
13860 posts
Posted 2004-03-27 3:31am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
try placing a block of world water between the two areas..
world water blocks everything else, might work :smile:
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Sat Mar 27th 2004 at 3:33am
Wild Card
2321 posts
Posted 2004-03-27 3:33am
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
In english? you mean add a brush with the water texture? or add a func_water brush?
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Cash Car Star on Sat Mar 27th 2004 at 4:14am
Cash Car Star
1260 posts
Posted 2004-03-27 4:14am
1260 posts 345 snarkmarks Registered: Apr 7th 2002 Occupation: post-student Location: Connecticut (sigh)
Those screenshots don't seem to be helping me visualize, mostly due to lack of motion. Regardless, are you doing a -full vis? It is more exact, and possibly pertinent for a problem such as this.
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Sat Mar 27th 2004 at 4:29am
Wild Card
2321 posts
Posted 2004-03-27 4:29am
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
I dont know.. lol. Im oblivious as to the compiling process. I just tell it which file to compile, which tools to use, then WadInclude and click compile. But if I remember correctly, full vis and fast vis are both disabled.

me reads up on Orph's tut
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Orpheus on Sat Mar 27th 2004 at 10:34am
Orpheus
13860 posts
Posted 2004-03-27 10:34am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
HLCC does not allow for a "full" vis wildcard

to get one of those, you need another frontend, or a batch file..

HLCC defaults to "normal"

HLCC will however make you a great batch file, and since you already know HLCC use it to do so.. just add "-full" to the vis command line in the batch file and save.. (you might need to replace "-normal" or "-fast")
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Sat Mar 27th 2004 at 3:32pm
Wild Card
2321 posts
Posted 2004-03-27 3:32pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
I think I know what you mean...

Me goes and checks... after another reformat. (I did something wrong in the Win XP pro install)

By the way, what was the water brush thing you were talking about?
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Orpheus on Sat Mar 27th 2004 at 5:19pm
Orpheus
13860 posts
Posted 2004-03-27 5:19pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Wild Card said:
I think I know what you mean...

Me goes and checks... after another reformat. (I did something wrong in the Win XP pro install)

By the way, what was the water brush thing you were talking about?
just a thought, world water blocks vis, i was thinking that it might hide your props.. place some between the two points in your map.

we just had a long debate in another thread on world water WC, i do hope you were paying attention in class :heee:
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by fishy on Sat Mar 27th 2004 at 11:24pm
fishy
2623 posts
Posted 2004-03-27 11:24pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
world = not func_
Re: Warning: Too many direct light styles on a face(?,?,?) Posted by Wild Card on Sat Mar 27th 2004 at 11:27pm
Wild Card
2321 posts
Posted 2004-03-27 11:27pm
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
Right