Jump to content
Sign in to follow this  
wld427

Reloading anims

Recommended Posts

On the defualt BIS weapons the feedtray cover opens when the soldier is reloading.

Using the BIS model form arma 1 what is the best way to achieve this in A2?

Share this post


Link to post
Share on other sites
On the defualt BIS weapons the feedtray cover opens when the soldier is reloading.

Using the BIS model form arma 1 what is the best way to achieve this in A2?

non-BIS:

Bone is the selection in a p3d model. Also must be an axis in memory lod named "feedtray_cover_axis".

Add this to skeleton bones of the cfgSkeletons config

 
"feedtray_cover", ""

Add this to Animations of the cfgModels config


class feedtray_cover_up
       {
           type="rotation";
           source="reloadMagazine";
           selection="feedtray_cover";
           axis="feedtray_cover_axis";
    minValue=0; 
    maxValue=0.1; 
    angle0="0";   
    angle1="rad 90"; 		

       };
       class feedtray_cover_down: feedtray_cover_up
       {
           minValue=0.9;
           maxValue=1;
    angle0="0";  
    angle1="rad -90";
       };

Share this post


Link to post
Share on other sites

thanks gms.

are you also aware of the animation that makes the ammo belt disappear when the gun is empty. Right now it works to disapear while the magazine changes but when you are out of ammo and not reloaded yet it is still visible.

Share this post


Link to post
Share on other sites

Try it

Don't forget put down the bones to a skeleton.

class ammobelt_hide 
       {
         type="hide";
         source="isEmpty";
         selection="ammo_belt";
         hideValue=1; 
       };

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×