Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

WARNING: Hit per-surface style limit

Page: 1 of 1
 Blaster
05-08-2004, 7:12 AM
#1
Hi,

In one of my maps while compiling in 'Full Vis' I get lots of these errors appearing. I hear they can affect performance in a map so I really need to get rid of it.

I understand what the error means, that being there can't be too many lights with styles touching one surface. However I'm having trouble finding the offending lights. I've selected all of the lights in my map and removed any styles assigned to them but the error persists.

Are skies classed as light styles?

-Blaster
 Blaster
05-26-2004, 6:40 AM
#2
Does anyone have any answer for this. It's really doing my head in! :mad:
 WadeV1589
05-26-2004, 7:22 AM
#3
Open up the .map file in notepad or write and search for "style" and "_style" to make sure you don't have any in there.
 Blaster
06-02-2004, 11:21 AM
#4
I've done that but no light styles were found. Any other ideas?
 GothiX
06-02-2004, 11:36 AM
#5
Multiple switchable lights on a surface can cause this as well.
 Blaster
06-05-2004, 8:24 AM
#6
AHHHH HAAAAR!

After deleting the switchable lights everything seems to compile fine.

Thanks GothiX, that sorted out the problem.
 Kengo
06-05-2004, 10:35 AM
#7
Good news :)
 Blaster
06-08-2004, 7:51 AM
#8
;)
Page: 1 of 1