1up Clan Forums

Gaming => Map & Model Tutorials => Urban Terror => Map Making => Topic started by: Casper on June 07, 2010, 04:31:15 PM

Title: Portal_camera?
Post by: Casper on June 07, 2010, 04:31:15 PM
Im currently making a jump map, and it has an area that is going to have security camera-type screens showing different parts of the map. How do you set up the portal_camera and portal_surface?
I connected them with ctrl+k, highlighting the camera first, then the surface entity. I put a brush close to the surface entity in the direction the entity was pointing. I can see the brush i made, but it doesnt have the image on it. Anyone wanna either tell me how to use these or point me to a good tutorial on them?
Title: Re: Portal_camera?
Post by: sw00n on June 07, 2010, 06:26:49 PM
here is a map for u to look at, and inside the pk3 is a .map for you to also see how it works  ;)

[attachment no longer available]
Title: Re: Portal_camera?
Post by: Panda[1up] on June 07, 2010, 06:34:55 PM
If you goto the 1upclan page and goto the hosted tab then click bubbas arena he tells you how to make them
Title: Re: Portal_camera?
Post by: Casper on June 07, 2010, 08:20:38 PM
I checked out sw00n's camera package, and it got me closer. However, the brush that is supposed to show what the camera sees is only working as a mirror. Anyone know what im doing wrong? i checked out bubbas tutorial and it didnt have just the view ones: it had portals that you could see what you were teleporting into. It uses what im trying to do, but with the stuff bubba adds on, im not sure exactly what i need to add to make it just a viewing screen
Title: Re: Portal_camera?
Post by: sw00n on June 07, 2010, 10:22:26 PM
I checked out sw00n's camera package, and it got me closer. However, the brush that is supposed to show what the camera sees is only working as a mirror. Anyone know what im doing wrong? i checked out bubbas tutorial and it didnt have just the view ones: it had portals that you could see what you were teleporting into. It uses what im trying to do, but with the stuff bubba adds on, im not sure exactly what i need to add to make it just a viewing screen


if it shows as a mirror then u picked the wrong shader.... the surface that show what the camera should see is in your common and the name is portal, and should read portal surface


and make sure you included the camera shader that came with it in that script folder, should read, and the texture that came with it -.-



textures/camera/camera
{
   qer_editorimage textures/common/qer_portal.tga
   surfaceparm playerclip
   surfaceparm nolightmap
   portal
   {
      map textures/camera/camera.tga
       blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
      depthWrite
      alphaGen portal 2048
    }
}




 -.-
Title: Re: Portal_camera?
Post by: CaptainTrips on June 08, 2010, 09:12:40 AM
Reminds me of the old 1up domination....... I miss the old days
Title: Re: Portal_camera?
Post by: [DSG]Jaffadawg on June 08, 2010, 10:05:44 AM
also check the Mario_opposing_castles map. There are several portal cameras in there, and they're awesome live shots of other parts of the map, but of course the portal does not take you  where you are looking by design.