Jump to content
Sign in to follow this  
icarusuk

Animated buildings?

Recommended Posts

Ive noticed that all the buildings in 1985 are just stationary. Is there a way to make a building animate? Ie. radar dishes rotate, raise and lower radio masts, raise and lower security gbarriers, open and close gates in fences etc. Can it be done?

Share this post


Link to post
Share on other sites

the only thing i have seen are doors, radars and you can use the door animation on windows

Share this post


Link to post
Share on other sites

It isn't door anmatin but custom rotation..which is available in resistance, not for CWC. You must only add to model object which you want to rotate,name it by selection, I memory LOD or REsolution (it doesn't metter) create 2 vertices for axis, tahn you must only define animation in config.cpp in "class Animations" . See config of resistance.

Share this post


Link to post
Share on other sites

Can you assign two or more different "doors" to open using the same open door option? That is, can use one open door trigger to open more than one door that have different axis and different opening speeds?

Has anyone tried this?

Konyak

Share this post


Link to post
Share on other sites

I think it can be done.

config sample for this

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Animations

{

class Dvere1

{

type="rotation";

animPeriod=1

selection="dvere1";

axis="osa_dvere1";

angle0=0

angle1=-1.600000;

};

};

class UserActions

{

class OpenDoors

{

displayName="$STR_DN_OUT_O_DOOR";

position="osa_dvere1";

radius=2.500000;

condition="this animationPhase ""Dvere1"" < 0.5";

statement="this animate [""Dvere1"", 1]";

};

class CloseDoors

{

displayName="$STR_DN_OUT_C_DOOR";

position="osa_dvere1";

radius=2.500000;

condition="this animationPhase ""Dvere1"" >= 0.5";

statement="this animate [""Dvere1"", 0]";

};

};

<span id='postcolor'>

So maybe we can add another options to "statement" and "condition".

"Dvere1" measn "Doors1" animation... so maybe we can add there "Doors2" animation class and than add it to "statement" and "condition" ..

Share this post


Link to post
Share on other sites

I agree, that looks promising.. Scripting is something I have spent no time doing, so if there is anyone here that would like to do an experiment to see if this is possible, then I'm all ears on hearing how it turned out. My Antonov is getting very close to finished and the static version would benefit greatly from this being possible.

Cheers,

Konyak

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  

×