Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
snkman

animationPhase and animationSpeed

Recommended Posts

Hey guys,

i have a question about animationPhase and animationSpeed.

Well guess bouth do the same.

The first is script based and the second can be found in the "CfgCloudlets.hpp".

I have some knowledge about what it do:

You can animate p3d-models (since the Maya-Plugin or OFPAnim). You may access them through their class name (look into the config). You'll need the parameter AnimationName

Not only you need the animation name, but also the animation phase. So think of phase 0 as the beginning and phase 1 as the end of the animation. The transition between these phases is specified through an array.

I.e.:

AnimationPhase = [0, 1, 0]

In this case the particle has three phases in animation. Let's assume the particle has a lifetime of 2 seconds. At the beginning of its lifetime it is in animation phase 0 (let's say the door is closed). After 1 second it is in animation phase 1 (the door is wide open), and after 2 seconds its animation phase is 0 again (door is closed).

In the config i very often saw values of 1000.

animationSpeed[] = {1000};

If you look in the "\ParticleEffects\Universal\data\universal_ca.paa" you can see the different animathion phases of a particle i guess?

So from 1 - 30 for example.

What exactly does "animationSpeed[] = {1000};" do?

Another question about the particles:

Is it possible, that ArmA 2 / OA tweak down the particles if more then 500 - 700 meters away from them?

I noticed this since some time that particles which was creaded far away from my position look very strange like the drop interval would be lowered by the engine?

Is this correct?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×