mmm error...

Avatar
Artesia
238 Posts
Posted Nov 07, 2007
ok so I have an idea im working on, I have several spotlights near each other pointing straight down, the light doesn't need to overlap, in fact id prefer it not to... most of the lights look ok, but some of them have big nonlit blocks across the face

WARNING: Too many light styles on a face (72,24,-183)
..
WARNING: Too many light styles on a face (-24,24,-183)
.7..
WARNING: Too many light styles on a face (72,-72,-183)
.8..
WARNING: Too many light styles on a face (-24,-72,-183)
.9...10 (1)

theres the error... is there a limit to how many lights you can have on a surface? cause im trying not to let them overlap, but no change...

Advertisement
Registered users don't see ads! Register now!
Avatar
NocturnalGhost
200 Posts
Posted Nov 07, 2007
Replied 13 minutes later
I believe the limit is 6 lights on a face.

This only applies to dynamic lighting (ie named lights, or lights with styles). The solution is to space the lights out, and not to name them unless absolutely necessary.

This is only an issue with light and light_spot.

Avatar
Artesia
238 Posts
Posted Nov 07, 2007
Replied 1 hour later
that is bullcrap... I can't space them out anymore :s

they are named, they have to be cause they're not always on

they turn on based on conditions of cubes, switches, etc.

all of them are shining on their own brush... is there a way to turn off calculating radiosity for a light, so that each one will only hit their brush and not others?

Avatar
NocturnalGhost
200 Posts
Posted Nov 07, 2007
Replied 40 minutes later
The only other thing I can suggest that may work is to compile the map with "-bounce 0" in vrad, but this may make your lighting look crappy.

Also, you could try reducing the angle of the outer cone in the light_spot.

There are probably better solutions, but I am a relative noob at Source mapping. Most of my experience with this stuff is remembered from mapping for HL1 many years ago.

I'm sure if there are other ways to overcome your problem, someone more experienced on here will post.

Avatar
Artesia
238 Posts
Posted Nov 07, 2007
Replied 33 minutes later
I was using a light_spot, and was gonna make more copies so it could change color because I didn't like the look of light_dynamic (wanted more of the cone effect)... light_dynamic doesn't seem to be causing this problem, and combining it with point_spotlight might work...

EDIT: having problems with the light_dynamic, seems to be really bright near where the light is, but dark where im pointing the spot... I realize its basically 2 lights in one, but I want the spot not the omni and im getting the opposite of that

Avatar
Ralph
59 Posts
Posted Nov 07, 2007
Replied 8 hours later
I am pretty sure any face can only have 2 dynamic lights shining on it. Even if each light shines on its own bush, if the surfaces are in the same plane BSP will join them together again. To counter this you could try separating each brush with hint bushes to force BSP to keep them seperate, though this will have penalties in vis time and render speed in game (not sure this will work, but it might).

Edit: That's no good, seems hint wont cut world geometry.

Avatar
Artesia
238 Posts
Posted Nov 07, 2007
Replied 7 hours later
ok, I found that lowering the lights closer to the ground fixed it...

I have a point_spotlight
and a trigger_multiple

Trigger_multiple:
onstarttouch -> point_spotlight -> color -> (parameter) 255 255 255
delay 1 second

but it doesn't change color

any thoughts?

Avatar
msleeper
4,095 Posts
Member
Posted Nov 07, 2007
Replied 10 minutes later
I don't think that will work since lights are precomputed.
Avatar
Artesia
238 Posts
Posted Nov 07, 2007
Replied 3 minutes later
thats odd, why would color be an option in the paramters, along with turnon and turnoff...
Avatar
msleeper
4,095 Posts
Member
Posted Nov 07, 2007
Replied 11 minutes later
It is a part of the standard entity properties. For example, you can make an entity take a certain color depending on it's Render Mode, and use that to change it on the fly.
Avatar
Ralph
59 Posts
Posted Nov 08, 2007
Replied 9 hours later
light and light_spot are precomputed, you could try a light_dynamic if you want to change the colour.
Avatar
Rivid31
152 Posts
Posted Nov 08, 2007
Replied 3 hours later
Keep in mind, many dynamic lights will lag the hell out of people without great video cards... and it sounds like you're trying to do a lot of stuff with lights...
Avatar
Artesia
238 Posts
Posted Nov 08, 2007
Replied 3 hours later
I now, but its a very small room, without a lot happening other than the lights
Avatar
msleeper
4,095 Posts
Member
Posted Nov 08, 2007
Replied 1 hour later
Yeah that probably doesn't matter. light_dynamic is a fucking retarded system hog.
Avatar
youme
937 Posts
Posted Nov 08, 2007
Replied 1 hour later
rule of thumb - don't use dynamic lights

but it is just that, a rule of thumb, just like the no carving rule.

Avatar
Artesia
238 Posts
Posted Nov 08, 2007
Replied 6 hours later
im not using light_dynamic

Im using light_spot and point_spotlight

27 of each, 9 each of 3 different colors

only 9 of each can be active at any one time

they do not move, only turn on/off

for what im doing, it works really well so far...

I'll release it as a [wip] when I have it further along

Advertisement
Registered users don't see ads! Register now!
Avatar
Artesia
238 Posts
Posted Nov 09, 2007
Replied 6 hours later
LOL

WARNING: Too many light styles on a face at (-72.000000, -24.000000, -183.000000)

WARNING: Too many light styles on a face at (-39.000000, -88.000000, -183.000000)

WARNING: Too many light styles on a face at (-8.000000, 56.999992, -183.000000)

WARNING: Too many light styles on a face at (57.000000, 8.000000, -183.000000)
...1...2
WARNING: Too many light styles on a face at (7.999985, -139.000000, -182.000000)

WARNING: Too many light styles on a face at (-7.999985, -52.000000, -182.000000)
..
WARNING: Too many light styles on a face at (56.000000, -49.000000, -179.000000)

WARNING: Too many light styles on a face at (56.000015, 142.000000, -179.000000)

WARNING: Too many light styles on a face at (-142.000000, 56.000000, -179.000000)
.
WARNING: Too many light styles on a face at (-56.000015, -142.000000, -179.000000)

WARNING: Too many light styles on a face at (142.000000, -56.000015, -179.000000)
3.
WARNING: Too many light styles on a face at (56.000000, 51.000000, -182.000000)
.
WARNING: Too many light styles on a face at (-7.999985, 139.000000, -182.000000)

WARNING: Too many light styles on a face at (-139.000000, -7.999985, -182.000000)
.
WARNING: Too many light styles on a face at (139.000000, 7.999985, -182.000000)

I find that very funny.

the lighting is working fine tho since not all the lights are on at once...

I'll be posting a wip soon, probably tomorrow... so you can see exactly what im doing