Jump to content

Emontex

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Emontex

  • Rank
    Rookie
  1. Emontex

    Uniform Config Errors

    This ist the complete code: /// cfgPatches (CORE!) /// class cfgPatches { class CHE_Equipment { units[] = { "CHE_Soldier_Base", "CHE_Soldier_rolledup", "CHE_Soldier_tshirt" }; weapons[] = { "CHE_TAZ", "CHE_TAZ_rolledup", "CHE_TAZ_tshirt" }; requiredAddons[] = { "A3_Weapons_F", "A3_Characters_F_BLUFOR" }; }; }; /// Uniform config /// class cfgWeapons { class InventoryItem_Base_F; class ItemCore; class UniformItem: InventoryItem_Base_F { type = 801 }; class Uniform_Base: ItemCore { //Uniform Base Definition -------------------------------------------- scope = 0; allowedSlots[] = {901}; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "B_Soldier_F"; containerClass = "Supply0"; mass = 0; }; }; //Uniform Base Definition -------------------------------------------- // Uniform ----------------------------------------------------------------------------------------------------------- class CHE_TAZ: Uniform_Base { // SWISS_WOODLAND_TAZ scope = 2; author = "Emontex"; displayName = "CHE TAZ 90"; picture = {""}//-------------------------------------------------------------------------- /* model = ""; \A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d */ hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\suitpack_swiss_woodland_co.paa"}; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "CHE_Soldier_Base"; containerClass = "Supply40"; mass = 40; }; class CHE_TAZ_rolledup : Uniform_Base { // SWISS_WOODLAND_TAZ_rolledup scope = 2; author = "Emontex"; displayName = "CHE TAZ 90 Rolled-Up"; picture = {""}//-------------------------------------------------------------------------- /* model = ""; \A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d */ hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\suitpack_swiss_woodland_co.paa"}; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "CHE_Soldier_rolledup"; containerClass = "Supply40"; mass = 40; }; class CHE_TAZ_tshirt : Uniform_Base { // SWISS_WOODLAND_TAZ_tshirt scope = 2; author = "Emontex"; displayName = "CHE TAZ 90 T-Shirt"; picture = {""}//-------------------------------------------------------------------------- /* model = ""; \A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d */ hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\suitpack_swiss_woodland_co.paa"}; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "CHE_Soldier_tshirt"; containerClass = "Supply40"; mass = 30; }; }; /// Sample character config /// class cfgVehicles { class Man; class B_Soldier_F; class CHE_Soldier_Base: B_Soldier_F { side = 1; scope = 2; displayName = "CHE Soldier Base"; uniformClass= "CHE_TAZ"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\SWISS_W_clothing.paa"}; linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"Throw","Put"}; respawnWeapons[] = {"Throw","Put"}; magazines[] = {}; respawnMagazines[] = {}; }; class CHE_Soldier_rolledup: CHE_Soldier_Base { displayName = "CHE Soldier Rolled-Up"; uniformClass = "CHE_TAZ_rolledup"; model = "\A3\characters_F\BLUFOR\b_soldier_03.p3d";// Rolled sleeve hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\SWISS_W_clothing.paa"}; }; class CHE_Soldier_tshirt: CHE_Soldier_Base { displayName = "CHE Soldier T-Shirt"; uniformClass = "CHE_TAZ_tshirt"; model = "\A3\characters_F\BLUFOR\b_soldier_02.p3d";// T-Shirt hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\SWISS_W_clothing.paa"}; }; };
  2. Emontex

    Uniform Config Errors

    Okay, I tried to write cfgPatches directly into the config.cpp instead of including it in case that was the problem. The error still persists, but jumped to line 65... author = "Emontex"; displayName = "CHE TAZ 90 Rolled-Up"; picture = {""}//-------------------------------------------------------------------------- model = ""; // \A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\suitpack_swiss_woodland_co.paa"}; BUT the problem is (this was also the case before it changed lines) the code snippet you see begins with line 65. The "model-line" is 68. Also, as you can see, I tried excluding it (partly as shown above, and completely). That didn't work either, but the error jumped to line 66...
  3. I've reached the point where I'm giving up... The error I get on startup is: "File Swiss_by_Keo\config.cpp, line 42: /cfgWeapons.model: Member already defined." I have no idea what the problem is. If I delete any of the definitions I get an error code for that. Can somebody help me? /// Uniform config /// class cfgWeapons { class InventoryItem_Base_F; class ItemCore; class UniformItem: InventoryItem_Base_F { type = 801 }; class Uniform_Base: ItemCore { //Uniform Base Definition -------------------------------------------- scope = 0; allowedSlots[] = {901}; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "B_Soldier_F"; containerClass = "Supply0"; mass = 0; }; }; //Uniform Base Definition -------------------------------------------- // Uniform ----------------------------------------------------------------------------------------------------------- class CHE_TAZ: Uniform_Base { // SWISS_WOODLAND_TAZ scope = 2; author = "Emontex"; displayName = "CHE TAZ 90"; picture = {""}//-------------------------------------------------------------------------- model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\suitpack_swiss_woodland_co.paa"}; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "CHE_Soldier_Base"; containerClass = "Supply40"; mass = 40; }; class CHE_TAZ_rolledup : Uniform_Base { // SWISS_WOODLAND_TAZ_rolledup scope = 2; author = "Emontex"; displayName = "CHE TAZ 90 Rolled-Up"; picture = {""}//-------------------------------------------------------------------------- model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\suitpack_swiss_woodland_co.paa"}; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "CHE_Soldier_rolledup"; containerClass = "Supply40"; mass = 40; }; class CHE_TAZ_tshirt : Uniform_Base { // SWISS_WOODLAND_TAZ_tshirt scope = 2; author = "Emontex"; displayName = "CHE TAZ 90 T-Shirt"; picture = {""}//-------------------------------------------------------------------------- model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\suitpack_swiss_woodland_co.paa"}; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "CHE_Soldier_tshirt"; containerClass = "Supply40"; mass = 30; }; }; /// Sample character config /// class cfgVehicles { class Man; class B_Soldier_F; class CHE_Soldier_Base: B_Soldier_F { side = 1; scope = 2; displayName = "CHE Soldier Base"; uniformClass= "CHE_TAZ"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\SWISS_W_clothing.paa"}; linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"Throw","Put"}; respawnWeapons[] = {"Throw","Put"}; magazines[] = {}; respawnMagazines[] = {}; }; class CHE_Soldier_rolledup: CHE_Soldier_Base { displayName = "CHE Soldier Rolled-Up"; uniformClass = "CHE_TAZ_rolledup"; model = "\A3\characters_F\BLUFOR\b_soldier_03.p3d";// Rolled sleeve hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\SWISS_W_clothing.paa"}; }; class CHE_Soldier_tshirt: CHE_Soldier_Base { displayName = "CHE Soldier T-Shirt"; uniformClass = "CHE_TAZ_tshirt"; model = "\A3\characters_F\BLUFOR\b_soldier_02.p3d";// T-Shirt hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\Swiss_by_Keo\Uniform_TAZ_90\SWISS_W_clothing.paa"}; }; };
×