Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...
  • Нужна помощь?

    Создайте тему в соответствующем разделе
    Не нужно писать всё в чат!
  • Загляните на торговую площадку

    Там вы можете купить
    всё что касается игровых серверов
  • Не хотите бан?

    Пожалуйста, ознакомьтесь с нашими правилами
    Не нарушайте порядок!
  • Продаёте или покупаете?

    Пользуйтесь услугами гаранта
    Мы сделаем вашу сделку безопасной
  • 0
nuhn_st

Ошибка "Build failed"

Config.cpp 

 

class CfgPatches
{
    class CustomNiva
    {
        units[]={};
        weapons[]={};
        requiredVersion=0.1;
        requiredAddons[]={
            "DZ_Data",
            "DZ_Vehicles_Wheeled"
        };
    };
};

class CfgMods
{
	class CustomNiva
    {
        dir="tpp";
        picture="";
        action="";
        hideName=1;
        hidePicture=1;
        name="TPP";
        credits="nuhn";
        author="nuhn";
        authorID="76561198993608672";
        version="1.4";
        extra=0;
        type="mod";
        dependencies[]=
        {
            "World"
        };
	};
};

class CfgVehicles	//base values dont edit
{
    class Inventory_Base;
    class Container_Base;
    class WorldContainer_Base;
    class CarScript;
    class Clothing;
    class Bottle_Base;
    class OffroadHatchback;
    class HatchbackDoors_Driver;
    class HatchbackDoors_CoDriver;
    class HatchbackHood;
    class HatchbackTrunk;
	class HatchbackWheel;
	class HatchbackWheel_Ruined;
	class Hatchback_02;
	class Hatchback_02_Door_1_1;
	class Hatchback_02_Door_2_1;
	class Hatchback_02_Door_1_2;
	class Hatchback_02_Door_2_2;
	class Hatchback_02_Hood;
	class Hatchback_02_Trunk;
	class Sedan_02;
	class Sedan_02_Door_1_1;
	class Sedan_02_Door_2_1;
	class Sedan_02_Door_1_2;
	class Sedan_02_Door_2_2;
	class Sedan_02_Hood;
	class Sedan_02_Trunk;
	class CivilianSedan;
	class CivSedanDoors_Driver;
	class CivSedanDoors_CoDriver;
	class CivSedanDoors_Backleft;
	class CivSedanDoors_BackRight;
	class CivSedanHood;
	class CivSedanTrunk;
    class DamageSystem;
    class DamageZones;
    class Chassis;
    class Reflector_1_1;
    class Reflector_2_1;
    class WindowFront;
	class WindowBack;
    class Engine;
    class Roof;
    class Front;
    class Back;
    class Fender_1_1;
    class Fender_1_2;
    class Fender_2_1;
    class Fender_2_2;
    class FuelTank;
    class Health;
    class GlobalHealth;
    class Window;
    class Doors;
    class CarDoor;


    class OffroadHatchback_CustomNiva: OffroadHatchback
    {
        hiddenSelectionsMaterials[]=
        {
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat",
            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
        };
        class DamageSystem: DamageSystem
        {
            class DamageZones: DamageZones
            {
                class Chassis: Chassis
                {
                    class Health: Health
                    {
                    };
                };
                class Reflector_1_1: Reflector_1_1
                {
                    class Health: Health
                    {
                    };
                };
                class Reflector_2_1: Reflector_2_1
                {
                    class Health: Health
                    {
                    };
                };
                class WindowFront: WindowFront
                {
                    class Health: Health
                    {
                    };
                };
                class Engine: Engine
                {
                    class Health: Health
                    {
                    };
                };
                class Roof: Roof
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
                class Front: Front
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
                class Back: Back
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
                class Fender_1_1: Fender_1_1
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
                class Fender_1_2: Fender_1_2
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
                class Fender_2_1: Fender_2_1
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
                class Fender_2_2: Fender_2_2
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
                class FuelTank: FuelTank
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_body_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
            };
        };
    };
    class HatchbackDoors_Driver_CustomNiva: HatchbackDoors_Driver
    {
        hiddenSelectionsMaterials[]=
        {
            "tpp\offroadhatchback\data\CustomNiva\niva_door.rvmat"
        };
        class DamageSystem: DamageSystem
        {
            class GlobalHealth: GlobalHealth
            {
            };
            class DamageZones: DamageZones
            {
                class Window: Window
                {
                    class Health: Health
                    {
                    };
                };
                class Doors: Doors
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_door.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door_destruct.rvmat""
                                }
                            }
                        };
                    };
                };
            };
        };
    };
    class HatchbackDoors_CoDriver_CustomNiva: HatchbackDoors_CoDriver
    {
        hiddenSelectionsMaterials[]=
        {
            "tpp\offroadhatchback\data\CustomNiva\niva_door.rvmat"
        };
        class DamageSystem: DamageSystem
        {
            class GlobalHealth: GlobalHealth
            {
            };
            class DamageZones: DamageZones
            {
                class Window: Window
                {
                    class Health: Health
                    {
                    };
                };
                class Doors: Doors
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_door.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_door_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
            };
        };
    };
    class HatchbackHood_CustomNiva: HatchbackHood
    {
        hiddenSelectionsMaterials[]=
        {
            "tpp\offroadhatchback\data\CustomNiva\niva_hood.rvmat"
        };
        class DamageSystem: DamageSystem
        {
            class GlobalHealth: GlobalHealth
            {
                class Health: Health
                {
                    RefTexsMats[]=
                    {
                        "tpp\offroadhatchback\data\CustomNiva\niva_hood.rvmat"
                    };
                    healthLevels[]=
                    {

                        {
                            1,

                            {
                                "tpp\offroadhatchback\data\CustomNiva\niva_hood.rvmat"
                            }
                        },

                        {
                            0.69999999,

                            {
                                "tpp\offroadhatchback\data\CustomNiva\niva_hood.rvmat"
                            }
                        },

                        {
                            0.5,

                            {
                                "tpp\offroadhatchback\data\CustomNiva\niva_hood_damage.rvmat"
                            }
                        },

                        {
                            0.30000001,

                            {
                                "tpp\offroadhatchback\data\CustomNiva\niva_hood_damage.rvmat"
                            }
                        },

                        {
                            0,
                         
                            {
                                "tpp\offroadhatchback\data\CustomNiva\niva_hood_destruct.rvmat""
                            }
                        }
                    };
                };
            };
        };
    };
    class HatchbackTrunk_CustomNiva: HatchbackTrunk
    {
        hiddenSelectionsMaterials[]=
        {
            "tpp\offroadhatchback\data\CustomNiva\niva_trunk.rvmat"
        };
        class DamageSystem: DamageSystem
        {
            class GlobalHealth: GlobalHealth
            {
            };
            class DamageZones: DamageZones
            {
                class Window: Window
                {
                    class Health: Health
                    {
                    };
                };
                class Doors: Doors
                {
                    class Health: Health
                    {
                        RefTexsMats[]=
                        {
                            "tpp\offroadhatchback\data\CustomNiva\niva_trunk.rvmat"
                        };
                        healthLevels[]=
                        {

                            {
                                1,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_trunk.rvmat"
                                }
                            },

                            {
                                0.69999999,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_trunk.rvmat"
                                }
                            },

                            {
                                0.5,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_trunk_damage.rvmat"
                                }
                            },

                            {
                                0.30000001,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_trunk_damage.rvmat"
                                }
                            },

                            {
                                0,

                                {
                                    "tpp\offroadhatchback\data\CustomNiva\niva_trunk_destruct.rvmat"
                                }
                            }
                        };
                    };
                };
            };
        };
    };

Пишет :  Missing '}'

line 647

line 786

line 868 

хотя всё проверил , всё правильно... 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Рекомендованные сообщения

  • 0

Лучше приложи сам файл

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах



Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас

×
×
  • Создать...

Важная информация

Используя этот сайт, вы автоматически обязуетесь соблюдать наши Правила и Политика конфиденциальности.
Чтобы сделать этот веб-сайт лучше, мы разместили cookies на вашем устройстве. Вы можете изменить свои настройки cookies, в противном случае мы будем считать, что вы согласны с этим.