revert some changes

This commit is contained in:
Jonny_Bro (Nikita) 2023-09-09 11:02:49 +05:00
parent 01a45fccde
commit 159747614c
3 changed files with 4 additions and 24 deletions

View file

@ -271,12 +271,7 @@ hook.Add("PostDrawTranslucentRenderables", "GrappleBeam", function()
render.DrawBeam(LerpVector(ropelerp, lhandpos - ropedown, rhandpos), lhandpos, 1.5, 0, 1) render.DrawBeam(LerpVector(ropelerp, lhandpos - ropedown, rhandpos), lhandpos, 1.5, 0, 1)
render.DrawBeam(ropetop, lp:GetGrapplePos(), 1.5, 0, 1) render.DrawBeam(ropetop, lp:GetGrapplePos(), 1.5, 0, 1)
-- BodyAnim:SetSequence("grapplecenter")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("grapplecenter") BodyAnim:SetSequence("grapplecenter")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('grapplecenter')")
end
ropelerp = math.Approach(ropelerp, 1, FrameTime() * 2) ropelerp = math.Approach(ropelerp, 1, FrameTime() * 2)
else else

View file

@ -9,12 +9,7 @@ function DoJumpTurn(lookbehind)
VMLegs:Remove() VMLegs:Remove()
end end
-- BodyAnim:SetSequence("jumpturnfly")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("jumpturnfly") BodyAnim:SetSequence("jumpturnfly")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('jumpturnfly')")
end
BodyAnimCycle = 0 BodyAnimCycle = 0
BodyAnimSpeed = 1 BodyAnimSpeed = 1

View file

@ -17,19 +17,9 @@ local function Hardland(jt)
end end
DoJumpTurn(jt) DoJumpTurn(jt)
-- BodyAnim:SetSequence("jumpturnflyidle")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("jumpturnflyidle") BodyAnim:SetSequence("jumpturnflyidle")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('jumpturnflyidle')")
end
else else
-- BodyAnim:SetSequence("jumpcoilend")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("jumpcoilend") BodyAnim:SetSequence("jumpcoilend")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('jumpcoilend')")
end
end end
end end
end end