mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33: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
|
return
|
||||||
end
|
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 curseq = self:GetSequence()
|
||||||
local infall = curseq == 19
|
local infall = curseq == 19
|
||||||
|
|
|
@ -42,12 +42,11 @@ function SWEP:Deploy()
|
||||||
self:CallOnClient("Deploy")
|
self:CallOnClient("Deploy")
|
||||||
self:SetHoldType(self.HoldType)
|
self:SetHoldType(self.HoldType)
|
||||||
self:SendWeaponAnim(ACT_VM_DRAW)
|
self:SendWeaponAnim(ACT_VM_DRAW)
|
||||||
|
|
||||||
self.points = {}
|
|
||||||
self.center = Vector()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function SWEP:Initialize()
|
function SWEP:Initialize()
|
||||||
|
self.points = {}
|
||||||
|
self.center = Vector()
|
||||||
end
|
end
|
||||||
|
|
||||||
function SWEP:Think()
|
function SWEP:Think()
|
||||||
|
@ -75,7 +74,6 @@ function SWEP:PrimaryAttack()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function SWEP:SecondaryAttack()
|
function SWEP:SecondaryAttack()
|
||||||
self:CallOnClient("SecondaryAttack")
|
self:CallOnClient("SecondaryAttack")
|
||||||
|
|
||||||
|
|
|
@ -319,7 +319,8 @@ local arminterrupts = {
|
||||||
punchright = true,
|
punchright = true,
|
||||||
doorbash = true,
|
doorbash = true,
|
||||||
punchmid = true,
|
punchmid = true,
|
||||||
punchleft = true
|
punchleft = true,
|
||||||
|
jumpturnflypiecesign = true
|
||||||
}
|
}
|
||||||
|
|
||||||
local transitionanims = {
|
local transitionanims = {
|
||||||
|
@ -437,7 +438,12 @@ local worldarm = {
|
||||||
ladderclimbuprighthand = true,
|
ladderclimbuprighthand = true,
|
||||||
ladderclimbhangstart = true,
|
ladderclimbhangstart = true,
|
||||||
snatchscar = true,
|
snatchscar = true,
|
||||||
jumpcoil = true
|
jumpcoil = true,
|
||||||
|
jumpturnlandidle = true,
|
||||||
|
wallrunright = true,
|
||||||
|
wallrunleft = true,
|
||||||
|
wallrunrightstart = true,
|
||||||
|
wallrunleftstart = true
|
||||||
}
|
}
|
||||||
|
|
||||||
local ignorezarm = {
|
local ignorezarm = {
|
||||||
|
|
Loading…
Reference in a new issue