User Tools

Site Tools


arma:modeling:trigger_animation

Differences

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

Link to this comparison view

Next revision
Previous revision
arma:modeling:trigger_animation [2007-07-04 11:21]
snakeman created trigger_animation initial page
arma:modeling:trigger_animation [2008-08-24 07:41] (current)
Line 1: Line 1:
 ====== Trigger Animation ====== ====== Trigger Animation ======
  
-The firing ​trigger ​animations don't seem to be working.+To create working ​trigger ​animation you have to make a selection for all the Resolution LODs for the trigger, called "​trigger"​.
  
-I managed to get it working for your FAL, but I had to steal a SWM MP5 to donate a trigger. I think the models are missing a trigger_axis point in the memory ​LOD, but even when I added it the animation screwed up (the trigger fell vertically back into the weapon from a great height with each shot).+Then in Memory ​LOD you add single point and its selection name will be "​trigger_axis"​.
  
-You either have the axis on the wrong position or you have the rotation angle set to the wrong value. +In the model.cfg ​you need to define ​the weapon, lets call it VTE_ak47, like this: 
- +<​code>​ 
-For trigger axis (and all rotation anims): you need to add a namedproperty to your Lod to make all axes work correctly: +class CfgModels 
- +
-name: **autocenter**\\ + class VTE_ak47: VTE_Weapon 
-value: **0** +
- + class Animations 
-otherwise axes get shifted.+
 + class ​trigger 
 +
 + type = "​rotationZ";​ 
 + source = "​reload";​ 
 + selection = "​trigger";​ 
 + axis = "​trigger_axis";​ 
 + minValue = 0; 
 + maxValue = 3; 
 + angle0 = 0; 
 + angle1 = -3; 
 + }; 
 +</​code>​
arma/modeling/trigger_animation.1183548100.txt.gz · Last modified: 2007-07-10 09:52 (external edit)