• Welcome to Freedom Reborn Archive.
 

Turning off SKx Camera

Started by Conduit, March 13, 2007, 05:02:56 PM

Previous topic - Next topic

Conduit

I recently upgraded ffx on a mod I'm working on.  As a result, Skx camera is automatically used in all of the cutscenes.  It looks really cool, but I really don't think it fits the mod.  So, how do I turn it off?

catwhowalksbyhimself

Yea, I've had that same issue.

It's called only in m25ai related files.  You'll have to look and find the references, but I think it's called ones in the main file and once in a different one.  Why it's called twice, I don't know.

M25

It's imported in m25ai.py and in m25cutscene.py which are completely different files with different uses. 
You can disable the imports and then disable the initialization in m25ai.InitScripts()


Alternately, I believe you can go into the skXcamera2.py file and disable the overrides.

comment out


speakInternal = fSkXCameraspeakInternal
ff.speakInternal = fSkXCameraspeakInternal

lookAtObject = fSkXCameralookAtObject
ff.lookAtObject = fSkXCameralookAtObject

lookAtMarker = fSkXCameralookAtMarker
ff.lookAtMarker = fSkXCameralookAtMarker

lookAtPos = fSkXCameralookAtPos
ff.lookAtPos = fSkXCameralookAtPos

endCS = fSkXCameraendCS
ff.endCS = fSkXCameraendCS

try:
ff.cshelper.speakInternal = fSkXCameraspeakInternal
ff.cshelper.lookAtObject = fSkXCameralookAtObject
ff.cshelper.lookAtMarker = fSkXCameralookAtMarker
ff.cshelper.lookAtPos = fSkXCameralookAtPos
ff.cshelper.endCS = fSkXCameraendCS
except:
pass

[\code]

Conduit

That worked for me.  Thanks.