Jump to content
Sign in to follow this  
lifetap

zeroing2 animation source

Recommended Posts

Is anyone experiencing issues with using zeroing2 as an animation source?

 

It appears that this code, straight from the wiki no longer works

            class OP_ROT
            
{
                type="rotation";
                source="zeroing2"; // use second muzzle zeroing for rotation
                sourceAddress="loop"; // loop when phase out of bounds
                selection="OP"; // selection we want to rotate
                axis="OP_axis"; // has its own axis
                minValue=0;
                maxValue=3; // this weapon has array with 4 distances
                angle0="rad 0";
                angle1="rad 65";
            };

The "zeroing2" source no longer appears compatible with the "rotation" type

 

It looks as though something changed with either 1.58 or 1.60.  The UGL sights on our released mods, now no longer animate correctly.

 

Any insight would be much appreciated.

Share this post


Link to post
Share on other sites

Yeah, zeroing2 is obsolete. Use zeroing.1 to animate stuff for the second muzzle now.

 

 

Arma 3 Update 1.60 comes with a new way how to handle multiple muzzle animation sources for weapons:

  • revolving, ammo, ammoRandom, reload, trigger, reloadMagazine, hasMagazine, isEmptyNoReload, isEmpty, zeroing, weaponMode may be used with indexes ranging from -1 to (number of muzzles - 1) in format "name.x" (e.g. reload.0)
  • Index -1 means currently selected muzzle, index 0 means first muzzle of given weapon, index 1 second and so on
  • Animation sources without indexes should behave the same way as before

https://community.bistudio.com/wiki/Model_Config#Animation_sources

  • Like 3

Share this post


Link to post
Share on other sites

Thanks Da12thMonkey, that fixed it

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  

×