Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
lllLiriklll

Проблема белой текстуры

Пытаюсь создать ретекстур плитника, столкнулся с проблемой, конфиг не подхватывает мою собственную текстуру.
class CfgPatches
{
    class DZ_Characters_Vests
    {
        units[]=
        {
            "TacticalVest",
            "UKAssVest"
        };
        weapons[]={};
        requiredVersion=0.1;
        requiredAddons[]=
        {
            "DZ_Characters"
        };
    };
};
class CfgVehicles

    class PlateCarrierVest;
    class KalichCarrier_IGT_Base: PlateCarrierVest
    {
        scope=2;
        displayName="Бронежелет Армий ИГТ";
        descriptionShort="Бронежелет Армий ИГТ,использует плиты 6 класса защиты";
        model="\DZ\characters\vests\plate_carrier_g.p3d";
        inventorySlot[]=
        {
            "Vest"
        };
        itemInfo[]=
        {
            "Clothing",
            "Vest"
        };
        attachments[]=
        {
            "VestHolster",
            "VestPouch",
            "VestGrenadeA",
            "VestGrenadeB",
            "VestGrenadeC",
            "VestGrenadeD"
        };
        weight=5000;
        itemSize[]={4,4};
        varWetMax=0.00000001;
        heatIsolation=0.80000001;
        repairableWithKits[]={3,8};
        repairCosts[]={750};
        class ClothingTypes
        {
            male="\DZ\characters\vests\plate_carrier_m.p3d";
            female="\DZ\characters\vests\plate_carrier_f.p3d";
        };
        class DamageSystem
        {
            class GlobalHealth
            {
                class Health
                {
                    hitpoints=225;
                    transferToAttachmentsCoef=0.5;
                    healthLevels[]=
                    {
                        
                        {
                            1,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest.rvmat"
                            }
                        },
                        
                        {
                            0.69999999,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest.rvmat"
                            }
                        },
                        
                        {
                            0.5,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_damage.rvmat"
                            }
                        },
                        
                        {
                            0.30000001,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_damage.rvmat"
                            }
                        },
                        
                        {
                            0,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_destruct.rvmat"
                            }
                        }
                    };
                };
            };
            class GlobalArmor
            {
                class Projectile
                {
                    class Health
                    {
                        damage=0.00500001;
                    };
                    class Blood
                    {
                        damage=0;
                    };
                    class Shock
                    {
                        damage=0.00500002;
                    };
                };
                class Melee
                {
                    class Health
                    {
                        damage=0.00500002;
                    };
                    class Blood
                    {
                        damage=0;
                    };
                    class Shock
                    {
                        damage=0.00500002;
                    };
                };
                class Infected
                {
                    class Health
                    {
                        damage=0.0.00500002;
                    };
                    class Blood
                    {
                        damage=0;
                    };
                    class Shock
                    {
                        damage=0.0.00500002;
                    };
                };
                class FragGrenade
                {
                    class Health
                    {
                        damage=0.05000002;
                    };
                    class Blood
                    {
                        damage=0;
                    };
                    class Shock
                    {
                        damage=0.25999999;
                    };
                };
            };
        };
        class AnimEvents
        {
            class SoundWeapon
            {
                class pickUpItem
                {
                    soundSet="SmershVest_pickup_SoundSet";
                    id=797;
                };
                class drop
                {
                    soundset="SmershVest_drop_SoundSet";
                    id=898;
                };
            };
        };
    };
    class KalichCarrierIGT: KalichCarrier_IGT_Base
    {
        hiddenSelections[]=
        {
            "camoGround",
            "camoMale",
            "camoFemale"
        };
        hiddenSelectionsTextures[]=
        {
            "\vest\data\IGTvest_co.paa",
            "\vest\data\IGTvest_co.paa",
            "\vest\data\IGTvest_co.paa"
        };
        class DamageSystem: DamageSystem
        {
            class GlobalHealth: GlobalHealth
            {
                class Health: Health
                {
                    hitpoints=225;
                    transferToAttachmentsCoef=0.5;
                    healthLevels[]=
                    {
                        
                        {
                            1,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest.rvmat"
                            }
                        },
                        
                        {
                            0.69999999,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest.rvmat"
                            }
                        },
                        
                        {
                            0.5,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_damage.rvmat"
                            }
                        },
                        
                        {
                            0.30000001,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_damage.rvmat"
                            }
                        },
                        
                        {
                            0,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_destruct.rvmat"
                            }
                        }
                    };
                };
            };
        };
    };
    
};
 

 

Подскажите что именно может быть не так

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Зачем тебе такой код огромный в ретекстуре?

Тебе такого достаточно:

class CfgPatches
{
    class DZ_Characters_Vests
    {
        units[]=
        {
            "TacticalVest",
            "UKAssVest"
        };
        weapons[]={};
        requiredVersion=0.1;
        requiredAddons[]=
        {
            "DZ_Characters"
        };
    };
};
class CfgVehicles
{ 
    class PlateCarrierVest;
    class KalichCarrierIGT: PlateCarrierVest
    {
        scope = 2;
        displayName="Бронежелет Армий ИГТ";
        descriptionShort="Бронежелет Армий ИГТ,использует плиты 6 класса защиты";
        class DamageSystem
        {
            class GlobalHealth
            {
                class Health
                {
                    hitpoints=225;
                    transferToAttachmentsCoef=0.5;
                    healthLevels[]=
                    {
                        
                        {
                            1,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest.rvmat"
                            }
                        },
                        
                        {
                            0.69999999,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest.rvmat"
                            }
                        },
                        
                        {
                            0.5,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_damage.rvmat"
                            }
                        },
                        
                        {
                            0.30000001,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_damage.rvmat"
                            }
                        },
                        
                        {
                            0,
                            
                            {
                                "DZ\characters\vests\Data\BallisticVest_destruct.rvmat"
                            }
                        }
                    };
                };
            };
            class GlobalArmor
            {
                class Projectile
                {
                    class Health
                    {
                        damage=0.00500001;
                    };
                    class Blood
                    {
                        damage=0;
                    };
                    class Shock
                    {
                        damage=0.00500002;
                    };
                };
                class Melee
                {
                    class Health
                    {
                        damage=0.00500002;
                    };
                    class Blood
                    {
                        damage=0;
                    };
                    class Shock
                    {
                        damage=0.00500002;
                    };
                };
                class Infected
                {
                    class Health
                    {
                        damage=0.00500002;
                    };
                    class Blood
                    {
                        damage=0;
                    };
                    class Shock
                    {
                        damage=0.00500002;
                    };
                };
                class FragGrenade
                {
                    class Health
                    {
                        damage=0.05000002;
                    };
                    class Blood
                    {
                        damage=0;
                    };
                    class Shock
                    {
                        damage=0.25999999;
                    };
                };
            };
        };
        hiddenSelectionsTextures[]=
        {
            "\vest\data\IGTvest_co.paa",
            "\vest\data\IGTvest_co.paa",
            "\vest\data\IGTvest_co.paa"
        };
    }; 
};

и то, защиту можно отдельным файлом прописывать, для удобства (Мол все броники прописать отдельно.)

Edited by Melnikov
Дополнил (see edit history)

Share this post


Link to post
Share on other sites



  • 0

(Слово удалено системой), целую твои мысли, жи ес самый лучшей, побольше бы таких

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.