Hi, could anyone show me or direct me to tutorials on how to make a fist swep (basically the same as the fists in gmod) with a firstperson hands that change according to your actual model. I tried using weapon_fists as base but the models seemed to "stack" on eachother.
Also I have a second question, can you put the hands of a model on another model? For example swapping the hands of your actual playerskin with gloves from another model.
Any help is appreciated.
Here's what I use when I want to make a SWEP. Always works out. (This one is shared so no need to make client or server script)
SWEP.PrintName = "Name"
SWEP.Author = "YourName"
SWEP.Instructions = "Hold Left to do something"
SWEP.Spawnable = true
SWEP.AdminOnly = false
SWEP.Category = "Other"
SWEP.ViewModel = Model("models/weapons/c_arms.mdl")
SWEP.WorldModel = ""
SWEP.HoldType = "duel"
SWEP.Slot = 0
SWEP.SlotPos = 2
SWEP.DrawAmmo = false
SWEP.DrawCrosshair = true
SWEP.ViewModelFOV = 30
SWEP.ShowWorldModel = false
SWEP.ShowViewModel = true
SWEP.Primary.ClipSize = -1
SWEP.Primary.DefaultClip = -1
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1
SWEP.Secondary.Automatic = false
SWEP.Secondary.Ammo = "none"
function SWEP:PrimaryAttack()
return true
end
function SWEP:SecondaryAttack()
return true
end
function SWEP:Initialize()
self:SetHoldType(self.HoldType)
end
Here are the hold types: Hold Types
Sorry, you need to Log In to post a reply to this thread.