Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2018-04-14 06:14        
     
Hello, I've recently been learning more about uniform retexturing. Using this video as a base, templates were made available by the author, https://www.youtube.com/watch?v=qZoI7f0ApSI. So far the good news I've gotten two uniforms to appear in editor, the third still appears as the template and in the Virtual Arsenal all three are just underwear. Can anyone tell me what I'm doing wrong, could it also be issues with RVMAT files? Config below:

class CfgPatches
{
class Elba_Uniform_Test
{
units[] = {"UniformTestElba";};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Characters_F"};
};
};

//************************************************************************************************************************************************************************************************
//***** Factions *********************************************************************************************************************************************************
//************************************************************************************************************************************************************************************************
class cfgFactionClasses
{
class Burkina_Mali
{
displayName = "Burkina-Mali";
priority = 3; // Position in list.
side = 1; // Opfor = 0, Blufor = 1, Indep = 2.
icon = ""; //Custom Icon
};
};

class CfgUnitInsignia
{
class Custom_Insignia
{
displayName = "Flag"; // Name displayed in Arsenal
author = "Astartes/Me"; // Author displayed in Arsenal
texture = "\UniformTestElba\UI\custom_patch_co.paa"; // Image path
textureVehicle = ""; // Does nothing currently, reserved for future use
};
};

class UniformSlotInfo
{
slotType = 0;
linkProxy = "-";
};

class CfgVehicles
{
//************************************************************************************************************************************************************************************************
//***** Units *********************************************************************************************************************************************************
//************************************************************************************************************************************************************************************************
class B_Soldier_F;

class UniformTestElba: B_soldier_F {
author = "Astartes/me";
_generalMacro = "B_soldier_F";
scope = 2;
displayName = "Junta Soldier";
identityTypes[] = {"Head_NATO", "G_NATO_default"};
genericNames = "NATOMen";
faction = "Burkina_Mali";
model = "\A3\Characters_F\OPFOR\o_officer_noinsignia_f.p3d";
uniformClass = "Burkina_Mali_Junta";
hiddenSelections[] = {"Camo","Insignia"};
hiddenSelectionsTextures[] = {"UniformTestElba\Data\Burkina1.paa"};
hiddenSelectionsMaterials[] = {"UniformTestElba\Data\Burkina1.rvmat"};
weapons[] = {"arifle_TRG20_ACO_Flash_F","Throw","Put"};
respawnWeapons[] = {"arifle_TRG20_ACO_Flash_F","Throw","Put"};
magazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"};
respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"};
linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
};

class UniformTestElba_1: B_soldier_F {
author = "Astartes/me";
_generalMacro = "B_soldier_F";
scope = 2;
displayName = "Junta Guard";
identityTypes[] = {"Head_NATO", "G_NATO_default"};
genericNames = "NATOMen";
faction = "Burkina_Mali";
model = "\A3\Characters_F\OPFOR\o_officer_noinsignia_f.p3d";
uniformClass = "Burkina_Mali_Junta";
hiddenSelections[] = {"Camo","Insignia"};
hiddenSelectionsTextures[] = {"UniformTestElba\Data\Mali1.paa"};
hiddenSelectionsMaterials[] = {"UniformTestElba\Data\Mali1.rvmat"};
weapons[] = {"arifle_TRG20_ACO_Flash_F","Throw","Put"};
respawnWeapons[] = {"arifle_TRG20_ACO_Flash_F","Throw","Put"};
magazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"};
respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"};
linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
};
};

class cfgWeapons
{
//********************************************************************************************************************************************************************************************
//***** Uniforms *****************************************************************************************************************************************************
//********************************************************************************************************************************************************************************************
class ItemCore;
class UniformItem;
class Uniform_Base: ItemCore
{
class ItemInfo;
};

class Burkina_Mali_Junta: Uniform_Base
{
scope = 2;
displayName = "Burkina Mali Junta";
picture = "-";
model = "\A3\Characters_F\OPFOR\o_officer_noinsignia_f.p3d";
class ItemInfo : UniformItem {
uniformClass = "Burkina_Mali_Uniform";
containerClass = "Supply50";
mass = 50;
};
};
class Burkina_Mali_Junta_2: Uniform_Base
{
scope = 2;
displayName = "Burkina Mali Junta 2";
picture = "-";
model = "\A3\Characters_F\OPFOR\o_officer_noinsignia_f.p3d";
class ItemInfo : UniformItem {
uniformClass = "Burkina_Mali_Uniform_2";
containerClass = "Supply50";
mass = 50;
};
};
};


Author Message


Posts: 505
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 43
In-game name:

 
#2 Posted at 2018-04-16 11:03        
     
Hello,
i found at the top of your config:

units[] = {"UniformTestElba";};

the ; after the " shouldn't be there.
==================
Use this tool when working with configs https://notepad-plus-plus.org/
hope that helps.