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?
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;
};
[/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's what I was looking for. Thanks Suma!
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.