mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33:02 +05:00
revert some changes
This commit is contained in:
parent
01a45fccde
commit
159747614c
3 changed files with 4 additions and 24 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue