Rotating door, correctly lit
Moderator: Moderators
Rotating door, correctly lit
I have a working rotating door, opening in two directions. It is closed by default. When opened, the sides of the door are black.
I'm using interior_door2 for the front and back, interior_door2side for one side and some wood for the other sides.
There is sunlight (60 60 60) from above, some ambientlight (16 16 16) and a point light in the center of the scene.
The door is 8 units thick, centered between walls of 32 units. There is no chance for any light to get to the sides.
How does it work to have my door correctly lit when open?
I'm using interior_door2 for the front and back, interior_door2side for one side and some wood for the other sides.
There is sunlight (60 60 60) from above, some ambientlight (16 16 16) and a point light in the center of the scene.
The door is 8 units thick, centered between walls of 32 units. There is no chance for any light to get to the sides.
How does it work to have my door correctly lit when open?
The reason they're black is because the MoH doesn't have fully dynamic lighting, instead the lighting for maps is done at compile time. This means the sides of the door don't have a light source shining on them when the door is in its closed position, so when opened they look darker than the rest of the door.
yeah just in your map editor place it where you want it to get all lit up. when i think about it, you have to give it a targetname. in the script just add this line.
$door.origin = (x y z)
if its hard to get the exact position of where you want the door to be, place a script object door with exact dimensions/location u want it to be. then in teh script add this...
$door.origin = $fakedoor.origin
$fakedoor delete
$door.origin = (x y z)
if its hard to get the exact position of where you want the door to be, place a script object door with exact dimensions/location u want it to be. then in teh script add this...
$door.origin = $fakedoor.origin
$fakedoor delete
detail
I have had some luck by changing the doortrim (or walls) into detail brushes. But, I think it depends on which way the sun is shinning. You can also try placing "entity only" lights around the door.
-
Ramah Palmer
- Warrant Officer
- Posts: 131
- Joined: Sun May 25, 2003 10:13 am
- Location: Nottinghamshire: UK
Yeah, I've had this same problem. I noticed that some of the official maps were similar so I wasn't really bothered but a few nights ago I was playing on 'Frag 'n Rock' and I noticed that all the door trims on there are excellently lit.
Anyone know who created that map? Maybe someone could ask them nicely how the hell they did it?!
Anyone know who created that map? Maybe someone could ask them nicely how the hell they did it?!
Mapping is just INCREDIBLY time consuming.
thats a GREAT idea! LEGOLAND! i shall start on it as soon as i can.Olsen wrote:I'll give it a try as soon as this "problem" becomes the worst looking thing in my maps. I have to get used to everything else first
My first maps look like being built with LEGO, but I'm getting better with the clipper and vertex edit functions every day.
Thanks for the push!

