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  
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 

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

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts




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.