Grüsse
Ich versuche derzeit, an den Vanillawesten ein wenig rumzuwerkeln. Nun habe ich das Problem, dass beim Mitstarten der Mod die Fehlermeldung:
Config : some input after EndOfFile
aufploppt.
Was mache ich falsch?
Hier der Inhalt der Config.cpp:
Code
- class cfgPatches {
- class Testweste {
- units[] = {};
- weapons[] = {
- "TragegurtLeicht"
- };
- requiredVersion = 0.1;
- requiredAddons = {"A3_Characters_F"};
- };
- };
- class cfgWeapons {
- class ItemCore;
- class TragegurtLeicht;
- class vestItem;
- class vest_Camo_Base: ItemCore {
- {
- author = "Zumi";
- containerClass = "Supply120";
- displayName = "SchpliSchu";
- hiddenSelections[] = {"camo"};
- mass=80;
- uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02";
- scope=2;
- weaponPoolAvailable = 1;
- allowedSlots[] = {901}; // This means the vest can be put into a backpack.
- picture = "\A3\characters_f\Data\UI\icon_V_plate_carrier_2_CA.paa";
- model = "\A3\Weapons_F\Ammo\mag_univ.p3d";
- hiddenSelections[] = {"camo"};
- class ItemInfo: VestItem
- {
- uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02";
- hiddenSelections[] = {"camo"};
- containerClass = "Supply120";
- mass = 80;
- class HitpointsProtectionInfo //more info at: https://community.bistudio.com/wiki/Arma_3_Soldier_Protection
- {
- {
- hitpointName = "HitNeck"; // reference to the hit point class defined in the man base class
- armor = 8; // addition to armor of referenced hitpoint
- passThrough = 0.5; // multiplier of base passThrough defined in referenced hitpoint
- };
- class Arms
- {
- hitpointName = "HitArms";
- armor = 8;
- passThrough = 0.5;
- };
- class Chest
- {
- hitpointName = "HitChest";
- armor = 22;
- passThrough = 0.2;
- };
- class Diaphragm
- {
- hitpointName = "HitDiaphragm";
- armor = 20;
- passThrough = 0.2;
- };
- class Abdomen
- {
- hitpointName = "HitAbdomen";
- armor = 20;
- passThrough = 0.2;
- };
- class Body
- {
- hitpointName = "HitBody";
- passThrough = 0.2;
- };
- };
- };
- };
- };
- class TragegurtLeicht: vest_Camo_Base {
- author = "Zumi";
- displayName = "SchpliSchu Tropentarn";
- model = "\A3\Characters_F\BLUFOR\equip_b_vest02";
- hiddenSelectionsTextures[] = {"Testweste\Data\testweste_tropentarn_co.paa"};
- };
- };
- class cfgVehicles
- {
- class Vest_Base_F;
- class TragegurtLeicht: Vest_Base_F
- {
- scope = 2;
- scopeCurator = 2;
- displayName = "SchpliSchu Tropentarn";
- author = "Zumi";
- vehicleClass = ItemsVests;
- class TransportItems
- {
- class TragegurtLeicht
- {
- name = TragegurtLeicht;
- count = 1;
- };
- };
- };
- };
Danke