e9da54c2f9
Too many changes to list.
28 lines
1.1 KiB
Lua
28 lines
1.1 KiB
Lua
INC_CLIENT()
|
|
|
|
SWEP.ViewModelFOV = 45
|
|
SWEP.ViewModelFlip = false
|
|
|
|
SWEP.ShowWorldModel = false
|
|
|
|
SWEP.ViewModelBoneMods = {
|
|
["ValveBiped.Bip01_R_Hand"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(3.332, -14.445, -21.112) }
|
|
}
|
|
|
|
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 = {} }
|
|
}
|
|
|
|
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 = {} }
|
|
}
|
|
|
|
SWEP.Slot = 4
|
|
|
|
function SWEP:GetViewModelPosition(pos, ang)
|
|
if self:GetPrimaryAmmoCount() <= 0 then
|
|
return pos + ang:Forward() * -256, ang
|
|
end
|
|
|
|
return pos, ang
|
|
end
|