Jump to content
Darth Trumpt

Need help with a config, undefined base class

Recommended Posts

I keep getting the error called: undefined base class 'offroad_01base_F

 

Can someone help me fix this issue, please.

 

I uploaded my config here: ufile.io/gej84

 

Share this post


Link to post
Share on other sites

See updated config below.

 

Need to declare "offroad_01base_F" and " I_G_Offroad_01_armed_F" up top.

 

See updated config below. just copy below into a empty cpp file.

 
#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 private         0
#define protected       1
#define public          2
 
#define true            1
#define false           0
 
//enum {
//  DESTRUCTENGINE = 2,
//  DESTRUCTDEFAULT = 6,
//  DESTRUCTWRECK = 7,
//  DESTRUCTTREE = 3,
//  DESTRUCTTENT = 4,
//  STABILIZEDINAXISX = 1,
//  STABILIZEDINAXESXYZ = 4,
//  STABILIZEDINAXISY = 2,
//  STABILIZEDINAXESBOTH = 3,
//  DESTRUCTNO = 0,
//  STABILIZEDINAXESNONE = 0,
//  DESTRUCTMAN = 5,
//  DESTRUCTBUILDING = 1,
//};
 
class defaultUserActions;   // External class reference
class DefaultEventhandlers// External class reference
class offroad_01base_F; // External class reference
class  I_G_Offroad_01_armed_F ;  // External class reference
 
class CfgPatches {
    class camionetas {
        units[] = {;};
        //weapons[] = {};
        //requiredVersion = 0.1;
        //requiredAddons[] = {"A3_Weapons_F", "a3_weapons_f_beta", "A3_Weapons_F_gamma", "A3_Characters_F", "A3_Characters_F_beta", "A3_Characters_F_gamma", "A3_Soft_F", "A3_air_f", "A3_Air_F_beta"};
    };
};
 
class CfgFactionClasses {
    
    class fam_camionetas {
        icon = "darkknight777_camionetas\data\ui\darkknight777_camionetas_faction_ca.paa";
        displayName = Fuerzas del Orden;
        priority = 100;
        side = TWest;
    };  
};
 
class CfgVehicleClasses {
 
    class fam_camionetas {
        displayName = "Fuerzas del Orden";
    };
};
 
class fam_camionetas_sedena_offroad : Offroad_01_base_F {
            editorPreview = ;
            _generalMacro = Offroad_01_military_base_F;
            scope = 2;
 
            scopeCurator = 2;
            cost = 10000;
 
            side = TWest;
            faction = "Fuerzas del Orden";
            vehicleClass = "fam_camionetas";
            displayName = "sedena Offroad";
            author = "darkKnight777";
            weapons[] = {};
            audible = 50;
            armor = 100;
            armorWheels = 100;
            armorGlass = 200;
            armorEngine = 2.0;
            hiddenSelections[] = {"camo", "camo2"};
            hiddenSelectionsTextures[] = {"darkknight777_camionetas\Data\sedena.paa", "darkknight777_camionetas\Data\sedena.paa"};
            availableForSupportTypes[] = {"Transport"};     
            typicalCargo[] = {};
            crew = ;
            preferRoads = true;
            brakeDistance = 7.0;
            class Turrets {};
            class EventHandlers {};
                };
        };
    };  
            class fam_camionetas_sedena_armed_offroad : I_G_Offroad_01_armed_F {
            editorPreview = ;
            _generalMacro = B_G_Offroad_01_armed_F;
            scope = 2;
 
            scopeCurator = 2;
            cost = 10000;
 
            side = TWest;
            faction = "Fuerzas del Orden";
            vehicleClass = "fam_camionetas";
            displayName = "sedena Offroad";
            author = "darkKnight777";
            weapons[] = {};
            audible = 50;
            armor = 100;
            armorWheels = 100;
            armorGlass = 200;
            armorEngine = 2.0;
            hiddenSelections[] = {"camo", "camo2"};
            hiddenSelectionsTextures[] = {"darkknight777_camionetas\Data\sedena.paa", "darkknight777_camionetas\Data\sedena.paa"};
            availableForSupportTypes[] = {"Transport"};     
            typicalCargo[] = {};
            crew = ;
            showNVGGunner=1;
            preferRoads = true;
            brakeDistance = 7.0;
        class AnimationSources: AnimationSources
        {
            class ReloadAnim
            {
                source="reload";
                weapon="HMG_M2";
            };
            class ReloadMagazine
            {
                source="reloadmagazine";
                weapon="HMG_M2";
            };
            class Revolving
            {
                source="revolving";
                weapon="HMG_M2";
            };
            class muzzle_rot_MG
            {
                source="ammorandom";
                weapon="HMG_M2";
            };
            class muzzle_hide_MG
            {
                source="reload";
                weapon="HMG_M2";
            };
        };
        class Turrets: Turrets
        {
            class M2_Turret: MainTurret
            {
                disableSoundAttenuation=1;
                gunnerLeftHandAnimName="handle_L";
                gunnerRightHandAnimName="handle_R";
                gunnerLeftLegAnimName="leg_L";
                gunnerRightLegAnimName="leg_R";
                body="mainTurret";
                gun="mainGun";
                animationSourceBody="mainTurret";
                animationSourceGun="mainGun";
                turretInfoType="RscOptics_Offroad_01";
                discreteDistance[]={100,200,300,400,500,600,800,1000,1200,1500};
                discreteDistanceInitIndex=2;
                gunnerForceOptics=0;
                gunnerOutOpticsShowCursor=0;
                weapons[]=
                {
                    "HMG_M2"
                };
                magazines[]=
                {
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow"
                };
                minElev=-10;
                maxElev=40;
                soundServo[]=
                {
                    "A3\sounds_f\dummysound",
                    9.9999977e-007,
                    1
                };
                gunnerAction="gunner_offroad01";
                gunnerCompartments="Compartment2";
                ejectDeadGunner=0;
                castGunnerShadow=1;
                stabilizedInAxes=0;
                gunBeg="usti hlavne";
                gunEnd="konec hlavne";
                memoryPointGunnerOptics="gunnerview";
                optics=0;
                class GunFire: WeaponCloudsMGun
                {
                    interval=0.0099999998;
                };
                memoryPointsGetInGunner="pos gunner";
                memoryPointsGetInGunnerDir="pos gunner dir";
                class ViewOptics: ViewOptics
                {
                    minFov=0.25;
                    maxFov=1.25;
                    initFov=0.75;
                };
                class ViewGunner: ViewOptics
                {
                };
            };
        };
    };
            
            class fam_camionetas_semar_offroad : Offroad_01_base_F {
            editorPreview = ;
            _generalMacro = Offroad_01_military_base_F;
            scope = 2;
 
            scopeCurator = 2;
            cost = 10000;
 
            side = TWest;
            faction = "Fuerzas del Orden";
            vehicleClass = "fam_camionetas";
            displayName = "semar Offroad";
            author = "darkKnight777";
            weapons[] = {};
            audible = 50;
            armor = 100;
            armorWheels = 100;
            armorGlass = 200;
            armorEngine = 2.0;
            hiddenSelections[] = {"camo", "camo2"};
            hiddenSelectionsTextures[] = {"darkknight777_camionetas\Data\semar.paa", "darkknight777_camionetas\Data\semar.paa"};
            availableForSupportTypes[] = {"Transport"};     
            typicalCargo[] = {};
            crew = ;
            preferRoads = true;
            brakeDistance = 7.0;
            class Turrets {};
            class EventHandlers {};
                };
        };
    };  
            class fam_camionetas_semar_armed_offroad : I_G_Offroad_01_armed_F {
            editorPreview = ;
            _generalMacro = B_G_Offroad_01_armed_F;
            scope = 2;
 
            scopeCurator = 2;
            cost = 10000;
 
            side = TWest;
            faction = "Fuerzas del Orden";
            vehicleClass = "fam_camionetas";
            displayName = "semar Offroad";
            author = "darkKnight777";
            weapons[] = {};
            audible = 50;
            armor = 100;
            armorWheels = 100;
            armorGlass = 200;
            armorEngine = 2.0;
            hiddenSelections[] = {"camo", "camo2"};
            hiddenSelectionsTextures[] = {"darkknight777_camionetas\Data\semar.paa", "darkknight777_camionetas\Data\semar.paa"};
            availableForSupportTypes[] = {"Transport"};     
            typicalCargo[] = {};
            crew = ;
            showNVGGunner=1;
            preferRoads = true;
            brakeDistance = 7.0;
            class AnimationSources: AnimationSources
        {
            class ReloadAnim
            {
                source="reload";
                weapon="HMG_M2";
            };
            class ReloadMagazine
            {
                source="reloadmagazine";
                weapon="HMG_M2";
            };
            class Revolving
            {
                source="revolving";
                weapon="HMG_M2";
            };
            class muzzle_rot_MG
            {
                source="ammorandom";
                weapon="HMG_M2";
            };
            class muzzle_hide_MG
            {
                source="reload";
                weapon="HMG_M2";
            };
        };
        class Turrets: Turrets
        {
            class M2_Turret: MainTurret
            {
                disableSoundAttenuation=1;
                gunnerLeftHandAnimName="handle_L";
                gunnerRightHandAnimName="handle_R";
                gunnerLeftLegAnimName="leg_L";
                gunnerRightLegAnimName="leg_R";
                body="mainTurret";
                gun="mainGun";
                animationSourceBody="mainTurret";
                animationSourceGun="mainGun";
                turretInfoType="RscOptics_Offroad_01";
                discreteDistance[]={100,200,300,400,500,600,800,1000,1200,1500};
                discreteDistanceInitIndex=2;
                gunnerForceOptics=0;
                gunnerOutOpticsShowCursor=0;
                weapons[]=
                {
                    "HMG_M2"
                };
                magazines[]=
                {
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow"
                };
                minElev=-10;
                maxElev=40;
                soundServo[]=
                {
                    "A3\sounds_f\dummysound",
                    9.9999977e-007,
                    1
                };
                gunnerAction="gunner_offroad01";
                gunnerCompartments="Compartment2";
                ejectDeadGunner=0;
                castGunnerShadow=1;
                stabilizedInAxes=0;
                gunBeg="usti hlavne";
                gunEnd="konec hlavne";
                memoryPointGunnerOptics="gunnerview";
                optics=0;
                class GunFire: WeaponCloudsMGun
                {
                    interval=0.0099999998;
                };
                memoryPointsGetInGunner="pos gunner";
                memoryPointsGetInGunnerDir="pos gunner dir";
                class ViewOptics: ViewOptics
                {
                    minFov=0.25;
                    maxFov=1.25;
                    initFov=0.75;
                };
                class ViewGunner: ViewOptics
                {
                };
            };
        };
    };
            class fam_camionetas_semar1_offroad : Offroad_01_base_F {
            editorPreview = "darkknight777_camionetas\editor\offroad_police.jpg";
            _generalMacro = Offroad_01_military_base_F;
            scope = 2;
 
            scopeCurator = 2;
            cost = 10000;
 
            side = TWest;
            faction = "Fuerzas del Orden";
            vehicleClass = "fam_camionetas";
            displayName = "semar1 Offroad";
            author = "darkKnight777";
            weapons[] = {};
            audible = 50;
            armor = 100;
            armorWheels = 100;
            armorGlass = 200;
            armorEngine = 2.0;
            hiddenSelections[] = {"camo", "camo2"};
            hiddenSelectionsTextures[] = {"darkknight777_camionetas\Data\semar1.paa", "darkknight777_camionetas\Data\semar1.paa"};
            availableForSupportTypes[] = {"Transport"};     
         typicalCargo[] = {};
            crew = ;
            preferRoads = true;
            brakeDistance = 7.0;
            class Turrets {};
            class EventHandlers {};
                };
        };
    };  
         class fam_camionetas_semar1_armed_offroad : I_G_Offroad_01_armed_F {
            editorPreview = "darkknight777_camionetas\editor\offroad_police.jpg";
            _generalMacro = B_G_Offroad_01_armed_F;
            scope = 2;
 
            scopeCurator = 2;
            cost = 10000;
 
            side = TWest;
            faction = "Fuerzas del Orden";
            vehicleClass = "fam_camionetas";
            displayName = "semar1 Offroad";
            author = "darkKnight777";
            weapons[] = {};
            audible = 50;
            armor = 100;
            armorWheels = 100;
            armorGlass = 200;
            armorEngine = 2.0;
            hiddenSelections[] = {"camo", "camo2"};
            hiddenSelectionsTextures[] = {"darkknight777_camionetas\Data\semar1.paa", "darkknight777_camionetas\Data\semar1.paa"};
            availableForSupportTypes[] = {"Transport"};     
         typicalCargo[] = {};
            crew = ;
            showNVGGunner=1;
            preferRoads = true;
            brakeDistance = 7.0;
            class AnimationSources: AnimationSources
        {
            class ReloadAnim
            {
                source="reload";
                weapon="HMG_M2";
            };
            class ReloadMagazine
            {
                source="reloadmagazine";
                weapon="HMG_M2";
            };
            class Revolving
            {
                source="revolving";
                weapon="HMG_M2";
            };
            class muzzle_rot_MG
            {
                source="ammorandom";
                weapon="HMG_M2";
            };
            class muzzle_hide_MG
            {
                source="reload";
                weapon="HMG_M2";
            };
        };
        class Turrets: Turrets
        {
            class M2_Turret: MainTurret
            {
                disableSoundAttenuation=1;
                gunnerLeftHandAnimName="handle_L";
                gunnerRightHandAnimName="handle_R";
                gunnerLeftLegAnimName="leg_L";
                gunnerRightLegAnimName="leg_R";
                body="mainTurret";
                gun="mainGun";
                animationSourceBody="mainTurret";
                animationSourceGun="mainGun";
                turretInfoType="RscOptics_Offroad_01";
                discreteDistance[]={100,200,300,400,500,600,800,1000,1200,1500};
                discreteDistanceInitIndex=2;
                gunnerForceOptics=0;
                gunnerOutOpticsShowCursor=0;
                weapons[]=
                {
                    "HMG_M2"
                };
                magazines[]=
                {
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow",
                    "100Rnd_127x99_mag_Tracer_Yellow"
                };
                minElev=-10;
                maxElev=40;
                soundServo[]=
                {
                    "A3\sounds_f\dummysound",
                    9.9999977e-007,
                    1
                };
                gunnerAction="gunner_offroad01";
                gunnerCompartments="Compartment2";
                ejectDeadGunner=0;
                castGunnerShadow=1;
                stabilizedInAxes=0;
                gunBeg="usti hlavne";
                gunEnd="konec hlavne";
                memoryPointGunnerOptics="gunnerview";
                optics=0;
                class GunFire: WeaponCloudsMGun
                {
                    interval=0.0099999998;
                };
                memoryPointsGetInGunner="pos gunner";
                memoryPointsGetInGunnerDir="pos gunner dir";
                class ViewOptics: ViewOptics
                {
                    minFov=0.25;
                    maxFov=1.25;
                    initFov=0.75;
                };
                class ViewGunner: ViewOptics
                {
                };
            };
        };
    };
    
            class fam_camionetas_fc_offroad : Offroad_01_base_F {
            editorPreview = "darkknight777_camionetas\editor\offroad_police.jpg";
            _generalMacro = Offroad_01_military_base_F;
            scope = 2;
 
            scopeCurator = 2;
            cost = 10000;
 
            side = TWest;
            faction = "Fuerzas del Orden";
            vehicleClass = "fam_camionetas";
            displayName = "fc Offroad";
            author = "darkKnight777";
            weapons[] = {};
            audible = 50;
            armor = 100;
            armorWheels = 100;
            armorGlass = 200;
            armorEngine = 2.0;
            hiddenSelections[] = {"camo", "camo2"};
            hiddenSelectionsTextures[] = {"darkknight777_camionetas\Data\fc.paa", "darkknight777_camionetas\Data\fc.paa"};
            availableForSupportTypes[] = {"Transport"};     
            typicalCargo[] = {};
            crew = ;
            preferRoads = true;
            brakeDistance = 7.0;
            class Turrets {};
            class EventHandlers {};
                };
        };
    };  
            
            
        class fam_camionetas_pf_offroad : Offroad_01_base_F {
            editorPreview = ;
            _generalMacro = Offroad_01_military_base_F;
            scope = 2;
 
            scopeCurator = 2;
            cost = 10000;
 
            side = TWest;
            faction = "Fuerzas del Orden";
            vehicleClass = "fam_camionetas";
            displayName = "pf Offroad";
            author = "darkKnight777";
            weapons[] = {};
            audible = 50;
            armor = 100;
            armorWheels = 100;
            armorGlass = 200;
            armorEngine = 2.0;
            hiddenSelections[] = {"camo", "camo2"};
            hiddenSelectionsTextures[] = {"darkknight777_camionetas\Data\pf.paa", "darkknight777_camionetas\Data\pf.paa"};
            availableForSupportTypes[] = {"Transport"};     
            typicalCargo[] = {};
            crew = ;
            preferRoads = true;
            brakeDistance = 7.0;
            class Turrets {};
            class EventHandlers {};
                };
        };
    };  

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

×