2018-05-02 06:32:59 +08:00
|
|
|
INC_CLIENT()
|
2014-10-02 08:49:54 +08:00
|
|
|
|
|
|
|
SWEP.ViewModelFOV = 45
|
|
|
|
SWEP.ViewModelFlip = false
|
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.ShowWorldModel = false
|
2014-10-02 08:49:54 +08:00
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.ViewModelBoneMods = {
|
|
|
|
["ValveBiped.Bip01_R_Hand"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(3.332, -14.445, -21.112) }
|
|
|
|
}
|
2014-10-02 08:49:54 +08:00
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.VElements = {
|
|
|
|
["base"] = { type = "Model", model = "models/props_debris/wood_board06a.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(4.675, 2.596, -6.753), angle = Angle(180, 66.623, -1.17), size = Vector(0.25, 0.25, 0.25), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
|
|
|
|
}
|
2014-10-02 08:49:54 +08:00
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.WElements = {
|
|
|
|
["base"] = { type = "Model", model = "models/props_debris/wood_board06a.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(4.675, 2.596, -6.753), angle = Angle(180, 66.623, -1.17), size = Vector(0.5, 0.5, 0.5), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
|
|
|
|
}
|
2014-10-02 08:49:54 +08:00
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.Slot = 4
|
2014-10-02 08:49:54 +08:00
|
|
|
|
|
|
|
function SWEP:GetViewModelPosition(pos, ang)
|
|
|
|
if self:GetPrimaryAmmoCount() <= 0 then
|
|
|
|
return pos + ang:Forward() * -256, ang
|
|
|
|
end
|
|
|
|
|
|
|
|
return pos, ang
|
|
|
|
end
|