• Need a code for a pickaxe ...
    1 replies, posted
Hello world! I work on my rp, and I need a melee weapon is very simple, with just one main attack, a pickaxe, I have some of the codes here: For VModel: SWEP.ViewModel = "models/props_mining/pickaxe01.mdl" The positioning of VModel: SWEP.IronSightsPos = Vector (-51.28, -5.12, 6231) SWEP.IronSightsAng = Vector (37,349, 133,801, 650,599) The WModel: SWEP.WorldModel = "models/props_mining/pickaxe01.mdl" The positioning of the deck of WModel I made this code because there is no real WModel pick in HL2, so the deck is a component of WModel: SWEP.WElements = { ["pickaxe"] = {type = "Model", model = "models/props_mining/pickaxe01.mdl" bone = "ValveBiped.Bip01_R_Hand" rel = "", pos = Vector (2825, 1361, 4693), angle Angle = (177907, 0, 0), size = Vector (0722, 0722, 0722), color = Color (255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, = bodygroup {}} } Well, I could do it, but I'm still a great beginner and I can not do the rest, can anyone give me the code you it so that there have just one attack main? Thank you!
[QUOTE=Lyc@n;30612931]Hello world! I work on my rp, and I need a melee weapon is very simple, with just one main attack, a pickaxe, I have some of the codes here: For VModel: SWEP.ViewModel = "models/props_mining/pickaxe01.mdl" The positioning of VModel: SWEP.IronSightsPos = Vector (-51.28, -5.12, 6231) SWEP.IronSightsAng = Vector (37,349, 133,801, 650,599) The WModel: SWEP.WorldModel = "models/props_mining/pickaxe01.mdl" The positioning of the deck of WModel I made this code because there is no real WModel pick in HL2, so the deck is a component of WModel: SWEP.WElements = { ["pickaxe"] = {type = "Model", model = "models/props_mining/pickaxe01.mdl" bone = "ValveBiped.Bip01_R_Hand" rel = "", pos = Vector (2825, 1361, 4693), angle Angle = (177907, 0, 0), size = Vector (0722, 0722, 0722), color = Color (255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, = bodygroup {}} } Well, I could do it, but I'm still a great beginner and I can not do the rest, can anyone give me the code you it so that there have just one attack main? Thank you![/QUOTE] You honestly, did all of that work yourself. But you cannot even make it attack? That is high unbelievable. :colbert:
Sorry, you need to Log In to post a reply to this thread.