mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33:02 +05:00
Update anims + no need to hold space in non realistic wallrunning
This commit is contained in:
parent
d28b7f67ec
commit
10d30b4ba0
7 changed files with 3 additions and 3 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -169,7 +169,7 @@ hook.Add("PopulateToolMenu", "Beatrun_ToolMenu", function()
|
||||||
panel:ControlHelp("Forces Purist Mode for all players")
|
panel:ControlHelp("Forces Purist Mode for all players")
|
||||||
|
|
||||||
panel:CheckBox("\"Realistic\" wallrunning", "Beatrun_PuristWallrun")
|
panel:CheckBox("\"Realistic\" wallrunning", "Beatrun_PuristWallrun")
|
||||||
panel:ControlHelp("NOTE:\nYou wallrun a bit further")
|
panel:ControlHelp("You don't lose speed when starting wallrunning when disabled")
|
||||||
|
|
||||||
local divider = vgui.Create("DHorizontalDivider")
|
local divider = vgui.Create("DHorizontalDivider")
|
||||||
panel:AddItem(divider)
|
panel:AddItem(divider)
|
||||||
|
|
|
@ -443,7 +443,7 @@ local function WallrunningCheck(ply, mv, cmd)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if mv:KeyDown(IN_JUMP) and not ply:OnGround() or mv:KeyPressed(IN_JUMP) then
|
if not ply:OnGround() or mv:KeyPressed(IN_JUMP) then
|
||||||
local tr = ply.WallrunTrace
|
local tr = ply.WallrunTrace
|
||||||
local trout = ply.WallrunTraceOut
|
local trout = ply.WallrunTraceOut
|
||||||
|
|
||||||
|
@ -484,7 +484,7 @@ local function WallrunningCheck(ply, mv, cmd)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if mv:KeyDown(IN_JUMP) and not ply:OnGround() or mv:KeyPressed(IN_JUMP) then
|
if not ply:OnGround() or mv:KeyPressed(IN_JUMP) then
|
||||||
local tr = ply.WallrunTrace
|
local tr = ply.WallrunTrace
|
||||||
local trout = ply.WallrunTraceOut
|
local trout = ply.WallrunTraceOut
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue