OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: swift88 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
{
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;
};
};
-
Quote:
"so Im resorting to you"
does this mean that you think we are really low
-
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