Cameraman: A tool for Machinimists

Started by Codewalker, October 09, 2012, 03:15:05 PM

Codewalker

Hey all, I was inspired by a PM from Leandro asking if this was possible (who then went and quickly implemented something similar himself to prove the concept :)), and thought it might be useful to people who want to use the COH engine to make Machinima, even without a server available.

In short, when you're playing back a demo and press F2 to enter the free camera look mode, Cameraman steps in and does the following:


  • Displays the current X, Y, Z coordinates of the camera.
  • Displays the current rotation (PYR) of the camera.
  • Allows you to copy the camera position / rotation to the clipboard in demorecord format.
  • Allows you to change the flight speed of the camera. COH's normal camera speed is very slow and it takes ages to get to a position you want in large zone like IP. No more!

Here's some screenshots:

https://i727.photobucket.com/albums/ww272/ft5512/cameraman/cameraman1_sm.jpg

https://i727.photobucket.com/albums/ww272/ft5512/cameraman/cameraman2.jpg





GuyPerfect

Is that Whatchacalit Wharf in the screenshot?

Codewalker

Quote from: GuyPerfect on October 09, 2012, 06:32:53 PM
Is that Whatchacalit Wharf in the screenshot?

Yes, that's over on the Villain side of the zone, just across the corner from the hospital and the black helicopter line, and near the collapsed exit tunnel with the crushed semi.

Zombie Man

Youse is geniuses!

Can you poll the memory and display any currently activating sound files or animations and display it in a similar fashion?

voodoogirl

Oh, finally. Paragon City gets a gas station.

redgiant

Ohhhh, if you know how to affect the mouselook events for speeding up, can you please, please add an Invert Y-axis checkbox to Cameraman?

I can't tell you how helpful that would be to anyone like me who always uses inverted Y. Especially with the wonderful speedup Cameraman provides.

[sorry for the slight thread necro, but with the game coming down soon I don't want to add new topics around this]


TimtheEnchanter

#6
Oh sweet... I'd been thinking for a while that we needed something that could do this. And... there it is. :)

Quote from: voodoogirl on October 10, 2012, 01:47:41 AM
Oh, finally. Paragon City gets a gas station.

But... it's blocked by police cars.

There must've been a hurricane.

TimtheEnchanter

Codewalker...

I don't know what trick you're using to amplify the camera speed, so maybe this is an impossible request. Is there any chance you could expand on the slider function to slow the camera below normal speed, for extremely subtle movement? There are some video shots that call for VERY subtle movements, and it would also be useful for fine-tuning screenshots.

Tahquitz

Oh, after doing Demorecords of our Supergroup bases, I have nothing but LOVE for this tool.

THANK YOU SO MUCH!
"Work is love made visible." -- Khalil Gibran

Arachnion

Quote from: Codewalker on October 09, 2012, 03:15:05 PM
when you're playing back a demo and press F2 to enter the free camera look mode

WAIT WHAT!?

Such a thing exists?

Oh. My. God.
I'm all dressed up with nowhere to go
Walkin' with a dead man over my shoulder

Waiting for an invitation to arrive
Goin' to a party where no one's still alive

corvus1970

... ^o^CORVUS^o^
"...if nothing we do matters, than all that matters is what we do."
http://corvus1970.deviantart.com/

Arachnion

Amazing program.

Amazing free camera mode.

I can't believe after six or so years playing I didn't know about that command.... thank you Codewalker.
I'm all dressed up with nowhere to go
Walkin' with a dead man over my shoulder

Waiting for an invitation to arrive
Goin' to a party where no one's still alive

TimtheEnchanter

Quote from: Arachnion on December 02, 2012, 10:45:06 PM
Amazing program.

Amazing free camera mode.

I can't believe after six or so years playing I didn't know about that command.... thank you Codewalker.

The F2 function was snuck to live right around the time the shutdown was announced, I believe. This gives us much more control over it though. And the coordinate grabber is great for planning camera moves to be added via the Demoedit app.

Arachnion

Quote from: TimtheEnchanter on December 02, 2012, 11:03:26 PM
The F2 function was snuck to live right around the time the shutdown was announced, I believe. This gives us much more control over it though. And the coordinate grabber is great for planning camera moves to be added via the Demoedit app.

I see. It works with Beta client demo files too.

I just flew around Peregrine Island.

Somewhat...  :-\
I'm all dressed up with nowhere to go
Walkin' with a dead man over my shoulder

Waiting for an invitation to arrive
Goin' to a party where no one's still alive

Codewalker

Quote from: TimtheEnchanter on December 02, 2012, 08:48:46 PM
Codewalker...

I don't know what trick you're using to amplify the camera speed, so maybe this is an impossible request. Is there any chance you could expand on the slider function to slow the camera below normal speed, for extremely subtle movement? There are some video shots that call for VERY subtle movements, and it would also be useful for fine-tuning screenshots.

Yes, that should actually be quite possible.

If normal speed is 1.0, how much slower are you thinking? Like 0.5 and 0.25 settings?

Glass Goblin

Quote from: TimtheEnchanter on December 02, 2012, 11:03:26 PM
The F2 function was snuck to live right around the time the shutdown was announced, I believe. This gives us much more control over it though. And the coordinate grabber is great for planning camera moves to be added via the Demoedit app.

Actually, if I remember what Black Pebble said when he revealed it's existence, it had been in the demo system for a while, but no one knew about it. The demo system was one of the least documented portions of the game, which is why when demo playback stopped including sounds, it was never fixed.


Tahquitz

Quote from: corvus1970 on December 02, 2012, 10:34:45 PM
Kallisti Wharf :)

10,000 Internets for anyone who has the .cohdemo of this zone for us to peruse.
"Work is love made visible." -- Khalil Gibran

Megajoule

I don't have that zone, but I do have pretty much all of the others:

https://docs.google.com/open?id=0B0rmU0UrIINISHpfTjFOU3pWeEU

50.5 megabytes.  Paragon City, Rogue Isles, Praetoria.  Also the PvP zones, the Shadow Shard...
(It's all in the readme inside the zip file.)

Glass Goblin

Quote from: Megajoule on December 03, 2012, 09:34:59 AM
I don't have that zone, but I do have pretty much all of the others:

https://docs.google.com/open?id=0B0rmU0UrIINISHpfTjFOU3pWeEU

50.5 megabytes.  Paragon City, Rogue Isles, Praetoria.  Also the PvP zones, the Shadow Shard...
(It's all in the readme inside the zip file.)

Thank you! I'm trying to start a public demofile library, and your zip will be a terrific base for it.