News: 1up Discord VOIP
Invite Code: https://discord.gg/VPv9JhP

Author Topic: Portal_camera?  (Read 823 times)

0 Members and 1 Guest are viewing this topic.

Offline Casper

  • Posts: 599
  • Karma: 7
  • Can't shoot what you cant see :D
  • Since: 23/04/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Portal_camera?
« 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?

Offline sw00n

  • *Friend of 1up
  • Posts: 327
  • Karma: 41
  • Even a broken watch is right twice a day.
  • Since: 01/05/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Portal_camera?
« Reply #1 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]

Offline Panda[1up]

  • HR Management
  • *[1up] HRM
  • [1up] Global Mod
  • [1up] Decision Panel
  • [1up] UrT Admin
  • Posts: 489
  • Karma: 19
  • Clan Social Responsibility
  • Since: 11/10/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Portal_camera?
« Reply #2 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

(04:26:27) Severon: real funny bro alright lets go, u and me 1v1
(04:26:37) Severon ip/pw
(04:27:07) Severon: ip is go f urself, pw is i'll talk to u later cuz im bout to pass out
(04:27:30) Severon just joined... didn't see anyone. talk about a cop - out. cool story

Offline Casper

  • Posts: 599
  • Karma: 7
  • Can't shoot what you cant see :D
  • Since: 23/04/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Portal_camera?
« Reply #3 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

Offline sw00n

  • *Friend of 1up
  • Posts: 327
  • Karma: 41
  • Even a broken watch is right twice a day.
  • Since: 01/05/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Portal_camera?
« Reply #4 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
    }
}




 -.-
« Last Edit: June 07, 2010, 10:32:41 PM by sw00n »

Offline CaptainTrips

  • Posts: 280
  • Karma: 16
  • CaptainTrees: Smile, everyone loves a moron.
  • Since: 04/09/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Portal_camera?
« Reply #5 on: June 08, 2010, 09:12:40 AM »
Reminds me of the old 1up domination....... I miss the old days

CaptainTrips 

Victorious w/ xen0n

Offline [DSG]Jaffadawg

  • Posts: 34
  • Karma: 3
  • AKA - Sabayon
  • Since: 14/10/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Portal_camera?
« Reply #6 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.