Home   Help Search Login Register  

Author Topic: Need help in proxy animation  (Read 1134 times)

0 Members and 1 Guest are viewing this topic.

Offline Matthijs

  • Members
  • *
  • Qua Patet Orbis
    • The Chain of Command / mods.kmarns.net
Need help in proxy animation
« on: 10 Nov 2002, 21:58:51 »
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?


Offline Matthijs

  • Members
  • *
  • Qua Patet Orbis
    • The Chain of Command / mods.kmarns.net
Re:Need help in proxy animation
« Reply #1 on: 11 Nov 2002, 11:38:21 »
Suma, BIS OFP developer, answered:

Here is config file for our bicycle:

Code: [Select]
   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;

   };



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

isBicycle = true;

Hope this will help.