Jump to content

Disable Forced Third Person on Animation


Recommended Posts

Greetings,

So I've been trying to use the "Defeat" mod, but there's an action that anytime you do it, it forces the Third Person camera on you (the stealth takedown action), and I've been trying to change it so it doesn't break the flow of playing in First Person, but I haven't managed to fix it.
Would anyone here know what could be causing the animation to be forced to be on third person? I didn't see anything on the code that forced it, and no matter what I've touched there, nothing changed.

Thanks.

Edited by Emngramm
Link to comment
Hrm... my bad. The keyword only works on furniture, not idles or idlemarkers...

Besides, now that I re-read your message, I see we are talking about sexlab/defeat... which directly changes the camera mode instead of relying on the keyword.
Link to comment

Well, in my install, on LE, as modified by SLSO, it happens in the following scripts:

 

At animation start, in sslActorAlias.psc:

		if IsPlayer && Config.AutoTFC
			MiscUtil.SetFreeCameraState(true)
			MiscUtil.SetFreeCameraSpeed(Config.AutoSUCSM)
		endIf

 

And at animation end, in sslThreadControler.psc:

	if HasPlayer
		MiscUtil.SetFreeCameraState(false)
		if Game.GetCameraState() == 0
			Game.ForceThirdPerson()
		endIf
	endIf

 

You might want to investigate Config.AutoTFC, or modify these scripts...

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use