Jump to content
Sign in to follow this  
PiNs_Da_Smoka

Incredible animation that may work on your models

Recommended Posts

THis may be old hat for some of you, but I just noticed how great the "flapping" animation is for the flags you carry in "capture the flag" missions.

Has anyone noticed how the flag you carry seems to know the wind direction and reacts to how fast you are walking / running? It's really a cool effect, and I can imagine how fantastic it would be if used on clothing (robes, trenchcoat, etc) or just as a flag that is put on a vehicle.

I haven't figured out what properties make the flag behave this way, but if we can reproduce it...

=)

P.S.

I know this had been mentioned before in the General forum, but i would really like to know if anyone knows the names of everything, because i would like to do a few little tests on this subject biggrin.gif

Share this post


Link to post
Share on other sites

Content of P3D files is self-descriptive & details about config file can be found in official BIStudio stuff...

flag_*.p3d

Translations (selections in P3D files):

latka = cloth

pevne = solid

volne = free, open

class CfgModels

{

class Flag: Default

{

sections[]={"latka"};

};

};

class CfgCloth

{

class Flag

{

stepSize=0.005000;

colPoints=9;

rowPoints=9;

stretchCoef=1000;

fricCoef=1;

windCoef=10;

gravCoef=1;

};

};

class CfgNonAIVehicles

{

class ProxyFlag

{

autocenter=0;

scope=2;

reversed=0;

model=""; // model="flag_alone";

simulation="flag";

};

};

Share this post


Link to post
Share on other sites

Good stuff guys.. now do you know how I can attach the flag to this: stretchy.jpg

Just needs a few extra touches.

Share this post


Link to post
Share on other sites

Hmm....i believe that you only need attach a proxy to the vehicle for where the flag should go. But that would mean you have to add the flag with SetFlagOwner or something like that. I'm not sure how you can permanantly attach it to the car.

Share this post


Link to post
Share on other sites

Heh, would be cool to have jackets move when you run! If its.. possible. biggrin.gif

Share this post


Link to post
Share on other sites

Yeah, or Matrix style tranch coats as Pins mentioned in his first post....that would rock...

*dances to the prospect of Matrix characters in OFP*

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  

×