Page 1 of 1

Camera portals not working! Please help!

Posted: Sat Jan 31, 2009 3:12 am
by matti8
Well, i should start from the beginning. I am working on a map called "Lockdown". In the map, I plan to make a "master control room". I was going to use the camera portals as surveilence cameras, even though I don't think they can see players(or can they?). when i had one of them set up, I tested it, and it didn't work.

I decided to make an isolated test. here's the layout(sorry about the image size):

Image

I have the misc_portal_camera's roll at 180. I applied the common/nodraw shader to the brush intended to display the misc_portal_camera's view, and the sfx/portal_sfx shader to the specific face it should be projected onto. I have tried having the camera target both info_notnull and target_position entities, but it still doesn't work. is it the shaders, or something else?

Re: Camera portals not working! Please help!

Posted: Sat Jan 31, 2009 3:29 am
by obsidian
The actual camera and the portal surface can't be in the same area otherwise the portal will "see" the camera. I'm not sure, but I think they may even need to be on different areas of the PVS.

Portals will draw players, mapmodels, items, etc.

Re: Camera portals not working! Please help!

Posted: Sat Jan 31, 2009 5:24 pm
by matti8
I tried moving the camera into another room, but it still doesn't work. I'm really new to GTKRadiant, so what's the PVS?

Re: Camera portals not working! Please help!

Posted: Sat Jan 31, 2009 5:30 pm
by obsidian
Tutorial:
http://bubba.planetquake.gamespy.com/camera1.html

PVS: Potential Visibility Set. It's a section of the map that is currently visible from the player's current position as determined by vis.

Re: Camera portals not working! Please help!

Posted: Sat Jan 31, 2009 7:45 pm
by matti8
That's actually the tutorial I used in the first place. In the prefabs section of his site he has an example of the portal, but it's in .pfb format. I don't know how I would open a Printer Font Binary in GTKRadiant, but if i could, it would be a huge help.

Re: Camera portals not working! Please help!

Posted: Sat Jan 31, 2009 10:22 pm
by obsidian
.pfb is the old prefab format. Just rename it to .map and you should be able to open it.

Re: Camera portals not working! Please help!

Posted: Sun Feb 01, 2009 1:06 am
by Silicone_Milk
It looks like (cant really tell from the shot) that the entities are connected in backwards order. Try reversing the way they're connected