(Tutorial) Adding hands on guns (Blender)

Author Topic: (Tutorial) Adding hands on guns (Blender)  (Read 9894 times)

This was written by me without any help so please don't flame me

Contents list:
  • Getting the hands model
  • Modeling
  • Script
To begin with making weapons with hand animations or hands are not hard in blender.
The way the model looks is up to you.
Part 1 (easiest):
Getting the hands model.
The link for the hands
Part 2:
Modeling

Step 1:
Open the Blockland_EMPTY model and you should see what is below

Step 2:
Now begin modeling.
Step 3:
When finished move the hands onto the model (Do not resize the hands but the model must be)
Step 4:
Should now look like so (This is Stowaway's model not mine)

Step 5:
Now export into .DTS (You need working exporter) with all the mountpoints, etc and Detail32 and shape.
End of part 2
Part 3:
Scripting (Very easy)

You should have made a script before attempting this tutorial but if not here is a script
Step 1:(only one :D)
Add this code at the end to hide hands/hooks correctly (Unlike the other one...)
Code: [Select]
function <Namehere>Image::onMount(%this,%obj,%slot)
{
Parent::onMount(%this,%obj,%slot);
%obj.hideNode("RHand");
%obj.hideNode("RHook");
%obj.hideNode("LHand");
%obj.hideNode("LHook");
}

function <Namehere>Image::onUnMount(%this,%obj,%slot)
{
Parent::onMount(%this,%obj,%slot);
%obj.unHideNode("ALL");
if(isObject(%obj.client))
{
%obj.client.applyBodyParts();
%obj.client.applyBodyColors();
}
else
applyDefaultCharacterPrefs(%obj);
}

function <Namehere>SightsImage::onMount(%this,%obj,%slot)
{
Parent::onMount(%this,%obj,%slot);
%obj.hideNode("RHand");
%obj.hideNode("RHook");
%obj.hideNode("LHand");
%obj.hideNode("LHook");
}

function <Namehere>SightsImage::onUnMount(%this,%obj,%slot)
{
Parent::onMount(%this,%obj,%slot);
%obj.unHideNode("ALL");
if(isObject(%obj.client))
{
%obj.client.applyBodyParts();
%obj.client.applyBodyColors();
}
else
applyDefaultCharacterPrefs(%obj);
}
Also the sights part is if you decide to add sights later on.
That conclude this tutorial.
Adding later:
How to make hand animations


How to make a hand animation
First parent you’re your part your want animated to a armature in pose mode

Name the bone what you want
Then split screen by right clicking on the bottom line

Split it to what you want,Then go down here and press action editor

Then press “I” when the bone is selected and press “locrot”,Then drag the line a couple of frames,


Then move the bone back how you want it and press “locrot” then bring it back where it is.
Last of all don’t forget to check of the box export in the animations

What is the point of this? Seriously, its not like adding/animating hands to a model is any different than adding/animating anything else.

General rule of thumb: If its something you were able to figure out on your own, there's no need for a tutorial.

Weapon animating was explained much better in Darkstars stickied tutorial.

Adding hands onto a weapon is really common sense.

Weapon animating was explained much better in Darkstars stickied tutorial.

Adding hands onto a weapon is really common sense.
It's not as easy as a regular animation


It's not as easy as a regular animation
Its no harder than any other non-deforming animation.


Its no harder than any other non-deforming animation.


Well sort of but for me it's harder


HEY GUIS BRB GONNA GO MAKE TOPIC ON HOW TO DOWNLOAD BLENDER

TOO LATE SPARTAN ALREADY CLAIMED IT >:O

IS there a way to open the Hands file into another already made file. Isntead of remodeling i could just import it and attach it?

IS there a way to open the Hands file into another already made file. Isntead of remodeling i could just import it and attach it?
Yes. Open the hands file, then hit "A" To select the entire model. Then go to file-->Export-->3DStudio(.3ds)... Choose desktop (or anywhere else you'll be able to find it) and hit the export button. YOU NEED TO HAVE THE ENTIRE MODEL SELECTED BEFORE EXPORTING OR THIS WILL NOT WORK. Then, open the .blend with your model in it, then click File-->Import-->3DStudio(.3ds)..., and select your file. Then hit OK. This will bring the hands into your pre-made model.

Hope this helped.

I export and import mine with .obj but you can do either one.