Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: WMCoolmon on April 03, 2006, 04:53:12 am

Title: Camera updates
Post by: WMCoolmon on April 03, 2006, 04:53:12 am
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