I got it working by deleting a big part of the config. Here's my current config for the jeep:
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0
#define WeaponSlotPrimary 1
#define WeaponSlotSecondary 16
#define WeaponSlotItem 256
#define WeaponSlotBinocular 4096
#define WeaponHardMounted 65536
class CfgPatches
{
class srk_vehl
{
units[] = {srk_gjeep};
weapons[] = {};
requiredVersion = 1.91;
requiredaddons[] = {"BIS_Resistance"};
};
};
class CfgVehicles
{
class All {};
class AllVehicles: All {};
class Land: AllVehicles {};
class LandVehicle: Land {};
class Car: LandVehicle {};
class Jeep : Car {};
class srk_gjeep: Jeep
{
displayName="FIA jeep";
model="\srk_vehl\srk_gjeep";
gunnerAction="ManActJeepGunner";
hasGunner=1;
castGunnerShadow=1;
ejectDeadGunner=1;
castDriverShadow=1;
driverIsCommander=1;
scope=2;
weapons[]={"Browning"};
magazines[]={"Browning"};
gunnerOpticsModel="optika_empty";
unitInfoType=unitinfosoldier;
transportSoldier=1;
};
class Turret
{
gunAxis="OsaHlavne";
turretAxis="OsaVeze";
soundServo[]={};
gunBeg="usti hlavne";
gunEnd="konec hlavne";
minElev=-5;
maxElev=40;
minTurn=-360;
maxTurn=360;
body="OtocVez";
gun="OtocHlaven";
};
class ViewGunner
{
initAngleX=5;
minAngleX=-30;
maxAngleX=30;
initAngleY=0;
minAngleY=0;
maxAngleY=0;
initFov=0.7;
minFov=0.42;
maxFov=0.85;
};
};
};
But I saw very, very much things to fix on the model. If you could help me with these, I would be very thankful.
- I can't turn around and shoot with the MG.
- I can't see the shadow of the jeep.
- I can't kill the gunner.
- Jeep's lights are always on, even when it's day.
- I get an error:
No entry 'config.bin/CfgVehicles/Turret.scope', but the jeep is still working.