Game Development Community

Help with lighting in buildings.

by Max Thomas · in Torque Game Engine · 07/16/2004 (6:53 am) · 7 replies

I don't know why but when I put a building from quark in my game the lights work great and and it's dark inside where they aren't. But when I save the mission close it and fire it back up the game just overrides the lights and the dark in the building and has everything light. So is there a way to make the actual mission dark and just use fx lights to iluminate the place?

#1
07/16/2004 (7:13 am)
You must use portals to stop the worldlightning getting thru.
#2
07/16/2004 (8:22 am)
I have a portal on the door and there are no windows.
#3
07/16/2004 (9:25 am)
I'd check to make sure there are no leaks. Plus, also set the property for the door entity to say "ambientpassthrough=false"
#4
07/16/2004 (12:20 pm)
Sorry, but I'm kinda new to quark and the help on my version doesn't work but how do I open the propertys for the object to set "ambientpassthrough=false" ?
#5
07/16/2004 (12:41 pm)
Sorry, but I'm kinda new to quark and the help on my version doesn't work but how do I open the propertys for the object to set "ambientpassthrough=false" ?
#6
07/16/2004 (3:33 pm)
Right above the tree-view listing of entities at the left there are several icons. First highlight the portal entity and then click on the second icon above the tree-view to show the entity parameters. You will see a drop-down box with two options: "Does not pass through" or "Passes through"
Take your pick :)
#7
07/16/2004 (6:36 pm)
Ok, Thanks now I have another problem for some reason the lights are acting as holes in the map any idias?