Los clanes interesados en mostrar su logo en la comunidad deberán volver a presentar los clanes en este hilo

Fallo de texturas en uniformes custom

Todo lo relacionado con el modelado de addons e islas en Arma III
Avatar de Usuario

Autor del hilo
Kile467
Miembro
Miembro
Mensajes: 50
Registrado: 24 Abr 2017 14:16
Clan: MCOE
Contactar:

#19578

07 Nov 2017 19:20

¡Muy buenas a todos! Tras arreglar el anterior problema de las insignias, hay un último error de mis uniformes que me gustaría resolver. He estado revisando e indagando por google, pero no he podido encontrar nada al respecto. Además, es un error bastante aleatorio y algo complicado de reproducir, así que, por desgracia, no he tenido mucho margen de maniobra para probar cosas.

Os explico: Los uniformes se componen de tres texturas diferentes: Parte de arriba, parte de abajo y accesorios. El caso es, que las texturas, al entrar a la partida, cargan a las mil maravillas, pero si alguien entra, digamos, 5 o 10 minutos tarde, la textura de los pantalones de algunos que ya estaban en la partida cargan con un color completamente negro, no con la textura adecuada. Las rutas del rvmat son correctas, y, dado que con la camiseta y con los accesorios no pasa, es muy probable que sea un error bastante tonto. ¿Sabríais que podría ser? ¡Si necesitáis el config no tengo ningún problema en pasarlo!

¡Muchísimas gracias de antemano!
Imagen

Avatar de Usuario

Mickyleitor
Desarrollador FFAA MOD
Desarrollador FFAA MOD
Mensajes: 310
Registrado: 01 Ene 1970 01:00
Contactar:

#19579

07 Nov 2017 19:33

Mejor que pases config.

Avatar de Usuario

Autor del hilo
Kile467
Miembro
Miembro
Mensajes: 50
Registrado: 24 Abr 2017 14:16
Clan: MCOE
Contactar:

#19580

07 Nov 2017 19:58

¡Aquí tienes! No sé si habrá alguna manera de pasar el código resaltado como en Discord. Si es así, avísame y te facilito todo lo posible la lectura! Son 500 líneas de código :see_stars:

Código: Seleccionar todo

class CfgPatches
{
    class MCOE_Uniforms
    {
        units[] = {"MCOE_Uniforms"};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Characters_F","A3_data_f","A3_Characters_F_BLUFOR"};/*,"rhsusf_infantry"*/
    };
};

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

class CfgVehicles {
    class B_Soldier_F;
 
	/*OFICIALES Y SUBOFICIALES*/
    class H_MCOE_Uniform_Veterano_MC: B_Soldier_F {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Veterano (Boscoso)";
        model = "\mcoe_uniforms\models\u_fleece_g3_field_pants_base.p3d";
        uniformClass = "H_MCOE_Uniform_Veterano_MC";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_rgr.paa", "mcoe_uniforms\textures\u_g3_field_pants_mc_co.paa", "mcoe_uniforms\textures\u_equipment_blk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
 
        class Wounds {
            tex[] = {};
            mat[] = {"mcoe_uniforms\textures\u_fleece.rvmat", "mcoe_uniforms\textures\u_fleece_injury.rvmat", "mcoe_uniforms\textures\u_fleece_injury.rvmat", "mcoe_uniforms\textures\u_g3_field_pants.rvmat", "mcoe_uniforms\textures\u_g3_field_pants_injury.rvmat", "mcoe_uniforms\textures\u_g3_field_pants_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_old.rvmat", "A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"};
        };
    };
	
    class H_MCOE_Uniform_Veterano_MC_Arido: H_MCOE_Uniform_Veterano_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Veterano (Desertico)";
        model = "\mcoe_uniforms\models\u_fleece_g3_field_pants_base.p3d";
        uniformClass = "H_MCOE_Uniform_Veterano_MC_Arido";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_khk.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcarid_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Veterano_MC_Tropical: H_MCOE_Uniform_Veterano_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Veterano (Tropical)";
        model = "\mcoe_uniforms\models\u_fleece_g3_field_pants_base.p3d";
        uniformClass = "H_MCOE_Uniform_Veterano_MC_Tropical";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_rgr.paa", "mcoe_uniforms\textures\u_g3_field_pants_mctropic_co.paa", "mcoe_uniforms\textures\u_equipment_blk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Veterano_MC_Artico: H_MCOE_Uniform_Veterano_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Veterano (Artico)";
        model = "\mcoe_uniforms\models\u_fleece_g3_field_pants_base.p3d";
        uniformClass = "H_MCOE_Uniform_Veterano_MC_Artico";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_grey.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcalpine_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Veterano_MC_Urbano: H_MCOE_Uniform_Veterano_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Veterano (Urbano)";
        model = "\mcoe_uniforms\models\u_fleece_g3_field_pants_base.p3d";
        uniformClass = "H_MCOE_Uniform_Veterano_MC_Urbano";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_blk.paa", "mcoe_uniforms\textures\u_g3_field_pants_urb_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Veterano_MC_Negro: H_MCOE_Uniform_Veterano_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Veterano (Negro)";
        model = "\mcoe_uniforms\models\u_fleece_g3_field_pants_base.p3d";
        uniformClass = "H_MCOE_Uniform_Veterano_MC_Negro";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_blk.paa", "mcoe_uniforms\textures\u_g3_field_pants_blk_co.paa", "mcoe_uniforms\textures\u_equipment_drk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	/*INFANTERIA*/
	class H_MCOE_Uniform_Infanteria_MC: B_Soldier_F {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Boscoso)";
        model = "\mcoe_uniforms\models\u_g3_field_set_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc.paa", "mcoe_uniforms\textures\u_g3_field_pants_mc_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
 
        class Wounds {
            tex[] = {};
            mat[] = {"mcoe_uniforms\textures\u_g3_field_shirt.rvmat", "mcoe_uniforms\textures\u_g3_field_shirt_injury.rvmat", "mcoe_uniforms\textures\u_g3_field_shirt_injury.rvmat", "mcoe_uniforms\textures\u_g3_field_pants.rvmat", "mcoe_uniforms\textures\u_g3_field_pants_injury.rvmat", "mcoe_uniforms\textures\u_g3_field_pants_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_old.rvmat", "A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"};
        };
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Arido: H_MCOE_Uniform_Infanteria_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Desertico)";
        model = "\mcoe_uniforms\models\u_g3_field_set_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Arido";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_arido.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcarid_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Tropical: H_MCOE_Uniform_Infanteria_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Tropical)";
        model = "\mcoe_uniforms\models\u_g3_field_set_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Tropical";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_tropical.paa", "mcoe_uniforms\textures\u_g3_field_pants_mctropic_co.paa", "mcoe_uniforms\textures\u_equipment_blk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Artico: H_MCOE_Uniform_Infanteria_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Artico)";
        model = "\mcoe_uniforms\models\u_g3_field_set_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Artico";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_artico.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcalpine_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Urbano: H_MCOE_Uniform_Infanteria_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Urbano)";
        model = "\mcoe_uniforms\models\u_g3_field_set_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Urbano";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_urb.paa", "mcoe_uniforms\textures\u_g3_field_pants_urb_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Negro: H_MCOE_Uniform_Infanteria_MC {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Negro)";
        model = "\mcoe_uniforms\models\u_g3_field_set_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Negro";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_blk.paa", "mcoe_uniforms\textures\u_g3_field_pants_blk_co.paa", "mcoe_uniforms\textures\u_equipment_drk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	/*INFANTERIA ARREMANGADA*/
	class H_MCOE_Uniform_Infanteria_MC_Arremangado: B_Soldier_F {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Boscoso)(Remangado)";
        model = "\mcoe_uniforms\models\u_g3_field_set_rolled_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Arremangado";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc.paa", "mcoe_uniforms\textures\u_g3_field_pants_mc_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
 
        class Wounds {
            tex[] = {};
            mat[] = {"mcoe_uniforms\textures\u_g3_field_shirt.rvmat", "mcoe_uniforms\textures\u_g3_field_shirt_injury.rvmat", "mcoe_uniforms\textures\u_g3_field_shirt_injury.rvmat", "mcoe_uniforms\textures\u_g3_field_pants.rvmat", "mcoe_uniforms\textures\u_g3_field_pants_injury.rvmat", "mcoe_uniforms\textures\u_g3_field_pants_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_old.rvmat", "A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat", "A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat", "A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"};
        };
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Arido_Arremangado: H_MCOE_Uniform_Infanteria_MC_Arremangado {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Desertico)(Remangado)";
        model = "\mcoe_uniforms\models\u_g3_field_set_rolled_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Arido_Arremangado";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_arido.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcarid_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Tropical_Arremangado: H_MCOE_Uniform_Infanteria_MC_Arremangado {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Tropical)(Remangado)";
        model = "\mcoe_uniforms\models\u_g3_field_set_rolled_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Tropical_Arremangado";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_tropical.paa", "mcoe_uniforms\textures\u_g3_field_pants_mctropic_co.paa", "mcoe_uniforms\textures\u_equipment_blk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Urbano_Arremangado: H_MCOE_Uniform_Infanteria_MC_Arremangado {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Urbano)(Remangado)";
        model = "\mcoe_uniforms\models\u_g3_field_set_rolled_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Urbano_Arremangado";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_urb.paa", "mcoe_uniforms\textures\u_g3_field_pants_urb_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	class H_MCOE_Uniform_Infanteria_MC_Negro_Arremangado: H_MCOE_Uniform_Infanteria_MC_Arremangado {
        scope = 2;
        faction = "BLU_F";
        vehicleclass = "MCOE_u";
        author = "Adacas";
        displayName = "[MCOE] Hombre Uniforme de Infanteria (Negro)(Remangado)";
        model = "\mcoe_uniforms\models\u_g3_field_set_rolled_base.p3d";
        uniformClass = "H_MCOE_Uniform_Infanteria_MC_Negro_Arremangado";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_blk.paa", "mcoe_uniforms\textures\u_g3_field_pants_blk_co.paa", "mcoe_uniforms\textures\u_equipment_drk_co.paa"};
        linkedItems[] = {};
        respawnLinkedItems[] = {};
    };
	
	
};


class cfgWeapons
{
	class ItemCore;   
   /*extern*/ class UniformItem;
    /*extern*/ class Uniform_Base: ItemCore
	{
		class ItemInfo;
	};
 
	/*OFICIALES Y SUBOFICIALES*/
    class MCOE_Uniform_Veterano_MC: Uniform_Base
    {
        author = "Adacas"
        scope = 2;
        displayName = "[MCOE] Uniforme de Veterano (Boscoso)";
        picture = "\mcoe_uniforms\ui\icon_u_fleece_g3_field_pants_rgr_mc_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_rgr.paa", "mcoe_uniforms\textures\u_g3_field_pants_mc_co.paa", "mcoe_uniforms\textures\u_equipment_blk_co.paa"};
 
        class ItemInfo: UniformItem
        {
            uniformModel =  "-" ;
            uniformClass = "H_MCOE_Uniform_Veterano_MC";
            containerClass = "Supply50";
            mass = 40;
        };
    };
		
	class MCOE_Uniform_Veterano_MC_Arido: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Veterano (Desertico)";
        picture = "\mcoe_uniforms\ui\icon_u_fleece_g3_field_pants_khk_mcarid_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_khk.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcarid_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Veterano_MC_Arido";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Veterano_MC_Tropical: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Veterano (Tropical)";
        picture = "\mcoe_uniforms\ui\icon_u_fleece_g3_field_pants_rgr_mctropic_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_rgr.paa", "mcoe_uniforms\textures\u_g3_field_pants_mctropic_co.paa", "mcoe_uniforms\textures\u_equipment_blk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Veterano_MC_Tropical";
            containerClass = "Supply50";
            mass = 40;
        };
    };
 	
	class MCOE_Uniform_Veterano_MC_Artico: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Veterano (Artico)";
        picture = "\mcoe_uniforms\ui\icon_u_fleece_g3_field_pants_grey_mcalpine_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_grey.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcalpine_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Veterano_MC_Artico";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Veterano_MC_Urbano: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Veterano (Urbano)";
        picture = "\mcoe_uniforms\ui\icon_u_fleece_g3_field_pants_grey_mcalpine_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_blk.paa", "mcoe_uniforms\textures\u_g3_field_pants_urb_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Veterano_MC_Urbano";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Veterano_MC_Negro: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Veterano (Negro)";
        picture = "\mcoe_uniforms\ui\icon_u_fleece_g3_field_pants_rgr_mc_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_vet_blk.paa", "mcoe_uniforms\textures\u_g3_field_pants_blk_co.paa", "mcoe_uniforms\textures\u_equipment_drk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Veterano_MC_Negro";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	/*INFANTERIA*/
	class MCOE_Uniform_Infanteria_MC: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Boscoso)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_mc_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc.paa", "mcoe_uniforms\textures\u_g3_field_pants_mc_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Arido: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Desertico)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_mcarid_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_arido.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcarid_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Arido";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Tropical: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Tropical)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_mctropic_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_tropical.paa", "mcoe_uniforms\textures\u_g3_field_pants_mctropic_co.paa", "mcoe_uniforms\textures\u_equipment_blk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Tropical";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Artico: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Artico)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_mcalpine_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_artico.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcalpine_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Artico";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Urbano: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Urbano)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_mcalpine_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_urb.paa", "mcoe_uniforms\textures\u_g3_field_pants_urb_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Urbano";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Negro: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Negro)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_mc_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_blk.paa", "mcoe_uniforms\textures\u_g3_field_pants_blk_co.paa", "mcoe_uniforms\textures\u_equipment_drk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Negro";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	/*INFANTERIA ARREMANGADA*/
	class MCOE_Uniform_Infanteria_MC_Arremangado: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Boscoso) (Remangado)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_rolled_mc_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc.paa", "mcoe_uniforms\textures\u_g3_field_pants_mc_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Arremangado";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Arido_Arremangado: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Desertico) (Remangado)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_rolled_mcarid_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_arido.paa", "mcoe_uniforms\textures\u_g3_field_pants_mcarid_co.paa", "mcoe_uniforms\textures\u_equipment_khk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Arido_Arremangado";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Tropical_Arremangado: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Tropical) (Remangado)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_rolled_mctropic_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_mc_tropical.paa", "mcoe_uniforms\textures\u_g3_field_pants_mctropic_co.paa", "mcoe_uniforms\textures\u_equipment_blk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Tropical_Arremangado";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Urbano_Arremangado: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Urbano) (Remangado)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_rolled_mcarid_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_urb.paa", "mcoe_uniforms\textures\u_g3_field_pants_urb_co.paa", "mcoe_uniforms\textures\u_equipment_wht_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Urbano_Arremangado";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
	class MCOE_Uniform_Infanteria_MC_Negro_Arremangado: Uniform_Base {
        author = "Adacas";
        scope = 2;
        displayName = "[MCOE] Uniforme de Infanteria (Negro) (Remangado)";
        picture = "\mcoe_uniforms\ui\icon_u_g3_field_set_rolled_mc_ca.paa";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[] = {"camo", "camo1", "camo2", "insignia", "clan"};
        hiddenSelectionsTextures[] = {"mcoe_uniforms\textures\mcoe_inf_blk.paa", "mcoe_uniforms\textures\u_g3_field_pants_blk_co.paa", "mcoe_uniforms\textures\u_equipment_drk_co.paa"};
 
        class ItemInfo: UniformItem {
            uniformModel = "-";
            uniformClass = "H_MCOE_Uniform_Infanteria_MC_Negro_Arremangado";
            containerClass = "Supply50";
            mass = 40;
        };
    };
	
};
Imagen

Avatar de Usuario

Mickyleitor
Desarrollador FFAA MOD
Desarrollador FFAA MOD
Mensajes: 310
Registrado: 01 Ene 1970 01:00
Contactar:

#19582

07 Nov 2017 20:52

En principio.. no veo nada raro en el config.
Lo que sí, que yo intento optimizar todo, aprovechate de las herencias para omitir datos redudantes, puedes ahorrarte bastantes líneas de código (unas 100 por lo menos).

Por otra parte, aunque creo que no es lo que te está dando problemas, pero el uniforme que se coge del suelo (los del CfgWeapons) estas cogiendo uno de arma 3 (suitpack_original_F.p3d) y le estas poniendo hiddenSelections que no existen en el modelo, solo existe el camo. Por lo que por lo pronto solo se verá bien la primera textura.

Por último, para que las unidades se puedan ver en Zeus (por ejemplo), registra todas las unidadas y weapons en el CfgPatches:

https://pastebin.com/paysthtq

Avatar de Usuario

Autor del hilo
Kile467
Miembro
Miembro
Mensajes: 50
Registrado: 24 Abr 2017 14:16
Clan: MCOE
Contactar:

#19588

08 Nov 2017 13:27

Pues sí, viendo el pastebin que me has mandado la verdad es que las líneas de código que me has ahorrado tienen tela.

Ya tenía yo pensado limpiar un poco el código, la cosa es que estos uniformes vienen del Military Gear Pack, un mod que lleva ya muuucho tiempo sin actualizarse, imagino que el autor no adaptó el código al cambio en las herencias de Bohemia. Probaré lo que me has pasado para ver si funciona correctamente.

Ese modelo que me comentas (suitpack_original_F.p3d) ya estaba así en el código original, la verdad, ni me había fijado. Voy a ver si puedo retocarlo, para que no de ningún tipo de errores.

Me acabo de dar cuenta, además, de que, como el Addon Builder no puede binarizar el mod (por temas de antigüedad, supongo, alguna textura antigua y demás), se me había pasado por completo binarizar el config.ccp a parte.

¿Es posible que sea por esta falta de optimización (tango del código, como de no binarizar el config.ccp) que la textura del pantalón no cargue correctamente? Si no, ¿se te ocurre alguna otra causa? :(

Muchísimas gracias por arreglarme el código y por toda la ayuda que me estás dando Micky!! Te debo ya un par de cervezas! :beer2:
Imagen

Avatar de Usuario

Mickyleitor
Desarrollador FFAA MOD
Desarrollador FFAA MOD
Mensajes: 310
Registrado: 01 Ene 1970 01:00
Contactar:

#19589

08 Nov 2017 13:42

Son solo optimizaciones, en realidad no cambia nada (de hecho, debería de seguir dando ese error, aunque quien sabe, a lo mejor ya se arregla con las herencias). Lo de que la textura sea antigua da igual, siguen siendo texturas aunque sean antiguas.
¿A los uniformes del Military Gear Pack tambien les pasa lo mismo? Es decir, los del autor, no el que has modificado.

Avatar de Usuario

Autor del hilo
Kile467
Miembro
Miembro
Mensajes: 50
Registrado: 24 Abr 2017 14:16
Clan: MCOE
Contactar:

#19590

08 Nov 2017 14:09

Cuando empezamos a utilizarlo no. El caso es que luego hubo una actualización de Arma (La del jets, si no recuerdo mal, añadieron el mapa de Malden), y empezaron a haber errores con los pantalones; La textura de la insignia se ponía en la de los pantalones, básicamente. No sé si esto se debió a que, quizá, en esa actualización, Bohemia cambiase cómo trataba Arma las insignias (por poner un ejemplo lógico), pero el caso es que ese error se solucionó. (No recuerdo si hice yo algo, o se solucionó sólo, hace muchos meses de eso).

El caso es que después de eso, hemos estado teniendo este error de los pantalones negros hasta ahora...
Imagen

Responder Tema anteriorTema siguiente
  • Similar Topics
    Respuestas
    Vistas
    Último mensaje
  • Problema con las insignias en unos uniformes custom
    por Kile467 » 27 Oct 2017 17:23 » en Addons
    3 Respuestas
    99 Vistas
    Último mensaje por Kile467
    29 Oct 2017 14:32

Volver a “Addons”

  • Información
  • ¿Quién está conectado?

    Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado