Jump to content
steam-76561198356197292

Config.cpp error. (DayZ mod for weapon)

Recommended Posts

Hello! I decided to try making my first mod for DayZ. But when packaging the mod comes out here is such an error:
Build failed. Result code=1 CfgConvert task failed. File E:\@DioG\addons\AuRa\config. cpp, line 24: /CfgVehicles/: 's' encountered instead of ' { ' Config : some input after EndOfFile. Error reading config file 'E:\@DioG\addons\AuRa\config. cpp' Class destroyed with lock count 1
I tried to find the error, but nothing came out :(

// config.bin - 12:34:00 03/22/21, generated in 0.08 seconds
// Generated by unRap v1.06 by Kegetys
// Separate rootclasses: Disabled, Automatic comments: Enabled

enum {
	DESTRUCTENGINE = 2,
	DESTRUCTDEFAULT = 6,
	DESTRUCTWRECK = 7,
	DESTRUCTTREE = 3,
	DESTRUCTTENT = 4,
	DESTRUCTNO = 0,
	DESTRUCTMAN = 5,
	DESTRUCTBUILDING = 1,
};

class CfgPatches {
	class DZ_Weapons_Melee_Blade {
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"DZ_Weapons_Melee"};
	};
};

class CfgVehicles {
	class Inventory_Base;	// External class reference
	class Sword;
	
	class AuRa sword : Sword {
		scope = 2;
		displayName = "AuRa sword";
		descriptionShort = "by DioGonal";
		model = "\@DioG\addons\AuRa\AuRa.p3d";
		repairableWithKits[] = {4};
		repairCosts[] = {25.0};
		inventorySlot[] = {"Shoulder", "Melee"};
		RestrainUnlockType = 1;
		rotationFlags = 12;
		itemSize[] = {2, 8};
		weight = 1800;
		itemBehaviour = 2;
		lootTag[] = {"Historical"};
		lootCategory = "Tools";
		itemInfo[] = {"Axe"};
		openItemSpillRange[] = {20, 40};
		
		class DamageSystem {
			class GlobalHealth {
				class Health {
					hitpoints = 500;
					healthLevels[] = {{1.0, {"DZ\weapons\melee\blade\data\medieval_sword.rvmat"}}, {0.7, {"DZ\weapons\melee\blade\data\medieval_sword.rvmat"}}, {0.5, {"DZ\weapons\melee\blade\data\medieval_sword_damage.rvmat"}}, {0.3, {"DZ\weapons\melee\blade\data\medieval_sword_damage.rvmat"}}, {0.0, {"DZ\weapons\melee\blade\data\medieval_sword_destruct.rvmat"}}};
				};
			};
		};
		isMeleeWeapon = 1;
		suicideAnim = "sword";
		
		class MeleeModes {
			class Default {
				ammo = "MeleeSword";
				range = 1.8;
			};
			
			class Heavy {
				ammo = "MeleeSword_Heavy";
				range = 1.8;
			};
			
			class Sprint {
				ammo = "MeleeSword_Heavy";
				range = 3.7;
			};
		};
		
		class AnimEvents {
			class SoundWeapon {
				class animalSkinning_in {
					soundSet = "animalSkinning_in_SoundSet";
					id = 516;
				};
				
				class animalSkinning {
					soundSet = "animalSkinning_SoundSet";
					id = 517;
				};
				
				class animalSkinning_out {
					soundSet = "animalSkinning_out_SoundSet";
					id = 518;
				};
				
				class CutTies_end {
					soundSet = "CutTies_end_SoundSet";
					id = 519;
				};
				
				class CutTies_loop {
					soundSet = "CutTies_loop_SoundSet";
					id = 520;
				};
				
				class shaving_knife_clean {
					soundSet = "shaving_knife_clean_SoundSet";
					id = 600;
				};
				
				class shaving_knife1 {
					soundSet = "shaving_knife1_SoundSet";
					id = 601;
				};
				
				class shaving_knife2 {
					soundSet = "shaving_knife2_SoundSet";
					id = 602;
				};
				
				class shaving_knife3 {
					soundSet = "shaving_knife3_SoundSet";
					id = 603;
				};
				
				class shaving_knife4 {
					soundSet = "shaving_knife4_SoundSet";
					id = 604;
				};
				
				class shaving_knife5 {
					soundSet = "shaving_knife5_SoundSet";
					id = 605;
				};
				
				class shaving_knife6 {
					soundSet = "shaving_knife6_SoundSet";
					id = 606;
				};
				
				class shaving_knife7 {
					soundSet = "shaving_knife7_SoundSet";
					id = 607;
				};
				
				class shaving_knife8 {
					soundSet = "shaving_knife8_SoundSet";
					id = 608;
				};
				
				class shaving_knife9 {
					soundSet = "shaving_knife9_SoundSet";
					id = 609;
				};
				
				class shaving_knife10 {
					soundSet = "shaving_knife10_SoundSet";
					id = 610;
				};
				
				class shaving_knife11 {
					soundSet = "shaving_knife11_SoundSet";
					id = 611;
				};
				
				class shaving_knife12 {
					soundSet = "shaving_knife12_SoundSet";
					id = 612;
				};
				
				class shaving_knife13 {
					soundSet = "shaving_knife13_SoundSet";
					id = 613;
				};
				
				class shaving_knife14 {
					soundSet = "shaving_knife14_SoundSet";
					id = 614;
				};
				
				class shaving_knife15 {
					soundSet = "shaving_knife15_SoundSet";
					id = 615;
				};
				
				class shaving_knife16 {
					soundSet = "shaving_knife16_SoundSet";
					id = 616;
				};
				
				class shaving_knife17 {
					soundSet = "shaving_knife17_SoundSet";
					id = 617;
				};
				
				class shaving_knife18 {
					soundSet = "shaving_knife18_SoundSet";
					id = 618;
				};
				
				class shaving_knife19 {
					soundSet = "shaving_knife19_SoundSet";
					id = 619;
				};
				
				class shaving_knife20 {
					soundSet = "shaving_knife20_SoundSet";
					id = 620;
				};
				
				class shaving_knife21 {
					soundSet = "shaving_knife21_SoundSet";
					id = 621;
				};
				
				class pickup_light {
					soundSet = "hatchet_pickup_light_SoundSet";
					id = 796;
				};
				
				class pickup {
					soundSet = "hatchet_pickup_SoundSet";
					id = 797;
				};
				
				class drop {
					soundset = "woodaxe_drop_SoundSet";
					id = 898;
				};
				
				class FirefighterAxe_loop_SoundSet {
					soundSet = "FirefighterAxe_loop_SoundSet";
					id = 1121;
				};
				
				class FirefighterAxe_end_SoundSet {
					soundSet = "FirefighterAxe_end_SoundSet";
					id = 1122;
				};
			};
		};
	};
};

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×