Jump to content

Recommended Posts

From what I can see this is really easy, a few lines in modmain.lua could do it.

GLOBAL.TUNING.MOUSE_SENSITIVITY = 0.15GLOBAL.TUNING.PITCH_ADJUSTMENT_MULTIPLIER = 5GLOBAL.TUNING.DEFAULT_CAM_DISTANCE = 13GLOBAL.TUNING.ZOOMED_CAM_DISTANCE = 10GLOBAL.TUNING.PITCH_ADDITIONAL_OFFSET = 0.2GLOBAL.TUNING.CAMERAY_OFFSET = 2GLOBAL.GetPlayer:DoPeriodicTask(0, function()	local playerfacing = player.Transform:GetRotation()	GLOBAL.TheCamera:SetHeadingTarget(-playerfacing+180)end)

Can't test though if it's really that easy. And I just snatched the code from the Screecher modmain.lua

Anyone wanna try and let us know what happens?

EDIT: And there's also a modified playercontroller. Right now I don't feel like looking through 1259 lines of code for relevent info...

Edited by Malacath

From what I can see this is really easy, a few lines in modmain.lua could do it.

GLOBAL.TUNING.MOUSE_SENSITIVITY = 0.15GLOBAL.TUNING.PITCH_ADJUSTMENT_MULTIPLIER = 5GLOBAL.TUNING.DEFAULT_CAM_DISTANCE = 13GLOBAL.TUNING.ZOOMED_CAM_DISTANCE = 10GLOBAL.TUNING.PITCH_ADDITIONAL_OFFSET = 0.2GLOBAL.TUNING.CAMERAY_OFFSET = 2GLOBAL.GetPlayer:DoPeriodicTask(0, function()	local playerfacing = player.Transform:GetRotation()	GLOBAL.TheCamera:SetHeadingTarget(-playerfacing+180)end)
Can't test though if it's really that easy. And I just snatched the code from the Screecher modmain.lua

Anyone wanna try and let us know what happens?

EDIT: And there's also a modified playercontroller. Right now I don't feel like looking through 1259 lines of code for relevent info...

The Screecher mod is also overriding followcamera.lua, so I think there's more to it. Nevertheless, it really shouldn't be hard.

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
×
  • Create New...