Jump to content
Sign in to follow this  
id_999

Custom van doesn't move???

Recommended Posts

Hi everyone.

I have just finish create my Van model and config.cpp and import it into the game.

The problem with my van is that it cannot move forward and back ward, but the front wheel can move side ways.

I dont know why??

There are some more problems, when i shot my van it'll start to float in the air taking the soldier inside with it.

And when i throw a grenade, the whole van disappear.

Can someone what is the course of my problem and how to solve it?

This is my config.cpp:

class CfgModels

{

  class default {};

  class Vehicle: default{};

  class Car: Vehicle {};

  class Jeep: Car {};

  class civilianVan: Jeep {};

};

class cfgPatches

{

  class civilianVehicle

  {

    units[] ={civilianVan};

    weapons[] ={};

    requiredVersion =1.40;

  };

};      

class cfgVehicles

{

  class All{};

  class AllVehicles: All{};

  class Land: AllVehicles{};

  class LandVehicle: Land{};

  class Car: LandVehicle{};

  class Jeep: Car {};  

  class civilianVan: Jeep

  {

  side = 3;

  displayName ="Van";

  model="\van\van";

  crew="SAF_soldier";

  maxSpeed = 300;

  };

}  

 

thank in advance

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  

×