Home   Help Search Login Register  

Author Topic: CPP  (Read 575 times)

0 Members and 2 Guests are viewing this topic.

swift88

  • Guest
CPP
« on: 30 Jun 2003, 22:02:09 »
Ok so im making a cpp for a truck of mine, but it seems useless :-\ can you help  8)
here it is:
class CfgVehicles
Quote
{
class All{};
class AllVehicles:All{};
class Land: AllVehicles{};
class LandVehicle: Land{};
class Car: LandVehicle{};  
class Truck: Car{};
class Truck5t: Truck
{
   scope=2;
   crew="SoldierWB";
   picture=
   icon=
   model=\truck\truck.p3d;
   side=1;
   displayName="$STR_DN_TRUCK";
   accuracy=0.300000;
   fuelCapacity=200;
   transportSoldier=1;
      };
   };
driverAction="ManActTruck5tDriver";
   cargoAction[]={"ManActTruck5tCoDriver","ManActTruck5tCoDriver","ManActCargo"};
   cargoIsCoDriver[]={1};
   transportAmmo=0;
   transportRepair=0;
   transportFuel=0;
   camouflage=4;
   weapons[]={"TruckHorn"};
   magazines[]={};
   wheelCircumference=4.513000;
   turnCoef=6.000000;
   maxSpeed=80;
   cost=70000;
   armor=20;
   initCargoAngleY=185;
   soundEngine[]={"Vehicles\dieseltruckloop2",0.100000,1};
   class IndicatorSpeed
   {
      selection="ukaz_rychlo";
      axis="osa_rychlo";
      angle=-210;
      min=0;
      max="100 / 3.6";
   };
   class IndicatorRPM
   {
      selection="ukaz_rpm";
      axis="osa_rpm";
      angle=-220;
      min=0;
      max=1;
   };
};
« Last Edit: 01 Jul 2003, 10:57:10 by swift88 »

HuNtA

  • Guest
Re:CPP
« Reply #1 on: 30 Jun 2003, 23:20:35 »
Quote:
"so Im resorting to you"
does this mean that you think we are really low

swift88

  • Guest
Re:CPP
« Reply #2 on: 01 Jul 2003, 10:52:42 »
sorry i didnt mean it like that? any way, im sorry and i need help really badly, because its a truck which im making, and also need a tow script too
« Last Edit: 01 Jul 2003, 10:58:20 by swift88 »