2008.04.24, 05:37 PM
Hi guys, I've got a small bug/problem/glitch here. The dynamic lights in my game shine through walls! Usually, this isn't noticable. but in one particular part of a map, where I have a room around a corner from a staircase, This is a bit of a problem. the room, the staircase, the area in right outside the room, and the top of the stairs are all different portals. Neither room is connected to the other via sight path. Also I can't use the obj.model.light.confineToPortal function in the light's scripting, because I'm using it to illuminate the stairs, the landing at the top of the stairs, and a section of the hallway that connects to the room in question.
See for yourself in the screenshots below:
The room with the mysteriously lit corner:
![[Image: Picture5-6.png]](http://i160.photobucket.com/albums/t191/Zeoman1001/Picture5-6.png)
A view of the offending light over the stairs and the room:
![[Image: Picture6-5.png]](http://i160.photobucket.com/albums/t191/Zeoman1001/Picture6-5.png)
See? No hole in the wall! How is the light magically lighting it up on this side?
![[Image: Picture7-6.png]](http://i160.photobucket.com/albums/t191/Zeoman1001/Picture7-6.png)
Any thoughts on how to make this not happen? the interior room wall and the wall of the stairway are separate and are in difference portals. This is driving me nuts!
That little bug aside, I'm running the game with the "Texture Compression" feature turned on in Setup. When I turn this option off, the game does this on any map loaded:
![[Image: Picture3-7.png]](http://i160.photobucket.com/albums/t191/Zeoman1001/Picture3-7.png)
Is there any other way to avoid having this ugly problem? And for that matter, what causes it?
See for yourself in the screenshots below:
The room with the mysteriously lit corner:
![[Image: Picture5-6.png]](http://i160.photobucket.com/albums/t191/Zeoman1001/Picture5-6.png)
A view of the offending light over the stairs and the room:
![[Image: Picture6-5.png]](http://i160.photobucket.com/albums/t191/Zeoman1001/Picture6-5.png)
See? No hole in the wall! How is the light magically lighting it up on this side?
![[Image: Picture7-6.png]](http://i160.photobucket.com/albums/t191/Zeoman1001/Picture7-6.png)
Any thoughts on how to make this not happen? the interior room wall and the wall of the stairway are separate and are in difference portals. This is driving me nuts!
That little bug aside, I'm running the game with the "Texture Compression" feature turned on in Setup. When I turn this option off, the game does this on any map loaded:
![[Image: Picture3-7.png]](http://i160.photobucket.com/albums/t191/Zeoman1001/Picture3-7.png)
Is there any other way to avoid having this ugly problem? And for that matter, what causes it?
I'll give 2.3 a re-download. I've been sticking with the 2.2 release because I'm having several windows users playtest my game (it's multiplayer only, and most of the folks who i'm making it for are running XP).