Jump to content
Sign in to follow this  
ghostjaeger07

Trouble with custom faction config

Recommended Posts

I'm trying to create a custom faction by retexturing the vanilla independent models, I've figured out the retexture part, the problem I'm having is getting it to show up in the editor with the correct helmet and vest. This is what I have so far, but the faction does not show up in the editor.

enum {
// = 2, // Error parsing: Empty enum name
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 CfgPatches {
class ANA_Hyper_Camo {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Characters_F_BLUFOR"};
};
};

class CfgVehicleClasses {
   class ANA {
       displayName = "ANA";
   };
};

class CfgVehicles {

class B_Soldier_base_F;

class Example_Soldier_F : B_Soldier_base_F {
_generalMacro = "B_Soldier_F";
side = 3; 
scope = 2;
displayName = "Uniform Test Soldier";
nakedUniform = "U_BasicBody"; 
uniformClass = "Example_CombatUniform_mcam"; 
hiddenSelections[] = {"Camo"};
hiddenSelectionsTextures[] = {"Ix2_ANA\data\ANA_Hyper_Camo.paa"};

linkedItems[] = {"example_PlateCarrier1_rgr", "example_HelmetB", "NVGoggles", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
respawnLinkedItems[] = {"example_PlateCarrier1_rgr", "example_HelmetB", "NVGoggles", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
};

};

class cfgWeapons {
class Uniform_Base;
class UniformItem;

class Example_CombatUniform_mcam : Uniform_Base {
scope = 2;
displayName = "Example Mcam uniform";
picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa";
model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";

class ItemInfo : UniformItem {
uniformModel = "-";
uniformClass = "Example_Soldier_F"; 
containerClass = "Supply20"; 
mass = 80; 
};
};

class ItemCore;
class HeadgearItem;

class example_HelmetB : ItemCore {
scope = 2;
weaponPoolAvailable = 1;
displayName = "Example helmet";
picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
model = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic";
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"Ix2_ANA\data\headgear_helmet_canvas_co_ana.paa"};

class ItemInfo : HeadgearItem {
mass = 100;
uniformModel = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic";
modelSides[] = {3, 1};
armor = 3*0.5;
passThrough = 0.8;
hiddenSelections[] = {"camo"};
};
};

class Vest_Base;
class VestItem;

class example_PlateCarrier1_rgr : Vest_Base {
scope = 2;
displayName = "Example Platecarrier";
picture = "\A3\characters_f\Data\UI\icon_V_plate_carrier_1_CA.paa";
model = "\A3\Characters_F\BLUFOR\equip_b_vest02";
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"Ix2_ANA\data\tacticalvest_camo_co.paa"};

class ItemInfo : VestItem {
uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02";
containerClass = "Supply100";
mass = 50;
armor = 5*0.5;
passThrough = 0.7;
hiddenSelections[] = {"camo"};
};
};
};

Any help would be greatly appreciated, thanks in advance.

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  

×