of     1   

hunte922
#149900423Sunday, November 16, 2014 9:24 PM GMT

This game accomplishes it with some advanced scripting: http://www.roblox.com/Tempered-Testing-place?id=164034677 Press the right mouse button to lower the FOV. Normally, the mouse would be super fast with that low of FOV. How can I slow it down, like in this game?
JarodOfOrbiter
#149901097Sunday, November 16, 2014 9:33 PM GMT

The mouse is independent from FOV. The camera appears to turn super fast at that speed. Here's a free model script I saw a while ago. local Mouse = game.Players.LocalPlayer:GetMouse() local Camera = game.Workspace.CurrentCamera local LastCF = Camera.CoordinateFrame local Sensitivity = 0.05 --This is the mouse sensitivity. 1 is the default sensitivity. Setting it to a negative number will invert the camera movement function GetYawPitch(cf) local X = cf.lookVector.x local Rise = cf.lookVector.y local Z = cf.lookVector.z return math.atan(Rise/-math.sqrt(X^2+Z^2)),-math.atan(X/Z) end function UpdateSensitivity() local X,Y = GetYawPitch(LastCF:toObjectSpace(Camera.CoordinateFrame)) local NewX,NewY = -(X * Sensitivity),-(Y * Sensitivity) Camera.CoordinateFrame = LastCF Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(NewX,NewY,0) * CFrame.new(0,0,(Camera.CoordinateFrame.p - Camera.Focus.p).magnitude) LastCF = Camera.CoordinateFrame end Mouse.Move:connect(function() UpdateSensitivity() end) Mouse.Idle:connect(function() LastCF = Camera.CoordinateFrame end)
hunte922
#149910040Sunday, November 16, 2014 11:35 PM GMT

I tried using that. This is the result... http://www.roblox.com/unnamed-place?id=5505122
hunte922
#149910911Sunday, November 16, 2014 11:46 PM GMT

Found a good script by Maelstronomer. Problem solved. --works best in firstperson (zoomed in or lockfirstperson) local t=0.06--MouseSpeed. 1 is regular mouse speed. local atan2=math.atan2 local asin=math.asin local abs=math.abs local floor=math.floor local cf=CFrame.new local components=cf().components local Angles=CFrame.Angles local tau=2*math.pi local RenderStepped=game:GetService("RunService").RenderStepped local Player=game.Players.LocalPlayer local Camera=workspace.CurrentCamera local Character=Player.Character local Head=Character:WaitForChild("Head") local function EulerAnglesYX(c)--No z, I don't care about z. local _,_,_,m00,m01,m02,m10,m11,m12,m20,m21,m22=components(c) return abs(m12)>0.99999 and -atan2(-m20,m00) or -atan2(-m02,m22),-asin(m12) end local ly,lx=EulerAnglesYX(Camera.CoordinateFrame) function Update() local cy,cx=EulerAnglesYX(Camera.CoordinateFrame) ly,lx=ly*(1-t)+(cy+tau*floor((ly-cy)/tau+0.5))*t,lx*(1-t)+(cx+tau*floor((lx-cx)/tau+0.5))*t --print(ly,lx) Camera.CoordinateFrame=Angles(0,ly,0)*Angles(lx,0,0)*cf(0,0,0.5)+Camera.Focus.p--Head.Position end RenderStepped:connect(Update) m=Player:GetMouse() m.Button1Down:connect(function() zoom=true out=false end) m.Button1Up:connect(function() zoom=false end) m.Button2Down:connect(function() out=true zoom=false end) m.Button2Up:connect(function() out=false end)

    of     1