Page 1 of 1

misc_portal_camera upside down....

Posted: Mon Apr 10, 2006 5:02 am
by Foo
I should know how to fix this, I'm sure I've fixed it before.

I've got a portal surface on a south wall linked to a portal camera pointing north, and the view through the teleporter comes out upside down. I think this is because of the direction of the surface in relation to the camera (opposite), but I do not recall the method of correcting it.

Help mucho appreciated. I trawled the manuals and google and came up with squat :(

Posted: Mon Apr 10, 2006 7:36 am
by 4days
have you set 'roll' or angle to anything? have you tried playing with spawnflags?

i should remember the same thing for the same reason but can't.

Posted: Mon Apr 10, 2006 7:46 am
by Foo
Spawnflag is set to 4 for a static camera. My understanding is:
1 = fast
2 = slow
4 = static
But it's not documented that I can see. Either way, 4 sucessfully makes the portal static. Turning it off doesn't alter the upside downiness :D

More fiddling reveals that whether I set the angle of the camera with a target_position or just with the ANGLE keyword, neither makes a difference :(

Posted: Mon Apr 10, 2006 8:14 am
by 4days
pretty sure 'roll' does something as well. try roll=0 or roll=180

Posted: Mon Apr 10, 2006 11:43 am
by d3mol!t!on
Try flipping the portal texture 180 degrees with the surface inspector. I doubt the image has any dependence on the portal shader, but because I don't know, it's worth a try.

Posted: Mon Apr 10, 2006 2:38 pm
by Foo
4days wrote:pretty sure 'roll' does something as well. try roll=0 or roll=180
You're a king among men.