Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

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

 
#1 Posted at 2021-01-24 20:32        
     
Hi ppl!

I new on create mods. I folow some video tutorials but when I deploy the mod, load vanilla texture (U_I_OfficerUniform)

I INclude the file config from the gear, and the unit created tu use it.

COnfig.cpp unit
class CfgPatches {
class TEST_Units {
units[] = {"Unit_Test_Soldier"};
weapons[] = {};
requiredVersion = 0.1;
requireAddons[] = {
"A3_Characters_F",
"A3_Characters_F_Beta";
"Test_Equipments"
};
};
};

class CfgFactionClasses {
class TEST_Units {
displayName= "[Colombian Army]";
icon="";
priority=2;
side=1;
};
};

class CfgVehicles {
class I_Soldier_F;

class Unit_Test_Soldier: I_Soldier_F {
_macro="Unit_Test_Soldier";
editorPreview= "";
scope=2;
faction="TEST_Units";
nakedUniform="U_BasicBody";
model="\A3\Characters_F_Beta\INDEP\ia_officer.p3d";
hiddenSelections[]={"camo","insignia"};
hiddenSelectionsTexture[]={"\TEST_Equipment\textures\co_slr_test_a_1.paa"};
uniformClass= "Equipment_Test_Uniform";
backpack = "";
linkedItems[] = {};
respawnLinkedItems[] = {};
};
};


Thanks in advance for help of all!!!!

COnfig.cpp gear
class CfgPatches {
class Test_Equipments {
units[] = {"Equipment_Test_Uniform"};
weapons[] = {};
requiredVersion = 0.1;
requireAddons[] = {};
};
};

class cfgWeapons {
class ItemCore;
class Uniform_Base;
class UniformItem;

class Equipment_Test_Uniform: Uniform_Base {
_generalMacro="Equipment_Test_Uniform";
author="Shaadow Edition";
scope=2;
weaponPoolAvailable=1;
displayName="Display name";
picture="";
model="\A3\Characters_F_Beta\INDEP\ia_officer.p3d";
hiddenSelections[]={"camo","insignia"};
hiddenSelectionsTexture[]={"textures\texture_name.paa"};
class ItemInfo: UniformItem {
uniformmodel="\A3\Characters_F_Beta\INDEP\ia_officer.p3d";
//uniformmodel="\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d";
uniformClass="Unit_Test_Soldier";
containerClass="supply60";
mass=40;
};
};
};






Tags: Mods, Texture, Vanilla