Trick that simulates live security cameras!

Discussion in 'Mapping Questions & Discussion' started by Big Lou, Jan 14, 2009.

  1. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    I came up with a trick to simulate live security cameras. Unfortunately, it can only be seen by spectators... but nonetheless it's a neat little addition.

    What you do is make a texture with a screen in it and make the screen transparent. What I did was add semi-transparent green scanlines to enhance the illusion. Place an observer camera in front of it looking out at an area of your map... and you get:

    [ame="http://www.youtube.com/watch?v=ejTbvRoRJiY"]http://www.youtube.com/watch?v=ejTbvRoRJiY[/ame]
     
    • Thanks Thanks x 5
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    Wasn't quite what I was hoping for, but hell, what works works, right?
     
  3. Shadow Monkey

    Shadow Monkey Super Monkey

    Messages:
    244
    Positive Ratings:
    23
    Wow, cool :)
    Maybe you can make a tutorial with pictures?
     
  4. laghlagh

    laghlagh L6: Sharp Member

    Messages:
    391
    Positive Ratings:
    52
    hahaha that's great
     
  5. Invictus

    Invictus L1: Registered

    Messages:
    26
    Positive Ratings:
    1
    Pretty neat.
     
  6. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    Very cool indeed. I think I understand how this works, but I too would love to see a step by step tutorial w/ some pics. I'm definitely gonna try this out when I get home from school. In the mean time, nice work m8 :)
     
  7. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    Wow, I didn't realize how dark the rest of the scene was.... I guess my monitor at home is ultra-bright. The scene around the screen is supposed to be much brighter.

    Hopefully this will be better to understand:

    As you can see, everything you see in that video is in essence a single texture. I originally created that security desk scene in hammer, but took a screenshot of it looking at the monitor. I turned that screenshot into a texture, and made the screen portion semi-transparent. I then applied this texture onto a brush face that overlooked a certain portion of the world I wanted to put on screen (the area you see the engineer running around). An observer camera is positioned behind this brush pointing at the texture with the screen, and through it, the area I wanted shown.

    [​IMG]
     
  8. Sgt Frag

    Sgt Frag L14: Epic Member

    Messages:
    1,443
    Positive Ratings:
    294
    I bet you could have an animated tex in front of it with a little bit of static, maybe even make it with a grey hue so if looks more black and white.

    Pretty cool, I might have to use this on my current project.
     
  9. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    Actually, what I made were separate overlays that are just text saying things like:

    b_001_spawn

    and cryptic stuff like that so it'd look more like security footage. You could do anything to the screen really, just as long as it's at least somewhat transparent.
     
  10. Shadow Monkey

    Shadow Monkey Super Monkey

    Messages:
    244
    Positive Ratings:
    23
    Sry, but I can't understand that....can you pls upload a .vmf?
     
  11. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    It's not hard to understand. Just make a texture with a transparent screen or box somewhere on it. Put it on a brush. Point an observer camera at a part in your level. Stick the brush with the screen texture on it in front of the camera.

    When you are in spectate mode, you can view this camera and it looks like you're looking at a security monitor.
     
  12. DaBeatzProject

    aa DaBeatzProject

    Messages:
    1,276
    Positive Ratings:
    1,091
    But aren't the players (so not in spectator mode) able to see the brushes then?
     
  13. Shadow Monkey

    Shadow Monkey Super Monkey

    Messages:
    244
    Positive Ratings:
    23
    That's why I want a .vmf.....
     
  14. Apom

    Apom L6: Sharp Member

    Messages:
    366
    Positive Ratings:
    62
    They are on the other side of the brush !
     
  15. Mexican Apple Thief

    Mexican Apple Thief L3: Junior Member<br>LEAD FARMER

    Messages:
    345
    Positive Ratings:
    60
    He probably nodrawed the side players would face.
     
  16. theydidntnameme

    theydidntnameme L1: Registered

    Messages:
    40
    Positive Ratings:
    8
    so i take it func_monitor i broken in tf2????:eek:hmy::mad::(
     
  17. Shadow Monkey

    Shadow Monkey Super Monkey

    Messages:
    244
    Positive Ratings:
    23
    ok, thank you :)
     
  18. Giver

    Giver L1: Registered

    Messages:
    17
    Positive Ratings:
    0
    Could you upload the raw texture so I can see how you did it?
     
  19. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    Or, like how you make 1 side see trough walls.
     
  20. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    Either:

    A) Put the camera in a small room attached to an exterior wall and have one side be textured the screen and the other the normal wall texture, or

    B) Put the brush with the screen texture somewhere where you can't see the textured side as a player and nodraw or skybox the other sides.