[TIP] orienting info_observer_point entities

Discussion in 'Mapping Questions & Discussion' started by Jive Turkey, Jun 3, 2009.

  1. Jive Turkey

    Jive Turkey L3: Member

    Messages:
    120
    Positive Ratings:
    32
    Adding info_observer_point entities to your map is a good way to show off the visuals you're really proud of and gives the map a certain polish. However, orienting them just right can be a trial as there is no real visual way to do so within Hammer (that I know of) beyond tweaking the handles and hoping for the best.

    What I found I could do is first run my map in game and fly around in spectator mode. I move myself to the specific position and orient to the proper facing near all the areas I would like to place an info_observer, then use getpos in the console to dump my current position and orientation. Repeating this command for all the spots I'd like, I finally use condump to dump all this console information to a text file. I'm left with a list of points and orientations that I can then use to properly place and orient my cameras in Hammer. You can also use this method to test different fov settings which you could then carry over to the info_observer_point parameters.
     
    • Thanks Thanks x 11
  2. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    740
    i never knew you could get positions of where you are, thats freaking cool. I always tried to match it best i could lol.
     
  3. Altaco

    Altaco L7: Fancy Member

    Messages:
    485
    Positive Ratings:
    121
    Just use the "point at" tool in the angle settings for the entity.
     
  4. Jive Turkey

    Jive Turkey L3: Member

    Messages:
    120
    Positive Ratings:
    32
    It's true you can use "point at" but you're still just eyeballin' it. There's no way in hammer to assume the exact perspective of the observer to really see what it's looking at and I often found the in-game shot would be off even a little and miss some prop or detail that I wanted in the frame. This is the only way I know of to really get the perfect framing.

    It would actually be nice for another reason if you could somehow save camera positions in Hammer. I'd like to setup a static camera and take periodic screenshots from the exact same position/perspective to serve as a pseudo time-lapse of the map's development. I could have sworn you could do this but apparently I was thinking of gtkRadiant or something.
     
  5. kwagner

    kwagner L2: Junior Member

    Messages:
    92
    Positive Ratings:
    6
    I at first thought this is what 'camera view' was for. :(

    What I'd really like is to be able to set up a view in Hammers 3d window, and then click a button that would insert an info_observer entity right there, viewing on that sight line.

    However, since I didn't write Hammer, and I'm not about to learn how to change it, I won't complain much. It's not TOO hard to just eyeball the things into place.
     
  6. NightHawK

    NightHawK L3: Member

    Messages:
    107
    Positive Ratings:
    38
  7. VelvetFistIronGlove

    aa VelvetFistIronGlove

    Messages:
    567
    Positive Ratings:
    437
    That's a great tip! I'd not known about the condump command before.

    point_devshot_camera can do this, together with the -makedevshots command line parameter; (quoting from the second link):

    Note that the screenshots will be stored in a mapname subdirectory of your screenshots directory; using the camera name gives you additional subdirectories below this.

    Also, in TF2 the first camera I place always seems to get a screenshot of the maplist menu (that you see on joining the map) instead of the map; so I guess just put your first camera anywhere and give it a name 'junk' :)
     
    • Thanks Thanks x 4
    Last edited: Jun 3, 2009