PDA

View Full Version : Need help in proxy animation



Matthijs
Nov 10 2002, 18:37
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?

Suma
Nov 11 2002, 08:24
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&#58; Motorcycle
{
access = ReadOnly;
vehicleClass=&#34;Car&#34;;
canFloat = false;
isBicycle = true;

hideWeaponsDriver = false;

displayName=&#036;STR_DN_KOLO_KOLO;

scope=public;
picture=&#34;&#92;Kolo&#92;ikolo&#34;;
icon=&#34;&#92;O&#92;Vehl&#92;moto.paa&#34;;
maxSpeed=20;
crew = Civilian5;
side = TCivilian;

nameSound=&#34;car&#34;;
accuracy=0.50;

model=&#92;Kolo&#92;Kolo;
terrainCoef=6.0;

soundEngine&#91;&#93;={&#34;&#92;Kolo&#92;bc_chain.wav&#34;,db-35,1};

weapons&#91;&#93;={BikeHorn};
magazines&#91;&#93;={};


driverAction = ManActKoloDriver;
transportSoldier = 0;
transportAmmo = 0;

};


[/QUOTE]<span id='postcolor'>

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

isBicycle = true;

Hope this will help.

Matthijs
Nov 11 2002, 08:31
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Suma @<hidden> 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.[/QUOTE]<span id='postcolor'>
That&#39;s what I was looking for. Thanks Suma&#33;