Observer Camera Tool

Observer Camera Tool B1

Skylark

Super Gay Developer
aa
Aug 9, 2018
163
373
Observer Camera Tool - More easily create perfect spectator cameras

This tool allows you to more easily place spectator cameras in your map through fetching positions in-game.

In a source game noclip to where you would like a spectator camera and use the command getpos, in the console there will be an output which looks like setpos x y z;setang x y z copy the console which contains that text and paste it into the input at the top (you don't have to be exact, that text just needs to be somewhere in the paste)

Once you have the cameras you want click the download button and an observer_points.vmf will be downloaded, this contains the observer points. Open that file in Hammer and select the group of observer points (they are grouped already), copy, and in your map use Paste Special [Edit Paste Special... Ok] and the cameras are now perfectly in position.

You can set an observer to be the welcome point which is the first view players joining the map will see, enable/disable at start, set as summary which will be shown at the end of the map while showing final scores. Order of cameras in this list will be the order that they will be shown in-game, change the order with the arrows on the right.

Sessions are saved automatically, you can close this page and when you come back you can continue off from where you were. You can click the replace button and paste in another setpos...setang to replace that camera.

This tool is based on Idolon's Observer Camera Tool
 

Skylark

Super Gay Developer
aa
Aug 9, 2018
163
373
If you just want to play around with it you can use some example commands:
Code:
setpos 123.000000 456.000000 789.000000;setang 123.000000 456.000000 789.000000
Code:
setpos -6912.000000 -832.000000 640.000000;setang 14.987181 45.005493 0.000000
Code:
setpos -788.688171 2423.384766 683.979919;setang 7.288884 -159.261597 0.000000
Code:
setpos 3992.114502 571.695435 132.031311;setang -1.012138 -68.279465 0.000000
You don't need to be accurate when copying from the console
Code:
Achievements disabled: cheats turned on in this app session.
] getpos
setpos 4375.288574 -1262.084229 80.481873;setang 2.771873 38.632076 0.000000
 

14bit

L14: Bit Member
aa
Oct 5, 2014
642
2,070
I tried using this for the spectator cams in my TC map, but I seem to have found some bugs! Naming the cameras or using the associated_team_entity field causes the tool to generate a broken .vmf that crashes hammer. I've attached one of the broken files where all cameras had names and associated_team_entities, one where all have a name but no associated_team_entities, and the working one from when I removed both names and associated_team_entities.

Even while somewhat broken this was very useful, thanks!
 

Attachments

  • name_and_team.vmf
    1 KB · Views: 120
  • name_only.vmf
    952 bytes · Views: 137
  • no_name_no_team.vmf
    3 KB · Views: 122