Ok so I've added this Horse Mask from the workshop. I am having issues however trying to get it on correctly. I need it to be resized and on his head and not on his face.
[IMG]http://i.imgur.com/9bf8DTI.jpg[/IMG]
Here's the current code for it:
[CODE]ITEM.Name = 'Horse Head'
ITEM.Price = 500
ITEM.Model = 'models/horsie/horsiemask.mdl'
ITEM.Attachment = 'eyes'
function ITEM:OnEquip(ply, modifications)
ply:PS_AddClientsideModel(self.ID)
end
function ITEM:OnHolster(ply)
ply:PS_RemoveClientsideModel(self.ID)
end
function ITEM:ModifyClientsideModel(ply, model, pos, ang)
model:SetModelScale(1, 0)
pos = pos + (ang:Forward() * 2)
ang:RotateAroundAxis(ang:Right(), 90)
return model, pos, ang
end
[/CODE]
Jesus christ it looks like his face mutated or something
All I can really tell you is to mess around with positioning and rotating around axis via trial and error. Just one of those things where you have to sit down and put some elbow grease in it.
Alright I'll report back later. He is beautiful
Sorry, you need to Log In to post a reply to this thread.