mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-28 12:53:02 +05:00
Add piece sign anim (fall backwards + LMB), fix shapedrawer error on equip
This commit is contained in:
parent
7d4c3c918a
commit
9f2733b894
18 changed files with 21 additions and 7 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.
|
@ -419,7 +419,17 @@ function SWEP:PrimaryAttack()
|
|||
return
|
||||
end
|
||||
|
||||
if not ply:OnGround() or ply:GetSliding() or ply:GetGrappling() or ply:GetWallrun() ~= 0 then return end
|
||||
if ply:GetJumpTurn() and not ply:OnGround() then
|
||||
if CLIENT and IsFirstTimePredicted() then
|
||||
ArmInterrupt(jumpturnflypiecesign)
|
||||
elseif game.SinglePlayer() then
|
||||
ply:SendLua("ArmInterrupt('jumpturnflypiecesign')")
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
if not ply:OnGround() or ply:GetSliding() or ply:GetGrappling() or ply:GetWallrun() ~= 0 or ply:GetJumpTurn() then return end
|
||||
|
||||
local curseq = self:GetSequence()
|
||||
local infall = curseq == 19
|
||||
|
|
|
@ -42,12 +42,11 @@ function SWEP:Deploy()
|
|||
self:CallOnClient("Deploy")
|
||||
self:SetHoldType(self.HoldType)
|
||||
self:SendWeaponAnim(ACT_VM_DRAW)
|
||||
|
||||
self.points = {}
|
||||
self.center = Vector()
|
||||
end
|
||||
|
||||
function SWEP:Initialize()
|
||||
self.points = {}
|
||||
self.center = Vector()
|
||||
end
|
||||
|
||||
function SWEP:Think()
|
||||
|
@ -75,7 +74,6 @@ function SWEP:PrimaryAttack()
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
function SWEP:SecondaryAttack()
|
||||
self:CallOnClient("SecondaryAttack")
|
||||
|
||||
|
|
|
@ -319,7 +319,8 @@ local arminterrupts = {
|
|||
punchright = true,
|
||||
doorbash = true,
|
||||
punchmid = true,
|
||||
punchleft = true
|
||||
punchleft = true,
|
||||
jumpturnflypiecesign = true
|
||||
}
|
||||
|
||||
local transitionanims = {
|
||||
|
@ -437,7 +438,12 @@ local worldarm = {
|
|||
ladderclimbuprighthand = true,
|
||||
ladderclimbhangstart = true,
|
||||
snatchscar = true,
|
||||
jumpcoil = true
|
||||
jumpcoil = true,
|
||||
jumpturnlandidle = true,
|
||||
wallrunright = true,
|
||||
wallrunleft = true,
|
||||
wallrunrightstart = true,
|
||||
wallrunleftstart = true
|
||||
}
|
||||
|
||||
local ignorezarm = {
|
||||
|
|
Loading…
Reference in a new issue