Melee SWEP wont show in first person, but is fine in third person
2 replies, posted
My melee SWEP wont change position in first person. When turning it appears for a split second.
https://steamuserimages-a.akamaihd.net/ugc/912422091626299490/C44FE1B97248B8F5C72CCE26AA855DB8A254A86F/?interpolation=lanczos-none
https://steamuserimages-a.akamaihd.net/ugc/912422091626300916/CEA747105DC533F4C48F55A42F764D327C1829AE/?interpolation=lanczos-none
code i've tried:
SWEP.IronSightsPos = Vector(12.06, 20, 20)
SWEP.IronSightsAng = Vector(-70, -16.885, -0.704)
(doesn't do anything)
and
SWEP.Offset = {
Pos = {
Up = -1.1,
Right = 1.0,
Forward = -3.0,
},
Ang = {
Up = 95,
Right = 96.5,
Forward = 180,
}
}
the 2nd code seems to work well in third person, but not first person
weapon_base doesn't have either SWEP.IronSightsPos/SWEP.IronSightsAng or SWEP.Offset definitions
WEAPON/GetViewModelPosition I made an example here.
Sorry, you need to Log In to post a reply to this thread.