Author Topic: Cutscene question for FREDders  (Read 1323 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Cutscene question for FREDders
"reset-camera"

When you hear that, without reading the description, do you think it will:
  • Switch the camera back to the player ship
-or-
  • Switch the camera back to the player ship
  • Reset camera rotation and position



With the new camera code, the camera will retain its position between set- and reset- calls, which I can see being useful to people.

In addition, the new code can (very easily) support multiple cameras. How should that be handled?

Example:
set-camera-position ;;using Default SEXP camera
set-camera "Charlie" ;; Now using Charlie
set-camera-position ;;Changing Charlie position
set-camera-facing ;;Changing Charlie facing
set-camera-fov ;;Changing Charlie's FOV
reset-camera ;;Reset camera
set-camera-position ;;Which camera is this? Is it Charlie, or the default SEXP camera?
;;If it's still Charlie, how do we get back to the default SEXP camera?
-C

 

Offline Blue Lion

  • Star Shatterer
  • 210
Re: Cutscene question for FREDders
I think of the second one, it brings the camera back to the default position.

  

Offline Ransom

  • M. Night Russel
  • 210
  • It will not wait.
    • Rate of Injury
Re: Cutscene question for FREDders
I think of the latter as well, but to be honest I can't think of a situation where that would be more useful than the former.