Author Topic: Camera updates  (Read 1335 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Based on some of the warpout camera code, I think I may have gotten camera translations working, along with more flexible camera rotation movement.

I didn't feel like making more SEXPs, so I dropped camera support into the scripting system. This also made it easier to implement multiple-camera support, so you can have any number of cameras to play with now. (You can switch between them with setCamera).

Most of the functions are in the testing library:
http://fs2source.warpcore.org/temp/scripting.html#Testing

The functions to move the camera are part of the camera handle:
http://fs2source.warpcore.org/temp/scripting.html#camera

I still need to actually test this. I coded myself a script-eval SEXP, but have been having trouble getting it to work :rolleyes:

However, all the scripting stuff should be implemented in this build, if you want to give it a shot:
http://fs2source.warpcore.org/exes/latest/C02042006.zip
-C