How about making the script_model a spotlight of spot_angle/90? instead of a simple light? Is this possible?
I believe, the problem is that the compiler doesn't know that there will be a light coming and the light doesn't know about the wall either!? So, a spotlight ought to work around, as it wouldn't shine in the wrong direction.
Problem would be, though, that we'd need a script for each direction? Or could you give the value for the key angles to the script_model, and use this info in the script?
I need a torch for my map!!!
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
I think the problem is that lights are considered bigger than the "bounding box" in Radiant by the compiler, so you should place the light a bit from the wall, and keep the torch gfx where it is...
I had a similar problen where a celing light caused a leak when a box that was caulked under stood on the floor directly above it
Hope it helps...
/Bjarne
I had a similar problen where a celing light caused a leak when a box that was caulked under stood on the floor directly above it
Hope it helps...
/Bjarne
I don't think, the problem is the size of the bounding box or an internal size of light-entities, because I don't use lights. Also, the diameter of the light spot on the backside is matching with the diameter of the sphere-sector, i.e. the part of the light-sphere that looks out on that side, if you know what I mean (hard to explain in English for me). And I tried all possibilities with caulk and no caulk, and combinations
To jv: No! I compiled in MBuilder with no BSP-options, no vis-options and LIGHT-option "-final". How about these hide-brushes? Should I use them? Whole brush 6-sided with texture 'hide'? Where?
To jv: No! I compiled in MBuilder with no BSP-options, no vis-options and LIGHT-option "-final". How about these hide-brushes? Should I use them? Whole brush 6-sided with texture 'hide'? Where?
sorry, didn't want to bark.
speaking of location C sounds like a misunderstanding. C is just the location of the script_model. On this side of the wall you have a brilliant torch, as it was wanted.
In the field A, the wall between you and the model is dark as it should be except (as I just found out) in a little part which is I would say: Under a thought line from the model to the upper right (in the picture) corner of field B and outside the light radius. If you move nearer to the model but still in A and still under this theoretical line, the light spot vanishes.
And standing anywhere in field B, you can see the spot, too, as I said before.
speaking of location C sounds like a misunderstanding. C is just the location of the script_model. On this side of the wall you have a brilliant torch, as it was wanted.
In the field A, the wall between you and the model is dark as it should be except (as I just found out) in a little part which is I would say: Under a thought line from the model to the upper right (in the picture) corner of field B and outside the light radius. If you move nearer to the model but still in A and still under this theoretical line, the light spot vanishes.
And standing anywhere in field B, you can see the spot, too, as I said before.


