Добрый день. Прошу помогите пожалуйста. Некоторые наверно знают аддон "повстанцы и терриристы" там где есть все, ЧКДЗ, ЧСО, КАКС, АОС, Афганцы и др. Я хочу сделать к нему аддон армии США из Первой Армы на основе RHS. Всё сделал, прописал, юнитов, группы, бронетехнику, авиацию, добавил в файл lop_main фракцию США с флажком. Вот только проблемы в файле config.cpp в моё аддоне. Пишет "Missing "}" config.cpp line 69. Но этот знак вроде на месте.
Вот что внутри файла, может кто-то покажет ошибку.
#include "BIS_AddonInfo.hpp"
class CfgPatches {
class lop_faction_usa {
units[] = {
"LOP_USA_Infantry_TL",
"LOP_USA_Infantry_SL",
"LOP_USA_Infantry_Corpsman",
"LOP_USA_Infantry_Rifleman",
"LOP_USA_Infantry_Special_forses_saboteur_mp5",
"LOP_USA_Infantry_Special_forses_saboteur_m",
"LOP_USA_Infantry_AT",
"LOP_USA_Infantry_Special_forses_marksman",
"LOP_USA_Infantry_Special_forses_assault",
"LOP_USA_Infantry_MG",
"LOP_USA_Infantry_Engineer",
"LOP_USA_Infantry_Marksman",
"LOP_USA_Infantry_GL",
"LOP_USA_Infantry_MGM",
"LOP_USA_Infantry_Crewman",
"LOP_USA_Infantry_Pilot",
"LOP_USA_Infantry_AA",
"LOP_USA_M113_W",
"LOP_USA_M1A1I_W",
"LOP_USA_UH60M",
"LOP_USA_AH1Z",
"LOP_USA_A10",
"LOP_USA_Static_M2",
"LOP_USA_Static_M2_MiniTripod",
"LOP_USA_Static_Mk19_TriPod"
};
requiredVersion = 1.32;
requiredAddons[] = {
A3_Soft_F,
A3_Characters_F,
rhs_c_bmp,
rhs_c_bmd,
rhs_c_t72,
rhs_c_troops,
rhs_c_btr,
rhs_c_weapons,
rhs_c_a2port_air,
rhs_c_a2port_car,
rhs_c_a2port_armor,
rhs_cti_insurgents,
rhs_c_heavyweapons,
rhsusf_c_troops,
rhsusf_c_weapons,
rhsusf_c_m1a1,
rhsusf_c_m113,
RHS_US_A2_AirImport,
rhsusf_c_hmmwv
};
author[] = {"Leight"};
authorUrl = "
};
};
class WeaponCloudsMGun; // External class reference
class CfgVehicles {
#include "CfgInfantry.hpp"
#include "CfgAir.hpp"
#include "CfgArmored.hpp"
#include "CfgStatic.hpp"
};
#include "CfgGroups.hpp"