mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33:02 +05:00
Remove unused anims, move anims from mirroranim to climbanim and fix for gray screen in vehicle
This commit is contained in:
parent
21826ae01f
commit
2b267e1d7a
32 changed files with 4 additions and 4 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -41,7 +41,7 @@ hook.Add("RenderScreenspaceEffects", "BeatrunNoclipBW", function()
|
|||
|
||||
local ply = LocalPlayer()
|
||||
local inp = color ~= 1
|
||||
local noclipping = ply:GetMoveType() == MOVETYPE_NOCLIP and not BuildMode and ply:GetMantle() == 0 and ply:GetClimbing() == 0 and not IsValid(ply:GetLadder())
|
||||
local noclipping = ply:GetMoveType() == MOVETYPE_NOCLIP and not BuildMode and ply:GetMantle() == 0 and ply:GetClimbing() == 0 and not IsValid(ply:GetLadder()) and not ply:InVehicle()
|
||||
|
||||
if noclipping or inp then
|
||||
tab["$pp_colour_colour"] = color
|
||||
|
|
|
@ -41,7 +41,7 @@ hook.Add("SetupMove", "SafetyRoll", SafetyRollThink)
|
|||
|
||||
local roll = {
|
||||
followplayer = true,
|
||||
animmodelstring = "mirroranim",
|
||||
animmodelstring = "climbanim",
|
||||
showweapon = true,
|
||||
lockang = true,
|
||||
BodyAnimSpeed = 1.15,
|
||||
|
@ -53,7 +53,7 @@ local roll = {
|
|||
net.Receive("RollAnimSP", function()
|
||||
if net.ReadBool() then
|
||||
roll.AnimString = "land"
|
||||
roll.animmodelstring = "mirroranim"
|
||||
roll.animmodelstring = "climbanim"
|
||||
roll.BodyAnimSpeed = 1
|
||||
elseif net.ReadBool() then
|
||||
roll.AnimString = "evaderoll"
|
||||
|
@ -139,7 +139,7 @@ hook.Add("OnPlayerHitGround", "SafetyRoll", function(ply, water, floater, speed)
|
|||
ply:SetSafetyRollTime(CurTime() + 0.6)
|
||||
|
||||
roll.AnimString = "land"
|
||||
roll.animmodelstring = "mirroranim"
|
||||
roll.animmodelstring = "climbanim"
|
||||
roll.usefullbody = true
|
||||
else
|
||||
land = false
|
||||
|
|
Loading…
Reference in a new issue