Tag SWEP for TTT Issues

From thispost.

Trying to make a tag swep but I can’t even get a model working right. Anytime I try to use the same model that another weapon already uses it causes issues… I suppose I could upload a different model and see if that helps.

Also I really don’t see how the crowbar is linked the the animations it has nor can I see the damage it does. Looking around in my files for something.

Can you PASTE the swep’s View and world model so we can help you?

Ok with this code I can see, pick up, and use it now however it thinks it’s a gun and just makes a clicking noise.


if SERVER then
   AddCSLuaFile( "shared.lua" )
end

SWEP.HoldType = "normal"

if CLIENT then
   SWEP.PrintName = "brobar"
   SWEP.Slot      = 8

   //SWEP.ViewModelFOV = 10
end

SWEP.Base = "weapon_tttbase"
SWEP.ViewModel  = "models/weapons/v_crowbar.mdl"
SWEP.WorldModel = "models/weapons/w_crowbar.mdl"

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"

SWEP.Kind = WEAPON_EQUIP2

I’ll try to post the .mdl’s if I can.

[editline]12th June 2013[/editline]

mdl’s