User Tools

Site Tools


arma2:modeling:weapon-animation-tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arma2:modeling:weapon-animation-tutorial [2012-09-06 04:17]
snakeman created weapon-animation-tutorial initial page.
arma2:modeling:weapon-animation-tutorial [2017-10-06 20:33] (current)
snakeman http to https switch.
Line 19: Line 19:
 Open the copy of the BISkeleton you saved in your addon dir with O2 and create two new keyframes and name them -0.5000 and 0.0000. Make 0.0000 the active keyframe by double clicking on it. Now is also the time you would paste your weapon model into O2 as well, you will need to rotate it 90 degrees on the Y axis. Open the copy of the BISkeleton you saved in your addon dir with O2 and create two new keyframes and name them -0.5000 and 0.0000. Make 0.0000 the active keyframe by double clicking on it. Now is also the time you would paste your weapon model into O2 as well, you will need to rotate it 90 degrees on the Y axis.
  
-[[http://tactical.nekromantix.com/images/wiki/​weapon_anims_b00ce-01.png|image]]+{{ https://pmc.editing.wiki/​images/​weapon_anims_b00ce-01.png ​}}
  
 (Note: The position of the weapon does not matter.) (Note: The position of the weapon does not matter.)
Line 28: Line 28:
 Select each hand (Via -LeftHand and -RightHand) and move/rotate them to their respective positions on the weapon. Make a note of which direction the palm is facing. Use the axis locks to make moving and rotating easier. Select each hand (Via -LeftHand and -RightHand) and move/rotate them to their respective positions on the weapon. Make a note of which direction the palm is facing. Use the axis locks to make moving and rotating easier.
  
-[[http://tactical.nekromantix.com/images/wiki/​weapon_anims_b00ce-02.png|image]]+{{ https://pmc.editing.wiki/​images/​weapon_anims_b00ce-02.png ​}}
  
  
Line 41: Line 41:
 Form the fingers how you feel they should be (Keep the trigger finger straight, only bend the first joint at most), this takes a lot of tweaking and fine tuning, but I can't tell you how to make custom hand grips, its an art, not a science. But as a piece of advise, it turns out best if you look at your hands while you hold things, preferably something weapon shaped. Form the fingers how you feel they should be (Keep the trigger finger straight, only bend the first joint at most), this takes a lot of tweaking and fine tuning, but I can't tell you how to make custom hand grips, its an art, not a science. But as a piece of advise, it turns out best if you look at your hands while you hold things, preferably something weapon shaped.
  
-[[http://tactical.nekromantix.com/images/wiki/​weapon_anims_b00ce-03.png|image]]+{{ https://pmc.editing.wiki/​images/​weapon_anims_b00ce-03.png ​}}
  
  
Line 50: Line 50:
 Once they'​re lined up select your gun and delete it, right clicking on the selection box and clicking “Delete Empty”. Once they'​re lined up select your gun and delete it, right clicking on the selection box and clicking “Delete Empty”.
  
-Once this is done, with the 0.0000 key frame selected, create a new key frame and name it 1.0000. Save the .p3d then right click on the keyframe window and at the very bottom there is an Export Matracies option, click it and save it in the folder above Animbase. (EX. “P:​\m41a_Pulse_Rifle\data\\PulseRifle_anim.rtm ​+Once this is done, with the 0.0000 key frame selected, create a new key frame and name it 1.0000. Save the .p3d then right click on the keyframe window and at the very bottom there is an Export Matracies option, click it and save it in the folder above Animbase. (EX. “P:​\m41a_Pulse_Rifle\data\\PulseRifle_anim.rtm 
 + 
 +Make sure to include .rtm in the file name or it will not work. A dialogue should now pop up, hit cancel. Your custom hand animation has now been saved, congrats. 
 + 
 + 
 +====== Step 6 ====== 
 + 
 +Get a copy of a model.cfg for character models (One with the bones for people in it.) and paste it in the folder with the .rtm 
 + 
 + 
 +====== Step 7 ====== 
 + 
 +Open your weapon config and add this line to it then save. 
 +<code cpp> 
 +handAnim[] = {"​OFP2_ManSkeleton",​ "​Path\to\weapon_anim.rtm"​};​ 
 +</​code>​ 
 + 
 + 
 +====== Step 8 ====== 
 + 
 +Pack your weapon, make sure to binarize the .pbo. Enjoy.
  
  
arma2/modeling/weapon-animation-tutorial.1346905031.txt.gz · Last modified: 2012-09-06 04:17 (external edit)