Jump to content

Camera Scripting


ScarabMonkey

Recommended Posts

Does anyone know how to control the camera with a script - I found something that makes an actor look at a particular target, but I actually want to fly the camera around in a script.

 

Initially I thought a script like this may work ... but I can't find a ToggleFlyCam function anywhere and now console commands don't work in scripts :(

{

game.Toggle3rdperson()

console.toggleflycam(0)

game.wait (30)

console.toggleflycam(0)

exit

}

Link to comment
Share on other sites

It doesn't look possible. If I recall, I don't see any instances of it in the game. There are times where the player control is disabled and the player is forced to look at something for the cinematics.

 

An option would be to have an XMarkerHeading, or several where you want the camera to be. (If in the air, just place an impassible tile underneath the xmarker - this will be invisible ingame but will provide a platform)

Disable player controls, disable the HUD, and move the player to the xmarker and at the same time, force the player to look at something.

 

They will not be able to look around or move, but you've essentially provided different camera points for the cinema.

 

Clever scripters will be able to use a single xmarker and constantly update the player location to have a sort of fly-by effect or zooming, etc.

Link to comment
Share on other sites

What I was really hoping for was to have the camera follow the blue line as part of a new clairvoyance spell ...

 

Another option would be to let the player control the camera like with 'tfc' - I wonder if SKSE or ScriptDragon allow arbitrary console commands to be executed as part of scripts? Or even Papyrus...

Link to comment
Share on other sites

That's unlikely, at least I haven't seen something like it in the past.

 

A large part of modding is ingenuity, or clever backdoor methods to achieve the results you want. I know it's been done somehow but I believe it was using the Kill-Cam - which, as far as I can tell, is inaccessible with the CK. The Developers have an example of the camera following an arrow in flight must like Sniper Elite (which is a very cool feature imo).

Link to comment
Share on other sites

well couldnt you trick it using markers? Remember in the beginning where you are getting your head cut off?

 

Maybe making the player go to a position without controls forcing them into first person would work. and then warping them back really quick.

Link to comment
Share on other sites

  • 9 months later...

I too am looking for a way to control the camera.

 

My thoughts are to create a cinematic effect that ever ...so slightly... rotates/strafes/pulls back/etc the camera in long random directional arcs (keeping the player character always in view of course) during dialog and only if the user is in 3rd person view. The effect would start immediately, and would immediately cancel on mouse movements as to not bar the player from control. Once the player releases control, the cinematic effect continues, possibly in a new random direction again.

Link to comment
Share on other sites

Making a Cool Cut Scene

 

The built-in cameras are nifs attached to a "CameraShot" form (CAMS) under "SpecialEffect" in the CK. These forms are used by "CameraPath" forms (CPTH), but these don't seem to be accessible in the CK.

There are also static object cameras in the CK, but I don't know how they are used.

Edited by steve40
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...