OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Bluelikeu on 21 Jun 2005, 23:56:08

Title: Configing and Empty Vehicle
Post by: Bluelikeu on 21 Jun 2005, 23:56:08
Hello all,
ok, I've created a small p3d, but now i want to know how to config it as a vehicle. I don't really care about moving parts or anything. Basically its a circle.

All i want is it to be a vehicle that you can shoot at and it will move exactly like the soccerball in OFP.

Can someone help me with this?
Title: Re:Configing and Empty Vehicle
Post by: Platoon Patton on 22 Jun 2005, 17:35:59
I once made a Football-addon,maybe the config is usefull for U:

Code: [Select]
class CfgPatches
{
   class pattonball
   {
      units[] = {pattonball};
      weapons[] = {};
      requiredVersion = 1.0;
   };
};
class CfgVehicles
{
        class All {};
        class Thing: All {};
        class BarrelHelper: Thing {};
        class BarrelBase: BarrelHelper {};
   
   class pattonball: BarrelBase
   {
      model="\pattonball\pattonballdouble";
      armor=2000000;
      scope=2;
       
      displayName="Pattonball";
   }
}