Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Need help in proxy animation  (Read 1275 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.