Forum Jump :

Author Message


Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 19
In-game name: Velocity

 
#1 Posted at 2015-01-01 06:32        
     
EDIT: Issue resolved. Now how to close thread...

For the past week I've been making an HK416 however I'm stumped on what to do for the weapon config. I've copied the config of the Mk20 and pasted that in, and edited a couple parts here and there, but no luck. pboProject and Addon Builder keep giving me a "Result Code 1". After checking the logs it tells me I'm missing an inheritance class. I have no clue what that is.

Here's an image of the HK416 for those who want to see what it looks like:

Here's the config:

class CfgPatches
 {
 	class vel_rf_hk416
 	{
 		units[] = {};
 		weapons[] = {"HK416"};
 		requiredVersion = 0.1;
 		requiredAddons[] = {"Weapons_F, Weapons_f_beta"};
 	};
 };
class CfgWeapons {
 class vel_rf_hk416: Default {
	access = 3;
	afmax = 0;
	aidispersioncoefx = 4;
	aidispersioncoefy = 6;
	airateoffire = 0.5;
	airateoffiredistance = 500;
	ammo = "";
	artillerycharge = 1;
	artillerydispersion = 1;
	autofire = 1;
	autoreload = 0;
	backgroundreload = 0;
	ballisticscomputer = 0;
	bullet1[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_01", 0.398107, 1, 15};
	bullet10[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_02", 0.281838, 1, 15};
	bullet11[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_03", 0.281838, 1, 15};
	bullet12[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_04", 0.281838, 1, 15};
	bullet2[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_02", 0.398107, 1, 15};
	bullet3[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_03", 0.398107, 1, 15};
	bullet4[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_04", 0.398107, 1, 15};
	bullet5[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_01", 0.281838, 1, 15};
	bullet6[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_02", 0.281838, 1, 15};
	bullet7[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_03", 0.281838, 1, 15};
	bullet8[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_04", 0.281838, 1, 15};
	bullet9[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_01", 0.281838, 1, 15};
	burst = 1;
	candrop = 1;
	canlock = 0;
	canshootinwater = 0;
	cartridgepos = "nabojnicestart";
	cartridgevel = "nabojniceend";
	changefiremodesound[] = {"", 1, 1};
	cmimmunity = 1;
	count = 0;
	cursor = "arifle";
	cursoraim = "CursorAim";
	cursoraimon = "";
	cursorsize = 1;
	descriptionshort = "Assault Rifle<br />Caliber: 5.56x45 mm";
	detectrange = 0;
	dexterity = 1000;
	discretedistance[] = {100, 200, 300, 400, 500, 600};
	discretedistanceinitindex = 1;
	dispersion = 0.0001;
	displayname = "HK416";
	distancezoommax = 300;
	distancezoommin = 300;
	drysound[] = {"A3\sounds_f\weapons\Other\dry3", 0.316228, 1, 10};
	emptysound[] = {"", 1, 1};
	enableattack = 1;
	ffcount = 3;
	fffrequency = 11;
	ffmagnitude = 0.5;
	fireanims[] = {};
	firelightambient[] = {0, 0, 0};
	firelightdiffuse[] = {0.937, 0.631, 0.259};
	firelightduration = 0.05;
	firelightintensity = 0.2;
	firespreadangle = "3.0f";
	flash = "gunfire";
	flashsize = 0.5;
	forceoptics = 0;
	handanim[] = {"OFP2_ManSkeleton", "\A3\Weapons_F\Rifles\MX\data\Anim\MX_afg.rtm"};
	hiddenselections[] = {};
	hiddenselectionstextures[] = {};
	hiddenunderwaterselections[] = {};
	hiddenunderwaterselectionstextures[] = {};
	htmax = 600;
	htmin = 1;
	initspeed = 0;
	irdistance = 0;
	irdotintensity = 0.001;
	irlaserend = "laser dir";
	irlaserpos = "laser pos";
	laser = 0;
	lockacquire = 1;
	lockedtargetsound[] = {"", 0.000316228, 6};
	lockingtargetsound[] = {"", 0.000316228, 2};
	magazinereloadtime = 0;
	magazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag_Tracer_Red", "30Rnd_556x45_Stanag_Tracer_Green", "30Rnd_556x45_Stanag_Tracer_Yellow"};
	maxleadspeed = 23;
	maxrange = 500;
	maxrangeprobab = 0.04;
	maxrecoilsway = 0.008;
	memorypointcamera = "eye";
	mfact = 1;
	mfmax = 0;
	midrange = 150;
	midrangeprobab = 0.58;
	minrange = 1;
	minrangeprobab = 0.3;
	model = "\A3\Weapons_F_beta\Rifles\mk20\mk20_F.p3d";
	modelmagazine = "";
	modeloptics = "-";
	modelspecial = "";
	modes[] = {"Single", "FullAuto", "fullauto_medium", "single_medium_optics1", "single_far_optics2"};
	multiplier = 1;
	muzzleend = "konec hlavne";
	muzzlepos = "usti hlavne";
	muzzles[] = {"this"};
	namesound = "rifle";
	optics = 0;
	opticsdisableperipherialvision = 0.67;
	opticsflare = 0;
	opticsid = 0;
	opticsppeffects[] = {};
	opticszoominit = 0.75;
	opticszoommax = 1.1;
	opticszoommin = 0.375;
	picture = "\vel_rf_hk416\ui\gear_HK416_x_CA";
	primary = 10;
	recoil = "assaultRifleBase";
	recoilprone = "assaultRifleBase";
	reloadaction = "GestureReloadMk20";
	reloadmagazinesound[] = {"A3\sounds_f\weapons\mk20\mk20_relaod_final", 0.316228, 1, 20};
	reloadsound[] = {"", 1, 1};
	reloadtime = 0.15;
	scope = 2;
	selectionfireanim = "zasleh";
	showaimcursorinternal = 1;
	showempty = 1;
	shownunderwaterselections[] = {};
	showswitchaction = 0;
	showtoplayer = 1;
	simulation = "Weapon";
	sound[] = {};
	soundbegin[] = {"sound", 1};
	soundbeginwater[] = {"sound", 1};
	soundbullet[] = {"bullet1", 0.083, "bullet2", 0.083, "bullet3", 0.083, "bullet4", 0.083, "bullet5", 0.083, "bullet6", 0.083, "bullet7", 0.083, "bullet8", 0.083, "bullet9", 0.083, "bullet10", 0.083, "bullet11", 0.083, "bullet12", 0.083};
	soundburst = 1;
	soundclosure[] = {"sound", 1};
	soundcontinuous = 0;
	soundend[] = {"sound", 1};
	soundloop[] = {"sound", 1};
	swaydecayspeed = 2;
	tbody = 100;
	texturetype = "default";
	type = 1;
	uipicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
	useaction = 0;
	useactiontitle = "";
	useasbinocular = 0;
	usemodeloptics = 1;
	value = 4;
	weaponinfotype = "RscWeaponZeroing";
	weaponlockdelay = 0;
	weaponlocksystem = 0;
	weaponpoolavailable = 1;
	weaponsoundeffect = "";
	weight = 0;
	class Library {
		libtextdesc = "The Mk20 is a gas-operated rotating bolt, selective-fire weapon, which was designed as a highly moddable weapon. Its design and front ejection system allows true ambidextrous use. Two other variants of Mk20 exist. The Mk20C comes with a shorter barrel suitable for close combat and the Mk20 ELGM comes with an enhanced grenade launching module.";
	};
	class GunFire {
		access = 0;
		cloudletaccy = 0;
		cloudletalpha = 1;
		cloudletanimperiod = 1;
		cloudletcolor[] = {1, 1, 1, 0};
		cloudletdensitycoef = -1;
		cloudletduration = 0.2;
		cloudletfadein = 0.01;
		cloudletfadeout = 0.5;
		cloudletgrowup = 0.2;
		cloudletmaxyspeed = 100;
		cloudletminyspeed = -100;
		cloudletshape = "cloudletFire";
		cloudletsize = 1;
		deltat = -3000;
		initt = 4500;
		interval = -0.01;
		size = 3;
		sourcesize = 0.5;
		timetolive = 0;
		class Table {
			class T0 {
				color[] = {0.82, 0.95, 0.93, 0};
				maxt = 0;
			};
			class T1 {
				color[] = {0.75, 0.77, 0.9, 0};
				maxt = 200;
			};
			class T2 {
				color[] = {0.56, 0.62, 0.67, 0};
				maxt = 400;
			};
			class T3 {
				color[] = {0.39, 0.46, 0.47, 0};
				maxt = 600;
			};
			class T4 {
				color[] = {0.24, 0.31, 0.31, 0};
				maxt = 800;
			};
			class T5 {
				color[] = {0.23, 0.31, 0.29, 0};
				maxt = 1000;
			};
			class T6 {
				color[] = {0.21, 0.29, 0.27, 0};
				maxt = 1500;
			};
			class T7 {
				color[] = {0.19, 0.23, 0.21, 0};
				maxt = 2000;
			};
			class T8 {
				color[] = {0.22, 0.19, 0.1, 0};
				maxt = 2300;
			};
			class T9 {
				color[] = {0.35, 0.2, 0.02, 0};
				maxt = 2500;
			};
			class T10 {
				color[] = {0.62, 0.29, 0.03, 0};
				maxt = 2600;
			};
			class T11 {
				color[] = {0.59, 0.35, 0.05, 0};
				maxt = 2650;
			};
			class T12 {
				color[] = {0.75, 0.37, 0.03, 0};
				maxt = 2700;
			};
			class T13 {
				color[] = {0.88, 0.34, 0.03, 0};
				maxt = 2750;
			};
			class T14 {
				color[] = {0.91, 0.5, 0.17, 0};
				maxt = 2800;
			};
			class T15 {
				color[] = {1, 0.6, 0.2, 0};
				maxt = 2850;
			};
			class T16 {
				color[] = {1, 0.71, 0.3, 0};
				maxt = 2900;
			};
			class T17 {
				color[] = {0.98, 0.83, 0.41, 0};
				maxt = 2950;
			};
			class T18 {
				color[] = {0.98, 0.91, 0.54, 0};
				maxt = 3000;
			};
			class T19 {
				color[] = {0.98, 0.99, 0.6, 0};
				maxt = 3100;
			};
			class T20 {
				color[] = {0.96, 0.99, 0.72, 0};
				maxt = 3300;
			};
			class T21 {
				color[] = {1, 0.98, 0.91, 0};
				maxt = 3600;
			};
			class T22 {
				color[] = {1, 1, 1, 0};
				maxt = 4200;
			};
		};
	};
	class GunClouds {
		access = 0;
		cloudletaccy = 0;
		cloudletalpha = 0.3;
		cloudletanimperiod = 1;
		cloudletcolor[] = {1, 1, 1, 0};
		cloudletduration = 0.05;
		cloudletfadein = 0;
		cloudletfadeout = 0.1;
		cloudletgrowup = 0.05;
		cloudletmaxyspeed = 100;
		cloudletminyspeed = -100;
		cloudletshape = "cloudletClouds";
		cloudletsize = 1;
		deltat = 0;
		initt = 0;
		interval = -0.02;
		size = 0.3;
		sourcesize = 0.02;
		timetolive = 0;
		class Table {
			class T0 {
				color[] = {1, 1, 1, 0};
				maxt = 0;
			};
		};
	};
	class WeaponSlotsInfo: WeaponSlotsInfo {
		allowedslots[] = {901};
		mass = 60;
		class MuzzleSlot: SlotInfo {
			access = 1;
			compatibleitems[] = {"muzzle_snds_M"};
			linkproxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
			scope = 0;
		};
		class CowsSlot: CowsSlot {
			access = 1;
			compatibleitems[] = {"optic_Nightstalker", "optic_tws", "optic_tws_mg", "optic_NVS", "optic_SOS", "optic_MRCO", "optic_Arco", "optic_aco", "optic_ACO_grn", "optic_aco_smg", "optic_ACO_grn_smg", "optic_hamr", "optic_Holosight", "optic_Holosight_smg"};
			displayname = "Optics Slot";
			linkproxy = "\A3\data_f\proxies\weapon_slots\TOP";
			scope = 0;
		};
		class PointerSlot: PointerSlot {
			access = 1;
			compatibleitems[] = {"acc_flashlight", "acc_pointer_IR"};
			displayname = "Pointer Slot";
			linkproxy = "\A3\data_f\proxies\weapon_slots\SIDE";
			scope = 0;
		};
	};
	class GunParticles {
		class FirstEffect {
			directionname = "Konec hlavne";
			effectname = "RifleAssaultCloud";
			positionname = "Usti hlavne";
		};
	};
	class Single: Mode_SemiAuto {
		aidispersioncoefx = 1.4;
		aidispersioncoefy = 1.7;
		airateoffire = 2;
		airateoffiredistance = 500;
		artillerycharge = 1;
		artillerydispersion = 1;
		autofire = 0;
		begin1[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-1", 1.25893, 1, 1200};
		begin2[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-2", 1.25893, 1, 1200};
		begin3[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-3", 1.25893, 1, 1200};
		burst = 1;
		canshootinwater = 0;
		closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_2", 1.12202, 1, 10};
		closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_3", 1.12202, 1, 10};
		dispersion = 0.0011;
		displayname = "Semi";
		ffcount = 1;
		fffrequency = 11;
		ffmagnitude = 0.5;
		flash = "gunfire";
		flashsize = 0.1;
		maxrange = 300;
		maxrangeprobab = 0.2;
		midrange = 150;
		midrangeprobab = 0.7;
		minrange = 2;
		minrangeprobab = 0.5;
		multiplier = 1;
		recoil = "recoil_single_mk20";
		recoilprone = "recoil_single_prone_mk20";
		reloadtime = 0.07;
		requiredoptictype = -1;
		showtoplayer = 1;
		sound[] = {"", 10, 1};
		soundbegin[] = {"begin1", 0.333, "begin2", 0.333, "begin3", 0.333};
		soundbeginwater[] = {"sound", 1};
		soundburst = 0;
		soundclosure[] = {"closure1", 0.5, "closure2", 0.5};
		soundcontinuous = 0;
		soundend[] = {};
		soundloop[] = {};
		texturetype = "semi";
		useaction = 0;
		useactiontitle = "";
		weaponsoundeffect = "DefaultRifle";
	};
	class FullAuto: Mode_FullAuto {
		aidispersioncoefx = 2;
		aidispersioncoefy = 3;
		airateoffire = "1e-006";
		airateoffiredistance = 500;
		artillerycharge = 1;
		artillerydispersion = 1;
		autofire = 1;
		begin1[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-1", 1.58489, 1, 1200};
		begin2[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-2", 1.58489, 1, 1200};
		begin3[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-3", 1.58489, 1, 1200};
		burst = 1;
		canshootinwater = 0;
		closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_2", 1.25893, 1, 10};
		closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_3", 1.25893, 1, 10};
		dispersion = 0.0011;
		displayname = "Full";
		ffcount = 1;
		fffrequency = 11;
		ffmagnitude = 0.5;
		flash = "gunfire";
		flashsize = 0.1;
		maxrange = 30;
		maxrangeprobab = 0.1;
		midrange = 15;
		midrangeprobab = 0.7;
		minrange = 2;
		minrangeprobab = 0.9;
		multiplier = 1;
		recoil = "recoil_auto_mk20";
		recoilprone = "recoil_auto_prone_mk20";
		reloadtime = 0.07;
		requiredoptictype = -1;
		showtoplayer = 1;
		sound[] = {"", 10, 1};
		soundbegin[] = {"begin1", 0.333, "begin2", 0.333, "begin3", 0.333};
		soundbeginwater[] = {"sound", 1};
		soundburst = 0;
		soundclosure[] = {"closure1", 0.5, "closure2", 0.5};
		soundcontinuous = 0;
		soundend[] = {"sound", 1};
		soundloop[] = {};
		texturetype = "fullAuto";
		useaction = 0;
		useactiontitle = "";
		weaponsoundeffect = "DefaultRifle";
	};
	class fullauto_medium: FullAuto {
		aidispersioncoefx = 2;
		aidispersioncoefy = 3;
		airateoffire = 2;
		airateoffiredistance = 200;
		artillerycharge = 1;
		artillerydispersion = 1;
		autofire = 1;
		begin1[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-1", 1.58489, 1, 1200};
		begin2[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-2", 1.58489, 1, 1200};
		begin3[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-3", 1.58489, 1, 1200};
		burst = 3;
		canshootinwater = 0;
		closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_2", 1.25893, 1, 10};
		closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_3", 1.25893, 1, 10};
		dispersion = 0.0011;
		displayname = "Full";
		ffcount = 1;
		fffrequency = 11;
		ffmagnitude = 0.5;
		flash = "gunfire";
		flashsize = 0.1;
		maxrange = 100;
		maxrangeprobab = 0.05;
		midrange = 75;
		midrangeprobab = 0.7;
		minrange = 2;
		minrangeprobab = 0.5;
		multiplier = 1;
		recoil = "recoil_auto_mk20";
		recoilprone = "recoil_auto_prone_mk20";
		reloadtime = 0.07;
		requiredoptictype = -1;
		showtoplayer = 0;
		sound[] = {"", 10, 1};
		soundbegin[] = {"begin1", 0.333, "begin2", 0.333, "begin3", 0.333};
		soundbeginwater[] = {"sound", 1};
		soundburst = 0;
		soundclosure[] = {"closure1", 0.5, "closure2", 0.5};
		soundcontinuous = 0;
		soundend[] = {"sound", 1};
		soundloop[] = {};
		texturetype = "fullAuto";
		useaction = 0;
		useactiontitle = "";
		weaponsoundeffect = "DefaultRifle";
	};
	class single_medium_optics1: Single {
		aidispersioncoefx = 1.4;
		aidispersioncoefy = 1.7;
		airateoffire = 5;
		airateoffiredistance = 500;
		artillerycharge = 1;
		artillerydispersion = 1;
		autofire = 0;
		begin1[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-1", 1.25893, 1, 1200};
		begin2[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-2", 1.25893, 1, 1200};
		begin3[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-3", 1.25893, 1, 1200};
		burst = 1;
		canshootinwater = 0;
		closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_2", 1.12202, 1, 10};
		closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_3", 1.12202, 1, 10};
		dispersion = 0.0011;
		displayname = "Semi";
		ffcount = 1;
		fffrequency = 11;
		ffmagnitude = 0.5;
		flash = "gunfire";
		flashsize = 0.1;
		maxrange = 500;
		maxrangeprobab = 0.3;
		midrange = 350;
		midrangeprobab = 0.7;
		minrange = 5;
		minrangeprobab = 0.2;
		multiplier = 1;
		recoil = "recoil_single_mk20";
		recoilprone = "recoil_single_prone_mk20";
		reloadtime = 0.07;
		requiredoptictype = 1;
		showtoplayer = 0;
		sound[] = {"", 10, 1};
		soundbegin[] = {"begin1", 0.333, "begin2", 0.333, "begin3", 0.333};
		soundbeginwater[] = {"sound", 1};
		soundburst = 0;
		soundclosure[] = {"closure1", 0.5, "closure2", 0.5};
		soundcontinuous = 0;
		soundend[] = {};
		soundloop[] = {};
		texturetype = "semi";
		useaction = 0;
		useactiontitle = "";
		weaponsoundeffect = "DefaultRifle";
	};
	class single_far_optics2: single_medium_optics1 {
		aidispersioncoefx = 1.4;
		aidispersioncoefy = 1.7;
		airateoffire = 7;
		airateoffiredistance = 700;
		artillerycharge = 1;
		artillerydispersion = 1;
		autofire = 0;
		begin1[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-1", 1.25893, 1, 1200};
		begin2[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-2", 1.25893, 1, 1200};
		begin3[] = {"A3\sounds_f\weapons\mk20\mk20-st-full-3", 1.25893, 1, 1200};
		burst = 1;
		canshootinwater = 0;
		closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_2", 1.12202, 1, 10};
		closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_3", 1.12202, 1, 10};
		dispersion = 0.0011;
		displayname = "Semi";
		ffcount = 1;
		fffrequency = 11;
		ffmagnitude = 0.5;
		flash = "gunfire";
		flashsize = 0.1;
		maxrange = 700;
		maxrangeprobab = 0.05;
		midrange = 550;
		midrangeprobab = 0.7;
		minrange = 100;
		minrangeprobab = 0.2;
		multiplier = 1;
		recoil = "recoil_single_mk20";
		recoilprone = "recoil_single_prone_mk20";
		reloadtime = 0.07;
		requiredoptictype = 2;
		showtoplayer = 0;
		sound[] = {"", 10, 1};
		soundbegin[] = {"begin1", 0.333, "begin2", 0.333, "begin3", 0.333};
		soundbeginwater[] = {"sound", 1};
		soundburst = 0;
		soundclosure[] = {"closure1", 0.5, "closure2", 0.5};
		soundcontinuous = 0;
		soundend[] = {};
		soundloop[] = {};
		texturetype = "semi";
		useaction = 0;
		useactiontitle = "";
		weaponsoundeffect = "DefaultRifle";
	};
	class EGLM: UGL_F {
		access = 3;
		aidispersioncoefx = 1;
		aidispersioncoefy = 6;
		airateoffire = 5;
		airateoffiredistance = 500;
		ammo = "";
		artillerycharge = 1;
		artillerydispersion = 1;
		autoaimenabled = 0;
		autofire = 0;
		autoreload = 0;
		backgroundreload = 0;
		ballisticscomputer = 0;
		burst = 1;
		cameradir = "OP_look";
		candrop = 1;
		canlock = 0;
		canshootinwater = 0;
		cartridgepos = "";
		cartridgevel = "";
		changefiremodesound[] = {"", 1, 1};
		cmimmunity = 1;
		count = 0;
		cursor = "EmptyCursor";
		cursoraim = "gl";
		cursoraimon = "";
		cursorsize = 1;
		descriptionshort = "";
		detectrange = 0;
		discretedistance[] = {100, 200, 300, 400};
		discretedistancecamerapoint[] = {"OP_eye", "OP_eye2", "OP_eye3", "OP_eye4"};
		discretedistanceinitindex = 1;
		dispersion = 0.007;
		displayname = "EGLM";
		distancezoommax = 400;
		distancezoommin = 400;
		drysound[] = {"A3\sounds_f\Weapons\other\sfx5", 1, 1, 30};
		emptysound[] = {"", 1, 1};
		enableattack = 1;
		ffcount = 1;
		fffrequency = 1;
		ffmagnitude = 0.1;
		fireanims[] = {};
		firelightambient[] = {0, 0, 0};
		firelightdiffuse[] = {0.937, 0.631, 0.259};
		firelightduration = 0.05;
		firelightintensity = 0.2;
		firespreadangle = "3.0f";
		forceoptics = 0;
		handanim[] = {};
		hiddenselections[] = {};
		hiddenselectionstextures[] = {};
		hiddenunderwaterselections[] = {};
		hiddenunderwaterselectionstextures[] = {};
		initspeed = 75;
		irdistance = 0;
		irdotintensity = 0.001;
		irlaserend = "laser dir";
		irlaserpos = "laser pos";
		laser = 0;
		lockacquire = 1;
		lockedtargetsound[] = {"", 0.000316228, 6};
		lockingtargetsound[] = {"", 0.000316228, 2};
		magazinereloadtime = 0;
		magazines[] = {"1Rnd_HE_Grenade_shell", "UGL_FlareWhite_F", "UGL_FlareGreen_F", "UGL_FlareRed_F", "UGL_FlareYellow_F", "UGL_FlareCIR_F", "1Rnd_Smoke_Grenade_shell", "1Rnd_SmokeRed_Grenade_shell", "1Rnd_SmokeGreen_Grenade_shell", "1Rnd_SmokeYellow_Grenade_shell", "1Rnd_SmokePurple_Grenade_shell", "1Rnd_SmokeBlue_Grenade_shell", "1Rnd_SmokeOrange_Grenade_shell"};
		maxleadspeed = 15;
		maxrange = 400;
		maxrangeprobab = 0.05;
		maxrecoilsway = 0.008;
		memorypointcamera = "UGL eye";
		midrange = 200;
		midrangeprobab = 0.7;
		minrange = 30;
		minrangeprobab = 0.1;
		model = "";
		modelmagazine = "";
		modeloptics = "-";
		modelspecial = "";
		modes[] = {"this"};
		multiplier = 1;
		muzzleend = "konec granatometu";
		muzzlepos = "usti granatometu";
		muzzles[] = {"this"};
		namesound = "";
		optics = 1;
		opticsdisableperipherialvision = 0.67;
		opticsflare = 1;
		opticsid = 0;
		opticsppeffects[] = {};
		opticszoominit = 0.75;
		opticszoommax = 1.1;
		opticszoommin = 0.375;
		picture = "";
		primary = 10;
		recoil = "M240Recoil";
		recoilprone = "";
		reloadaction = "ReloadMagazine";
		reloadmagazinesound[] = {"A3\sounds_f\Weapons\grenades\ugl_reload", 0.501187, 1, 20};
		reloadsound[] = {"", 1, 1};
		reloadtime = 0.1;
		scope = 0;
		selectionfireanim = "zasleh";
		showaimcursorinternal = 1;
		showempty = 1;
		shownunderwaterselections[] = {};
		showswitchaction = 0;
		showtoplayer = 1;
		simulation = "Weapon";
		sound[] = {"A3\sounds_f\Weapons\grenades\ugl_shot_4", 1.12202, 1, 200};
		soundbegin[] = {"sound", 1};
		soundbeginwater[] = {"sound", 1};
		soundbullet[] = {"emptySound", 1};
		soundburst = 1;
		soundclosure[] = {"sound", 1};
		soundcontinuous = 0;
		soundend[] = {"sound", 1};
		soundloop[] = {"sound", 1};
		swaydecayspeed = 2;
		texturetype = "semi";
		type = 0;
		uipicture = "";
		useaction = 0;
		useactiontitle = "";
		useasbinocular = 0;
		useexternaloptic = 0;
		usemodeloptics = 0;
		value = 3;
		weaponinfotype = "RscWeaponZeroing";
		weaponlockdelay = 0;
		weaponlocksystem = 0;
		weaponsoundeffect = "";
		weight = 0;
		class Library {
			libtextdesc = "";
		};
		class GunFire {
			access = 0;
			cloudletaccy = 0;
			cloudletalpha = 1;
			cloudletanimperiod = 1;
			cloudletcolor[] = {1, 1, 1, 0};
			cloudletdensitycoef = -1;
			cloudletduration = 0.2;
			cloudletfadein = 0.01;
			cloudletfadeout = 0.5;
			cloudletgrowup = 0.2;
			cloudletmaxyspeed = 100;
			cloudletminyspeed = -100;
			cloudletshape = "cloudletFire";
			cloudletsize = 1;
			deltat = -3000;
			initt = 4500;
			interval = -0.01;
			size = 3;
			sourcesize = 0.5;
			timetolive = 0;
			class Table {
				class T0 {
					color[] = {0.82, 0.95, 0.93, 0};
					maxt = 0;
				};
				class T1 {
					color[] = {0.75, 0.77, 0.9, 0};
					maxt = 200;
				};
				class T2 {
					color[] = {0.56, 0.62, 0.67, 0};
					maxt = 400;
				};
				class T3 {
					color[] = {0.39, 0.46, 0.47, 0};
					maxt = 600;
				};
				class T4 {
					color[] = {0.24, 0.31, 0.31, 0};
					maxt = 800;
				};
				class T5 {
					color[] = {0.23, 0.31, 0.29, 0};
					maxt = 1000;
				};
				class T6 {
					color[] = {0.21, 0.29, 0.27, 0};
					maxt = 1500;
				};
				class T7 {
					color[] = {0.19, 0.23, 0.21, 0};
					maxt = 2000;
				};
				class T8 {
					color[] = {0.22, 0.19, 0.1, 0};
					maxt = 2300;
				};
				class T9 {
					color[] = {0.35, 0.2, 0.02, 0};
					maxt = 2500;
				};
				class T10 {
					color[] = {0.62, 0.29, 0.03, 0};
					maxt = 2600;
				};
				class T11 {
					color[] = {0.59, 0.35, 0.05, 0};
					maxt = 2650;
				};
				class T12 {
					color[] = {0.75, 0.37, 0.03, 0};
					maxt = 2700;
				};
				class T13 {
					color[] = {0.88, 0.34, 0.03, 0};
					maxt = 2750;
				};
				class T14 {
					color[] = {0.91, 0.5, 0.17, 0};
					maxt = 2800;
				};
				class T15 {
					color[] = {1, 0.6, 0.2, 0};
					maxt = 2850;
				};
				class T16 {
					color[] = {1, 0.71, 0.3, 0};
					maxt = 2900;
				};
				class T17 {
					color[] = {0.98, 0.83, 0.41, 0};
					maxt = 2950;
				};
				class T18 {
					color[] = {0.98, 0.91, 0.54, 0};
					maxt = 3000;
				};
				class T19 {
					color[] = {0.98, 0.99, 0.6, 0};
					maxt = 3100;
				};
				class T20 {
					color[] = {0.96, 0.99, 0.72, 0};
					maxt = 3300;
				};
				class T21 {
					color[] = {1, 0.98, 0.91, 0};
					maxt = 3600;
				};
				class T22 {
					color[] = {1, 1, 1, 0};
					maxt = 4200;
				};
			};
		};
		class GunClouds {
			access = 0;
			cloudletaccy = 0;
			cloudletalpha = 0.3;
			cloudletanimperiod = 1;
			cloudletcolor[] = {1, 1, 1, 0};
			cloudletduration = 0.05;
			cloudletfadein = 0;
			cloudletfadeout = 0.1;
			cloudletgrowup = 0.05;
			cloudletmaxyspeed = 100;
			cloudletminyspeed = -100;
			cloudletshape = "cloudletClouds";
			cloudletsize = 1;
			deltat = 0;
			initt = 0;
			interval = -0.02;
			size = 0.3;
			sourcesize = 0.02;
			timetolive = 0;
			class Table {
				class T0 {
					color[] = {1, 1, 1, 0};
					maxt = 0;
				};
			};
		};
	};
	class ItemInfo {
		priority = 1;
	};
};
};

This post was edited by slitherdmd (2015-01-01 15:32, 1078 days ago)