Jump to content
Sign in to follow this  
Matthijs

Need help in proxy animation

Recommended Posts

Hi,

I want to make the player proxy animate, like the bike.

I tried driverAction=animationclass, but this way, the proxy animates continiously, even when standing still.

Anyone got an idea?

Share this post


Link to post
Share on other sites

Here is config file for our bicycle:

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

class Kolo: Motorcycle

{

access = ReadOnly;

vehicleClass="Car";

canFloat = false;

isBicycle = true;

hideWeaponsDriver = false;

displayName=$STR_DN_KOLO_KOLO;

scope=public;

picture="\Kolo\ikolo";

icon="\O\Vehl\moto.paa";

maxSpeed=20;

crew = Civilian5;

side = TCivilian;

nameSound="car";

accuracy=0.50;

model=\Kolo\Kolo;

terrainCoef=6.0;

soundEngine[]={"\Kolo\bc_chain.wav",db-35,1};

weapons[]={BikeHorn};

magazines[]={};

driverAction = ManActKoloDriver;

transportSoldier = 0;

transportAmmo = 0;

};

<span id='postcolor'>

The part that cause animation to be stopped when not moving is:

isBicycle = true;

Hope this will help.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Suma @ Nov. 11 2002,10:24)</td></tr><tr><td id="QUOTE">Here is config file for our bicycle:

(...)

The part that cause animation to be stopped when not moving is:

isBicycle = true;

Hope this will help.<span id='postcolor'>

That's what I was looking for. Thanks Suma!

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  

×