• How would I go about modeling a swep?
    3 replies, posted
Hey guys, I have made and ported models into garrys mod before. But I dont know where to start with sweps. Like do i need to include hands in the model or are they added with code, Do I need to have some form of rigging (Not having any animations though) and do I need to make boths a view and world model? If anyone has any good documentation on this that would be amazing thankyou.
You don't need to include hands in your models, when you write the swep code you set SWEP.UseHands to true and it will use the playermodel hands. I'm not sure how exactly it works but its based on the holdtype you set on the swep as well as the origin of the model if I'm not mistaken. You will also need to make a world model and a view model.
I'd check these links out. [url]https://developer.valvesoftware.com/wiki/Viewmodels_in_Blender[/url] [url]https://developer.valvesoftware.com/wiki/Viewmodels_in_XSI[/url] [url]https://developer.valvesoftware.com/wiki/Creating_worldmodels_from_viewmodels[/url]
[QUOTE=0V3RR1D3;48077415]Hey guys, I have made and ported models into garrys mod before. But I dont know where to start with sweps. Like do i need to include hands in the model or are they added with code, Do I need to have some form of rigging (Not having any animations though) and do I need to make boths a view and world model? If anyone has any good documentation on this that would be amazing thankyou.[/QUOTE] A word of advice: you may need to be able to change orientation of your imported model's animation.
Sorry, you need to Log In to post a reply to this thread.