Jump to content
Sign in to follow this  
Marve_XT

what the Armed offroad config ?

Recommended Posts

ok i have successfully added an offroad to an opfor faction i have made recently, but i cant add an armed offroad , whats wrong with my current config ?

class CfgPatches

{

class My_A3_Soft_F_Offroad_01

{

units[]={};

weapons[]={};

requiredVersion=0.1;

requiredAddons[]=

{

"A3_Soft_F",

"A3_Soft_F_Offroad_01"

};

};

};

class CfgVehicles

{

class I_G_Offroad_01_armed_F;

class My_Offroad_01: I_G_Offroad_01_armed_F

{

author="MarveN";

_generalMacro="C_Offroad_01_F";

displayName="Offroad";

scope=2;

crew="I_soldier_F";

side=0;

faction="MarveN";

class Turrets

{

};

hiddenSelections[]=

{

"camo",

"camo2"

};

hiddenSelectionsTextures[]=

{

"\marv_cars\Data\marven_offroad.paa",

"\marv_cars\Data\marven_offroad.paa"

};

};

};

main issues :

#1 : cant play as gunner , only driver available .

#2: cant change texture , always returns to default texture .

i would be more then glade if anyone provided me with a working config for an armed offroad .

Share this post


Link to post
Share on other sites

class CfgPatches
{
   class Meaty_Vech_B_WD {
       units[] = {Meaty_O_Offroad_WD};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {};
   };
};

class CfgVehicleClasses
{
   class Meaty_CarOWD
   {
       displayName = "M_Car (Op Woodland)";
   };

};

class Offroad_01_armed_base_F; 
   class Meaty_O_Offroad_WD :Offroad_01_armed_base_F { 
           _generalMacro = "Offroad_01_armed_base_F"; 
    author = "Meatshield";
           scope = 2; 
           side = 0; 
    vehicleClass = "Meaty_CarOWD";
           faction = "OPF_F";                 
           displayName="Armed Offroad (Woodland)";
       crew = "Meaty_Crew_O_WD"
       hiddenSelections[]= {"camo"};
       hiddenSelectionsTextures[]= {"Meaty_Op_WD_Vech\data\offroad_01_ext_co.paa"};            
       typicalCargo[] = {"Meaty_Crew_O_WD"}; 
           availableForSupportTypes[] = {"Drop","Transport"}; 
      };

working config, change as needed :)

Share this post


Link to post
Share on other sites

You can also use this:

class I_G_Offroad_01_armed_F ;

class B_G_Offroad_01_armed_F: I_G_Offroad_01_armed_F {

author = "Your name";

crew = "Your_crew";

hiddenSelections[]= {"camo"};

hiddenSelectionsTextures[]= {"\A3\Soft_F\Offroad_01\Data\Offroad_01_ext_CO.paa"};

faction = "Your_faction";

scope = 2;

side = 1; //0 = Opfor, 1 = Blufor, 2 = Independent

};

Share this post


Link to post
Share on other sites

not working guys ... no luck , the whole vehicles tap doesn't show at all in my faction when i do ur both configs .

i am getting crazy !!!

class DefaultEventhandlers;

class CfgPatches

{

class A3_Soft_F_Gamma_Offroad

{

units[]={};

weapons[]={};

requiredVersion=0.1;

requiredAddons[]=

{

"A3_Soft_F",

"A3_Soft_F_Offroad_01"

};

};

};

class CfgVehicles

{

class Offroad_01_armed_base_F;

class myI_G_Offroad_01_armed_F: Offroad_01_armed_base_F

{

author="$STR_A3_Bohemia_Interactive";

_generalMacro="I_G_Offroad_01_armed_F";

scope=2;

scopeCurator=0;

side=0;

faction="MarveN";

crew="I_G_Soldier_F";

typicalCargo[]=

{

"I_G_Soldier_F"

};

accuracy=1.25;

class EventHandlers: EventHandlers

{

init="(_this select 0) execVM ""\A3\Soft_F_Gamma\Offroad_01\scripts\randomize_IG.sqf""";

killed="_this call (uinamespace getvariable 'BIS_fnc_effectKilled'); _this select 0 animate [""DamageUnHideConstruction"",0];";

};

};

};

Share this post


Link to post
Share on other sites

change:

class Offroad_01_armed_base_F;

class myI_G_Offroad_01_armed_F: Offroad_01_armed_base_F

to

class I_G_Offroad_01_armed_F;

class myI_G_Offroad_01_armed_F: I_G_Offroad_01_armed_F

change crew and typicalCargo to 'O_Soldier_F'

I'm assuming you have a 'MarveN' faction defined somewhere else?

best I can do while not being at home...

Share this post


Link to post
Share on other sites
change:

class Offroad_01_armed_base_F;

class myI_G_Offroad_01_armed_F: Offroad_01_armed_base_F

to

class I_G_Offroad_01_armed_F;

class myI_G_Offroad_01_armed_F: I_G_Offroad_01_armed_F

change crew and typicalCargo to 'O_Soldier_F'

I'm assuming you have a 'MarveN' faction defined somewhere else?

best I can do while not being at home...

still no luck < waiting u till u rich home i guess :)

Share this post


Link to post
Share on other sites

try this:

class O_G_Offroad_01_armed_F;

class Meaty_O_Offroad_WD :O_G_Offroad_01_armed_F{

_generalMacro = "Meaty_O_Offroad_WD";

author = "Meatshield";

scope = 2;

side = 0;

vehicleClass = "Meaty_CarOWD";

faction = "OPF_F";

displayName="Armed Offroad (Woodland)";

crew = "Meaty_Crew_O_WD"

hiddenSelections[]= {"camo"};

hiddenSelectionsTextures[]= {"\Meaty_Op_WD_Vech\data\offroad_01_ext_co.paa"};

typicalCargo[] = {"Meaty_Crew_O_WD"};

availableForSupportTypes[] = {"Drop","Transport"};

};

That might work.

Share this post


Link to post
Share on other sites

it turns out that only civilian offroads (C_Offroad_01_F) are working, no opfor or blufor regular or armed offroads are working !

i dont know why :mad:

Share this post


Link to post
Share on other sites

try to use the requiredAddons in your cfgPatches:

requiredAddons[] = {"A3_Soft_F_Offroad_01"};

Edit: sry somehow i thought you missed that in your config, but it is there ^^

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
Sign in to follow this  

×