Creating a Camera

Credits

Submitter
  • P1: Beggar
    Points: 270
  • C1: Member
  • A6: Elder
    Account Age: 6 years
Panda916 (Creator/Co-creator)
Authors
n/a
n/a

Rating

8.3/10
Based off 13 rating(s)

Additional Info

Genre
Other/Misc
Difficulty Level
Intermediate

Stats

Post Count
58
ViewCount
31,409
Date Added
6 years ago
Date Modified
7 months ago

Let's make a camera and have it show on a monitor.

The entity's used are a Pointcamera entity, infocameralink entity, a funcmonitor brush entity, func_button brush entity.

First build your map and a place to build your monitor. Then place the pointcamera and infocamera_link entities around your map in the areas you want shown on monitor.

Kuribo Shoe

Point_camera entity in the properties window you will have to name it (example: cam2a), you can also change the FOV(field of view) to different degrees. Under the Flags option check off the " Start Off " box if you have multiple cameras around your map,except for the first camera in the rotation.

Kuribo Shoe

Infocameralink entity in the properties window you will have to enter the name of the monitor in the Entity Whose Material Usesrtcam parameter.(example: monitor). Then in the camera name parameter enter the name of the camera (example: cam2a)

Kuribo Shoe

Next let's make some buttons to switch the monitor views. Funcbuttons that is. Make a button out of a brush, then hit the "To Entity" button and tie the brush to a funcbutton. Then in the properties window of the func_button go to the Outputs Tab and click on the Add... button at bottom, on My output named click the drop down menu and select OnPressed , Then the Targets entities named select your camera name Camera name.(Example: cam2a). Then the Via this input select Set On And Turn Others Off. Under the Flags tab you can select some other options like Use Activates and Don't Move.

Kuribo Shoe Kuribo Shoe

Now you can build your monitor. Make another brush (the brush you want the view of the cameras on) and hit the "To Entity" button and make it a funcmonitor. In the properties window name it the name of your monitor (Example: monitor) Now highlight the brush and place a DevMonitor texture on the face you want the picture on. Use the Texture Application Tool to do this. Browse for texture name by typing key word in filter box. (Filter word: monitor). As you can see below the dev_monitor textures look weird in Hammer, but show up properly in game.

Kuribo Shoe

If you have more than one camera, just make additional Pointcamera, infocameralink and funcbutton entities. naming each set of camera entites different. *On a side note , you can not see your self in the monitor view.

Some in game screenshots: Kuribo Shoe Kuribo Shoe Kuribo Shoe

As you can see from the screenshot of dev_monitor textures, there are different types of monitor effects you can get.Apply the textures and compile the map to see the differences.

Kuribo Shoe

THANKS TO WWW.IWANNAMAP.COM FOR THIS AWESOME TUTORIAL

EDITED BY HUNTERKILLER

By request here is a link to the entity file.

And here is a link to another similar tutorial with filters to use on the cameras..

  • You must be a member

Comments

    • P1: Beggar
      Points: 20
    • C1: Member
    • A4: Graduate
      Account Age: 2 years

    Pros: Very good tutorial Cons: I dont have pointcamera or funcmonitor. just no clue where to find them etc. Improvements: Tell us how to find funcmonitor and pointcamera

    Beginning mapper
    • C1: Member
    • A4: Graduate
      Account Age: 2 years

    Lol only on camera works in my map :O

    Mapper.. FTW!
    • P1: Beggar
      Points: 28
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    Do i only make one side of the brush with the monitor texture i did it on the whole brush i checked everything is right its just black...

    • P2: Drudge
      Points: 1,239
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    Lol i got this crazy idea of making a jail map, with a contol room full of camera screens, so CTs can monitor where the Ts are :D

    (i dont think im gonna make it into a full sized map, but anyone can take my idea and idk if it has already been done ^^)

    IMMA FIRIN' MALAYSIA!!
    • P1: Beggar
      Points: 50
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted by tek- GREAT TUT- But, i have a problem, whenever i create a new monitor, camera and camera link, the footage from camera 1 shows up on monitor 2 and 1, no matter what i do, i have it setup, cam 1, link1 and mon1 all setup together and cam2 link2 and mon2 all linked separately. Any idea of whats going wrong?

    You may only have one camera active at a time. This is an engine limitation afaik

    Bananite
    • P1: Beggar
      Points: 369
    • E1: Helper
      EF: 3
    • C1: Member
    • A5: Veteran
      Account Age: 4 years

    I cant get this to work...

    Infocameralink dosent work with pointdevshotcamera, it will not connect via names to the entity, writing for the name stays red and no black.

    You need to download the css fgb file for the point_camera and install as shown.

    http://www.editlife.net/customfgd.php

    BobbyDigital
    • P1: Beggar
      Points: 60
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    GREAT TUT- But, i have a problem, whenever i create a new monitor, camera and camera link, the footage from camera 1 shows up on monitor 2 and 1, no matter what i do, i have it setup, cam 1, link1 and mon1 all setup together and cam2 link2 and mon2 all linked separately. Any idea of whats going wrong?

    hard-core
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    Idk if it works but it is a message when i try run it ' No head node '??? what can i do to fix it (everything else works)

    Bananite
    • P1: Beggar
      Points: 135
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    Is there anyway to make it, well, Parent an object?

    Bananite
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    Func monitor is now Funcilusunery or something func camara is now funcdevshot_camara

    Bananite
  • You must be a member