• How to create a weapon with my animations and hand pose?
    1 replies, posted
I long chose between the theme lua and the theme of modeling and I think my question is closer to modeling. How to create weapons with their pose of hands, and their recharge animations or anything else that I will need? As I understand it is necessary to create in the model of weapons a bone whose name coincides with the name of the bone in garrys mod, and in the qc file when compiling write $ definebone "<the name of the bone is here, I do not remember them>" (or something like that) To make sure I even dig deeper into other people's add-ons, and there everything was about like I said, but still you better tell me how should this be done?
The easiest course of action would be making the model of the first person weapon, you'll need the valve first person hand's skeletons if you want it to use any hand provided by the playermodel itself, you can get the hand's skeleton online as an SMD or you can get your own with GCFScape / decompiling an addon with 1st person hands. You will need to pose the hands (with the weapon) and make them into animations, now, I don't know anything about Lua but from what I can recall you'll have to make it into a weapon yourself, then you can call the animations with lua. Make sure the model of the hands include the model of the weapon itself, the hands and the world model need to be 2 different things unless you want to save up 300 Kb in making them the same model for some god forsaken reason.
Sorry, you need to Log In to post a reply to this thread.