Jump to content
Sign in to follow this  
m4rk3tin6

Help whit sound update.

Recommended Posts

That is my chopper Addon.

After this last update, every weapon in the helicopter still whit no sound.

Config.cpp

Wrong Config.
pls, look the next post of my.

Edited by M4rK3Tin6

Share this post


Link to post
Share on other sites

All weapon parameters are stored in cfgWeapons class under corresponding weapon classname - same applies to sounds. Looking at your config right now, I can't see, at least from mobile mode, any class cfgWeapons, what means that your chopper uses guns declared and stored either in another mod or config - this means that you'll have to find where the weapon configs are stored manually and edit them according to these notes:https://community.bistudio.com/wiki/Arma_3_Weapon_Config_Guidelines#Muzzle_accessories

EDIT: I see the external class reference - adf_mi24_base or something like that in the config and that all your chopper classes are based upon this external class - considering that your helos don't have any weapons added on top of the base class, they'll be using guns from the base adf_mi24_base - you'll have to fix gun sounds in this class in order to make them work on your choppers

Edited by Erem2k
Additional notes added

Share this post


Link to post
Share on other sites

#define LockNo		0
#define LockCadet		1
#define LockYes		2

#define true	1
#define false	0

#define private		0
#define protected		1
#define public		2

#define TEast		0
#define TWest		1
#define TGuerrila		2
#define TCivilian		3
#define TSideUnknown		4
#define TEnemy		5
#define TFriendly		6
#define TLogic		7

class CfgPatches {
class Aziro {
	units[] = {Mi35A, Aziro_Rifleman_W, Aziro_Rifleman_D, Aziro_Pilot };
	weapons[] = {};
	requiredVersion = 0.01;
	requiredAddons[] = {"A3_Characters_F_BLUFOR", "A3_Characters_F_Beta", "A3_Weapons_F"};
};
};

class cfgFactionClasses {
class Aziro_Mod {
	displayName = "Aziro";
	priority = 2;
	side = 1;
	icon = "\Aziro\Aziro_icon.paa";
};
};

class CfgVehicleClasses {
class Aziro_air {
	displayname = "Air";
};
};

class cfgWeapons {
class RocketPods;	// External class reference

class kae_57mm_S5_launcher : RocketPods {
	cursor = "EmptyCursor";
	cursoraim = "EmptyCursor";
	canlock = LockNo;
	displayname = "57mm UB-32";
	magazines[] = {"kae_192Rnd_57mm_S5_vehicle", "kae_128Rnd_57mm_S5_vehicle", "kae_64Rnd_57mm_S5_vehicle", "kae_14Rnd_57mm_S5_vehicle", "kae_192Rnd_57mm_S5m1_vehicle", "kae_128Rnd_57mm_S5m1_vehicle", "kae_64Rnd_57mm_S5m1_vehicle", "kae_14Rnd_57mm_S5m1_vehicle", "kae_192Rnd_57mm_S5mo_vehicle", "kae_128Rnd_57mm_S5mo_vehicle", "kae_64Rnd_57mm_S5mo_vehicle", "kae_14Rnd_57mm_S5mo_vehicle", "kae_192Rnd_57mm_S5m_vehicle", "kae_128Rnd_57mm_S5m_vehicle", "kae_64Rnd_57mm_S5m_vehicle", "kae_14Rnd_57mm_S5m_vehicle", "kae_192Rnd_57mm_S5k_vehicle", "kae_128Rnd_57mm_S5k_vehicle", "kae_64Rnd_57mm_S5k_vehicle", "kae_14Rnd_57mm_S5k_vehicle", "kae_192Rnd_57mm_S5k1_vehicle", "kae_128Rnd_57mm_S5k1_vehicle", "kae_64Rnd_57mm_S5k1_vehicle", "kae_14Rnd_57mm_S5k1_vehicle", "kae_192Rnd_57mm_S5ko_vehicle", "kae_128Rnd_57mm_S5ko_vehicle", "kae_64Rnd_57mm_S5ko_vehicle", "kae_14Rnd_57mm_S5ko_vehicle", "kae_192Rnd_57mm_S5kp_vehicle", "kae_128Rnd_57mm_S5kp_vehicle", "kae_64Rnd_57mm_S5kp_vehicle", "kae_14Rnd_57mm_S5kp_vehicle", "kae_192Rnd_57mm_S5kpb_vehicle", "kae_128Rnd_57mm_S5kpb_vehicle", "kae_64Rnd_57mm_S5kpb_vehicle", "kae_14Rnd_57mm_S5kpb_vehicle"};
	modes[] = {"Far_AI", "Burst"};
	jsrs_soundeffect = "JSRS2_Distance_Effects_skyfire";
	fireLightAmbient[] = {0, 0, 0};
	fireLightDiffuse[] = {0.937, 0.631, 0.259};
	fireLightDuration = 0.05;
	fireLightIntensity = 0.2;

	class Far_AI : RocketPods {
		autofire = false;
		burst = 2;
		displayname = "S-5";
		maxrange = 300;
		maxrangeprobab = 0.1;
		midrange = 200;
		midrangeprobab = 0.5;
		minrange = 100;
		minrangeprobab = 0.25;
		reloadtime = 0.08;
		showtoplayer = false;
		sound[] = {"A3\Sounds_F\weapons\Rockets\missile_2", db1, 1, 1100};
		soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.1, 700};
		soundburst = 0;
		soundcontinuous = 0;
	};

	class Burst : RocketPods {
		autofire = true;
		burst = 1;
		displayname = "57mm UB-32";
		maxrange = 350;
		maxrangeprobab = 0.1;
		midrange = 200;
		midrangeprobab = 0.5;
		minrange = 50;
		minrangeprobab = 0.25;
		reloadtime = 0.08;
		sound[] = {"A3\Sounds_F\weapons\Rockets\missile_2", db1, 1, 1100};
		soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.1, 700};
		soundburst = 0;
		soundcontinuous = 0;
	};
};

class kae_80mm_S8_launcher : RocketPods {
	cursor = "EmptyCursor";
	cursoraim = "EmptyCursor";
	canlock = LockNo;
	displayname = "80mm B-8V20";
	magazinereloadtime = 0;
	magazines[] = {"kae_40Rnd_80mm_S8_vehicle", "kae_40Rnd_80mm_S8KO_vehicle", "kae_40Rnd_80mm_S8KOM_vehicle", "kae_40Rnd_80mm_S8B_vehicle", "kae_40Rnd_80mm_S8BM_vehicle", "kae_40Rnd_80mm_S8D_vehicle", "kae_40Rnd_80mm_S8DM_vehicle", "kae_40Rnd_80mm_S8DF_vehicle", "kae_40Rnd_80mm_S8T_vehicle"};
	modes[] = {"Far_AI", "Burst"};
	jsrs_soundeffect = "JSRS2_Distance_Effects_skyfire";
	fireLightAmbient[] = {0, 0, 0};
	fireLightDiffuse[] = {0.937, 0.631, 0.259};
	fireLightDuration = 0.05;
	fireLightIntensity = 0.2;
	proxyShape = "\Aziro_mi35\data\proxies\kae_80mm_S8_launcher.p3d";

	class Far_AI : RocketPods {
		autofire = false;
		burst = 2;
		displayname = "S-8";
		maxrange = 300;
		maxrangeprobab = 0.1;
		midrange = 200;
		midrangeprobab = 0.5;
		minrange = 100;
		minrangeprobab = 0.25;
		reloadtime = 0.08;
		showtoplayer = false;
		sound[] = {"A3\Sounds_F\weapons\Rockets\missile_2", db1, 1, 1100};
		soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.1, 700};
		soundburst = 0;
		soundcontinuous = 0;
	};

	class Burst : RocketPods {
		autofire = true;
		burst = 1;
		displayname = "80mm B-8V20";
		maxrange = 350;
		maxrangeprobab = 0.1;
		midrange = 200;
		midrangeprobab = 0.5;
		minrange = 50;
		minrangeprobab = 0.25;
		reloadtime = 0.08;
		sound[] = {"A3\Sounds_F\weapons\Rockets\missile_2", db1, 1, 1100};
		soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.1, 700};
		soundburst = 0;
		soundcontinuous = 0;
	};
};
class SmokeLauncher;	// External class reference

class CMFlareLauncher : SmokeLauncher {
	class Burst;	// External class reference
};

class Kae_CMFlareLauncher : CMFlareLauncher {
	class Burst : Burst {
		burst = 1;
		multiplier = 2;
		reloadtime = 0.1;
	};
};
class MGun;	// External class reference

class Kae_Safety : MGun {
	displayname = "Safety";
	cursoraim = "\Aziro_mi35\data\textures\gunneroptics_hind2_ca.paa";
	showaimcursorinternal = true;
	scope = public;
	magazines[] = {};
};

class Kae_YakB : MGun {
	aidispersioncoefx = 15;
	aidispersioncoefy = 15;
	ballisticscomputer = 0;
	canlock = LockNo;
	cursoraim = "\Aziro_mi35\data\textures\gunneroptics_hind2_ca.paa";
	cursorsize = 1;
	displayname = "12.7mm Yak-B";
	ffcount = 6;
	fffrequency = 11;
	ffmagnitude = 0.5;
	firespreadangle = "0.5f";
	flash = "gunfire";
	flashsize = 0.1;
	magazines[] = {"Kae_1470Rnd_127x108_YakB_vehicle"};
	modes[] = {"manual", "close", "short", "medium", "far"};
	recoil = "Empty";
	scope = public;
	showaimcursorinternal = true;
	soundcontinuous = 0;

	class manual : MGun {
		airateoffire = 0.5;	// delay between shots at given distance
		airateoffiredistance = 50;
		autofire = true;
		burst = 1;
		dispersion = 0.002;
		displayname = "12.7mm YakBYu";
		ffcount = 6;
		fffrequency = 11;
		ffmagnitude = 0.5;
		maxrange = 3;
		maxrangeprobab = 0.01;
		midrange = 2;
		midrangeprobab = 0.01;
		minrange = 1;
		minrangeprobab = 0.01;
		multiplier = 5;
		reloadtime = 0.09;
		showtoplayer = true;
		sound[] = {"A3\Sounds_F\weapons\Gatling\gatling4", 1.3, 1, 1000};
		soundBegin[] = {"sound", 1};
		soundburst = 1;
		soundcontinuous = 0;
	};

	class close : manual {
		airateoffire = 0.001;	// delay between shots at given distance
		airateoffiredistance = 50;
		burst = 1;
		maxrange = 500;
		maxrangeprobab = 0.04;
		midrange = 200;
		midrangeprobab = 0.58;
		minrange = 0;
		minrangeprobab = 0.5;
		showtoplayer = false;
		soundburst = 0;
		soundcontinuous = 0;
	};

	class short : close {
		airateoffire = 1 + random 2;	// delay between shots at given distance
		airateoffiredistance = 300;
		burst = 4 + random 2;
		maxrange = 800;
		maxrangeprobab = 0.04;
		midrange = 500;
		midrangeprobab = 0.58;
		minrange = 200;
		minrangeprobab = 0.45;
		soundburst = 1;
		soundcontinuous = 0;
	};

	class medium : close {
		airateoffire = 3;	// delay between shots at given distance
		airateoffiredistance = 600;
		burst = 4 + random 2;
		maxrange = 1000;
		maxrangeprobab = 0.04;
		midrange = 800;
		midrangeprobab = 0.58;
		minrange = 600;
		minrangeprobab = 0.05;
		soundburst = 1;
		soundcontinuous = 0;
	};

	class far : close {
		airateoffire = 4;	// delay between shots at given distance
		airateoffiredistance = 1000;
		burst = 2 + random 2;
		maxrange = 1200;
		maxrangeprobab = 0.01;
		midrange = 1000;
		midrangeprobab = 0.4;
		minrange = 800;
		minrangeprobab = 0.05;
		soundburst = 1;
		soundcontinuous = 0;
	};
};
class CannonCore;	// External class reference

class Kae_GSh30K : CannonCore {
	aidispersioncoefx = 2*2;
	aidispersioncoefy = 2*2;
	canlock = LockYes;
	cursor = "EmptyCursor";
	cursoraim = "EmptyCursor";
	cursorsize = 1;
	displayname = "30x165mm GSh-30K";
	initspeed = 820;
	magazines[] = {"kae_750Rnd_30x165mm_GSh30K_vehicle", "kae_750Rnd_30x165mm_HEI_GSh30K_vehicle", "kae_250Rnd_30x165mm_GSh30K_vehicle", "kae_250Rnd_30x165mm_HEI_GSh30K_vehicle"};
	modes[] = {"manual", "close", "short", "medium", "far"};
	namesound = "cannon";
	scope = public;
	soundcontinuous = 1;

	class manual : CannonCore {
		airateoffire = 0.5;	// delay between shots at given distance
		airateoffiredistance = 50;
		autofire = true;
		begin1[] = {"A3\Sounds_F\weapons\30x165mm\30x165mm_st_02", 0.7, 1, 1500};
		burst = 2;
		dispersion = 0.006;
		displayname = "30x165mm GSh-30K";
		initspeed = 820;
		maxrange = 3;
		maxrangeprobab = 0.01;
		midrange = 2;
		midrangeprobab = 0.01;
		minrange = 1;
		minrangeprobab = 0.01;
		multiplier = 1;
		reloadtime = 0.025;
		showtoplayer = true;
		sound[] = {"", 10, 1};
		soundBegin[] = {"begin1", 1};
		soundburst = 0;
		soundcontinuous = 0;
		weaponSoundEffect = "DefaultRifle";
	};

	class close : manual {
		airateoffire = 0.001;	// delay between shots at given distance
		airateoffiredistance = 50;
		burst = 1;
		maxrange = 300;
		maxrangeprobab = 0.04;
		midrange = 100;
		midrangeprobab = 0.58;
		minrange = 0;
		minrangeprobab = 0.5;
		showtoplayer = false;
		soundburst = 0;
	};

	class short : close {
		airateoffire = 2 + random 2;	// delay between shots at given distance
		airateoffiredistance = 300;
		burst = 10 + random 5;
		maxrange = 800;
		maxrangeprobab = 0.04;
		midrange = 500;
		midrangeprobab = 0.58;
		minrange = 200;
		minrangeprobab = 0.45;
	};

	class medium : close {
		airateoffire = 3;	// delay between shots at given distance
		airateoffiredistance = 600;
		burst = 7 + random 5;
		maxrange = 1000;
		maxrangeprobab = 0.04;
		midrange = 800;
		midrangeprobab = 0.58;
		minrange = 600;
		minrangeprobab = 0.05;
	};

	class far : close {
		airateoffire = 4;	// delay between shots at given distance
		airateoffiredistance = 1000;
		burst = 4 + random 5;
		maxrange = 1250;
		maxrangeprobab = 0.01;
		midrange = 1050;
		midrangeprobab = 0.4;
		minrange = 850;
		minrangeprobab = 0.05;
	};
};

class Kae_2A42 : CannonCore {
	aidispersioncoefx = 2*2;
	aidispersioncoefy = 2*2;
	canlock = LockYes;
	cursor = "EmptyCursor";
	cursoraim = "EmptyCursor";
	cursorsize = 1;
	displayname = "30x165mm 2A42";
	initspeed = 960;
	magazines[] = {"kae_340Rnd_30x165mm_HEI_2A42_vehicle", "kae_160Rnd_30x165mm_2A42_vehicle", "kae_160Rnd_30x165mm_HEI_2A42_vehicle", "kae_340Rnd_30x165mm_2A42_vehicle"};
	modes[] = {"manual", "fast", "close", "short", "medium", "far"};
	namesound = "cannon";
	muzzleEnd = "konec hlavne";
	muzzlePos = "usti hlavne";	// position and direction of muzzle
	scope = public;
	type = 65536;
	soundcontinuous = 1;

	class manual : CannonCore {
		airateoffire = 0.5;	// delay between shots at given distance
		airateoffiredistance = 50;
		autofire = true;
		begin1[] = {"A3\Sounds_F\weapons\30x165mm\30x165mm_st_02", 0.7, 1, 1500};
		burst = 1;
		dispersion = 0.0017;
		displayname = "2A42 Slow";
		initspeed = 820;
		maxrange = 3;
		maxrangeprobab = 0.01;
		midrange = 2;
		midrangeprobab = 0.01;
		minrange = 1;
		minrangeprobab = 0.01;
		multiplier = 1;
		reloadtime = 0.2;
		showtoplayer = true;
		sound[] = {"", 10, 1};
		soundBegin[] = {"begin1", 1};
		soundburst = 0;
		soundcontinuous = 0;
		weaponSoundEffect = "DefaultRifle";
		textureType = "semi";
	};

	class fast : manual {
		displayname = "2A42 Fast";
		reloadtime = 0.1;
		textureType = "fullAuto";
	};

	class close : manual {
		airateoffire = 0.001;	// delay between shots at given distance
		airateoffiredistance = 50;
		burst = 1;
		maxrange = 300;
		maxrangeprobab = 0.04;
		midrange = 100;
		midrangeprobab = 0.58;
		minrange = 0;
		minrangeprobab = 0.5;
		showtoplayer = false;
		soundburst = 0;
	};

	class short : close {
		airateoffire = 2 + random 2;	// delay between shots at given distance
		airateoffiredistance = 300;
		burst = 10 + random 5;
		maxrange = 800;
		maxrangeprobab = 0.04;
		midrange = 500;
		midrangeprobab = 0.58;
		minrange = 200;
		minrangeprobab = 0.45;
	};

	class medium : close {
		airateoffire = 3;	// delay between shots at given distance
		airateoffiredistance = 600;
		burst = 7 + random 5;
		maxrange = 1000;
		maxrangeprobab = 0.04;
		midrange = 800;
		midrangeprobab = 0.58;
		minrange = 600;
		minrangeprobab = 0.05;
	};

	class far : close {
		airateoffire = 4;	// delay between shots at given distance
		airateoffiredistance = 1000;
		burst = 4 + random 5;
		maxrange = 1250;
		maxrangeprobab = 0.01;
		midrange = 1050;
		midrangeprobab = 0.4;
		minrange = 850;
		minrangeprobab = 0.05;
	};
};

class Kae_GSh23L : CannonCore {
	aidispersioncoefx = 2*2;
	aidispersioncoefy = 2*2;
	canlock = LockYes;
	cursoraim = "\Aziro_mi35\data\textures\gunneroptics_hind2_ca.paa";
	cursorsize = 1;
	displayname = "23x115mm GSh-23L";
	initspeed = 800;
	magazines[] = {"kae_470Rnd_23x115mm_GSh23L_vehicle"};
	modes[] = {"manual", "close", "short", "medium", "far"};
	namesound = "cannon";
	scope = public;
	soundcontinuous = 1;

	class manual : CannonCore {
		airateoffire = 0.5;	// delay between shots at given distance
		airateoffiredistance = 50;
		autofire = 50;
		sound[] = {"A3\Sounds_F\weapons\30mm\30mm_st_02", 1.3, 1, 1000};
		begin1[] = {"A3\Sounds_F\weapons\30mm\30mm_st_02.wss", 10, 1.01, 3000};
		begin2[] = {"A3\Sounds_F\weapons\30mm\30mm_st_02.wss", 10, 1.02, 3000};
		begin3[] = {"A3\Sounds_F\weapons\30mm\30mm_st_02.wss", 10, 1.03, 3000};
		burst = 1;
		dispersion = 0.0035;
		displayname = "23x115mm GSh-23L";
		initspeed = 800;
		maxrange = 3;
		maxrangeprobab = 0.01;
		midrange = 2;
		midrangeprobab = 0.01;
		minrange = 1;
		minrangeprobab = 0.01;
		multiplier = 1;
		reloadtime = 0.01;
		showtoplayer = true;
		soundBegin[] = {"sound", 1};
		soundburst = 0;
		soundcontinuous = 0;
		weaponSoundEffect = "DefaultRifle";
	};

	class close : manual {
		airateoffire = 0.001;	// delay between shots at given distance
		airateoffiredistance = 50;
		burst = 1;
		maxrange = 300;
		maxrangeprobab = 0.04;
		midrange = 200;
		midrangeprobab = 0.58;
		minrange = 0;
		minrangeprobab = 0.55;
		showtoplayer = false;
		soundburst = 0;
	};

	class short : close {
		airateoffire = 2;	// delay between shots at given distance
		airateoffiredistance = 300;
		burst = 10 + random 5;
		maxrange = 800;
		maxrangeprobab = 0.04;
		midrange = 500;
		midrangeprobab = 0.58;
		minrange = 200;
		minrangeprobab = 0.45;
	};

	class medium : close {
		airateoffire = 3;	// delay between shots at given distance
		airateoffiredistance = 600;
		burst = 7 + random 5;
		maxrange = 1000;
		maxrangeprobab = 0.04;
		midrange = 800;
		midrangeprobab = 0.58;
		minrange = 600;
		minrangeprobab = 0.05;
	};

	class far : close {
		airateoffire = 4;	// delay between shots at given distance
		airateoffiredistance = 1000;
		burst = 4 + random 5;
		maxrange = 1250;
		maxrangeprobab = 0.01;
		midrange = 1050;
		midrangeprobab = 0.4;
		minrange = 850;
		minrangeprobab = 0.05;
	};
};
class MissileLauncher;	// External class reference

class Kae_Konkurs_Launcher : MissileLauncher {
	airateoffire = 5;	// delay between shots at given distance
	airateoffiredistance = 2700;
	canlock = LockNo;
	cursoraim = "\Aziro_mi35\data\textures\gunneroptics_hind2_ca.paa";
	displayname = "9K113 Konkurs";
	magazines[] = {"Kae_4Rnd_Konkurs_vehicle", "Kae_1Rnd_Konkurs_vehicle", "Kae_5Rnd_Konkurs_vehicle", "Kae_4Rnd_Konkurs_M_vehicle", "Kae_1Rnd_Konkurs_M_vehicle", "Kae_5Rnd_Konkurs_M_vehicle"};
	maxrange = 6000;
	maxrangeprobab = 0.001;
	midrange = 2700;
	midrangeprobab = 0.7;
	minrange = 400;
	minrangeprobab = 0.35;
	reloadtime = 15;
	sound[] = {"A3\Sounds_F\weapons\Rockets\missile_1", 0.935017, 1.3, 1100};
	soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.1, 700};
	textureType = "fullAuto";
};

class Kae_Shturm_Launcher : MissileLauncher {
	airateoffire = 5;	// delay between shots at given distance
	airateoffiredistance = 2700;
	canlock = LockNo;
	cursoraim = "\Aziro_mi35\data\textures\gunneroptics_hind2_ca.paa";
	displayname = "9K114 Shturm-V";
	magazines[] = {"Kae_4Rnd_Shturm_M_vehicle", "Kae_2Rnd_Shturm_M_vehicle", "Kae_8Rnd_Shturm_M_vehicle", "Kae_16Rnd_Shturm_M_vehicle", "Kae_32Rnd_Shturm_M_vehicle", "Kae_4Rnd_Shturm_F_vehicle", "Kae_2Rnd_Shturm_F_vehicle", "Kae_8Rnd_Shturm_F_vehicle", "Kae_16Rnd_Shturm_F_vehicle", "Kae_32Rnd_Shturm_F_vehicle", "Kae_4Rnd_Shturm_M1_vehicle", "Kae_2Rnd_Shturm_M1_vehicle", "Kae_8Rnd_Shturm_M1_vehicle", "Kae_16Rnd_Shturm_M1_vehicle", "Kae_32Rnd_Shturm_M1_vehicle", "Kae_4Rnd_Shturm_M2_vehicle", "Kae_2Rnd_Shturm_M2_vehicle", "Kae_8Rnd_Shturm_M2_vehicle", "Kae_16Rnd_Shturm_M2_vehicle", "Kae_32Rnd_Shturm_M2_vehicle"};
	maxrange = 6000;
	maxrangeprobab = 0.001;
	midrange = 2700;
	midrangeprobab = 0.7;
	minrange = 400;
	minrangeprobab = 0.35;
	reloadtime = 5;
	sound[] = {"A3\Sounds_F\weapons\Rockets\missile_1", 0.935017, 1.3, 1100};
	soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.1, 700};
	textureType = "fullAuto";
};

class Kae_Shturm_Launcher_Easy : Kae_Shturm_Launcher {
	canlock = LockYes;
	displayname = "9K114 Shturm-V (Easy)";
};

class Kae_Ataka_Launcher : Kae_Shturm_Launcher {
	displayname = "9M120 Ataka-V";
	magazines[] = {"Kae_4Rnd_Ataka_vehicle", "Kae_2Rnd_Ataka_vehicle", "Kae_8Rnd_Ataka_vehicle", "Kae_16Rnd_Ataka_vehicle", "Kae_32Rnd_Ataka_vehicle", "Kae_4Rnd_Ataka_F_vehicle", "Kae_2Rnd_Ataka_F_vehicle", "Kae_8Rnd_Ataka_F_vehicle", "Kae_16Rnd_Ataka_F_vehicle", "Kae_32Rnd_Ataka_F_vehicle", "Kae_4Rnd_Ataka_O_vehicle", "Kae_2Rnd_Ataka_O_vehicle", "Kae_8Rnd_Ataka_O_vehicle", "Kae_16Rnd_Ataka_O_vehicle", "Kae_32Rnd_Ataka_O_vehicle", "Kae_4Rnd_Ataka_M_vehicle", "Kae_2Rnd_Ataka_M_vehicle", "Kae_8Rnd_Ataka_M_vehicle", "Kae_16Rnd_Ataka_M_vehicle", "Kae_32Rnd_Ataka_M_vehicle"};
	maxrange = 8000;
	midrange = 3500;
};

class Kae_Ataka_Launcher_Easy : Kae_Shturm_Launcher {
	canlock = LockYes;
	displayname = "9M120 Ataka-V (Easy)";
};

class Kae_Falanga_Launcher : Kae_Shturm_Launcher {
	displayname = "9M17MP Falanga-PV";
	magazines[] = {"Kae_4Rnd_Falanga_vehicle"};
	maxrange = 4000;
	airateoffiredistance = 500;
	midrange = 1400;
	minrange = 400;
	minrangeprobab = 0.6;
	reloadtime = 3.75;
};

class Kae_Falanga_Launcher_Easy : Kae_Falanga_Launcher {
	canlock = LockYes;
	displayname = "9M17MP Falanga-PV (Easy)";
};

class Kae_Strela_Air_Launcher : MissileLauncher {
	airateoffire = 5;	// delay between shots at given distance
	airateoffiredistance = 2350;
	cursor = "EmptyCursor";
	cursoraim = "\Aziro_mi35\data\textures\gunneroptics_hind2_ca.paa";
	cursorsize = 1;
	displayname = "9K32 Strela-2";
	magazines[] = {"Kae_2Rnd_Strela_vehicle", "Kae_4Rnd_Strela_vehicle"};
	maxrange = 4200;
	maxrangeprobab = 0.1;
	midrange = 2350;
	midrangeprobab = 0.8;
	minrange = 10;
	minrangeprobab = 0.3;
	reloadtime = 4;
	sound[] = {"A3\Sounds_F\weapons\Rockets\missile_1", 0.935017, 1.3, 1100};
	soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.1, 700};
	weaponlockdelay = 3;
	weaponlocksystem = 1;
};

class Kae_Igla_Air_Launcher : Kae_Strela_Air_Launcher {
	airateoffire = 5;	// delay between shots at given distance
	airateoffiredistance = 3100;
	displayname = "9K38 Igla";
	magazines[] = {"Kae_2Rnd_Igla_vehicle", "Kae_4Rnd_Igla_vehicle"};
	maxrange = 5200;
	maxrangeprobab = 0.1;
	midrange = 3100;
	midrangeprobab = 0.8;
	minrange = 500;
	minrangeprobab = 0.3;
	reloadtime = 4;
	weaponlockdelay = 3;
};

class Kae_FAB250_Heli_Launcher : MissileLauncher {
	cursor = "EmptyCursor";
	cursoraim = "EmptyCursor";
	airateoffire = 5;	// delay between shots at given distance
	airateoffiredistance = 500;
	canlock = LockNo;
	cursorsize = 1;
	displayname = "FAB-250 M-54";
	magazinereloadtime = 0;
	magazines[] = {"Kae_1Rnd_FAB_250_vehicle"};
	minrange = 100;
	namesound = "";
};

class Kae_R73_Launcher : MissileLauncher {
	airateoffire = 5;	// delay between shots at given distance
	airateoffiredistance = 10000;
	cursor = "EmptyCursor";
	cursoraim = "EmptyCursor";
	cursorsize = 1;
	displayname = "R-73";
	magazines[] = {"Kae_1Rnd_R73_vehicle"};
	maxrange = 10000;
	maxrangeprobab = 0.05;
	midrange = 5000;
	midrangeprobab = 0.8;
	minrange = 300;
	minrangeprobab = 0.4;
	reloadtime = 1;
	sound[] = {"A3\Sounds_F\weapons\Rockets\missile_1", 0.935017, 1.3, 1100};
	soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.1, 700};
};
};

class cfgMagazines {
class VehicleMagazine;	// External class reference

class Kae_S5Launcher_Fake_Mag : VehicleMagazine {
	ammo = "Kae_S5Launcher_Fake_Ammo";
	count = 1;
	displayname = "";
	scope = public;
};

class Kae_S8Launcher_Fake_Mag : VehicleMagazine {
	ammo = "Kae_S8Launcher_Fake_Ammo";
	count = 1;
	displayname = "";
	scope = public;
};

class Kae_1_Ataka_Launcher_Fake_Mag : VehicleMagazine {
	ammo = "Kae_1_Ataka_Launcher_Fake_Ammo";
	count = 1;
	displayname = "";
	scope = public;
};

class Kae_2_Ataka_Launcher_Fake_Mag : VehicleMagazine {
	ammo = "Kae_2_Ataka_Launcher_Fake_Ammo";
	count = 1;
	displayname = "";
	scope = public;
};

class Kae_4_Ataka_Launcher_Fake_Mag : VehicleMagazine {
	ammo = "Kae_4_Ataka_Launcher_Fake_Ammo";
	count = 1;
	displayname = "";
	scope = public;
};

class Kae_8_Ataka_Launcher_Fake_Mag : VehicleMagazine {
	ammo = "Kae_8_Ataka_Launcher_Fake_Ammo";
	count = 1;
	displayname = "";
	scope = public;
};

class Kae_2_Falanga_Launcher_Fake_Mag : VehicleMagazine {
	ammo = "Kae_2_Falanga_Launcher_Fake_Ammo";
	count = 1;
	displayname = "";
	scope = public;
};

class kae_64Rnd_57mm_S5_vehicle : VehicleMagazine {
	ammo = "kae_57mm_S5_R";
	count = 64;
	displayname = "S-5";
	displaynameshort = "S-5";
	initspeed = 0.1;
	maxleadspeed = 200;	// max estimated speed km/h
	namesound = "rockets";
	scope = public;
};

class kae_14Rnd_57mm_S5_vehicle : kae_64Rnd_57mm_S5_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5_vehicle : kae_64Rnd_57mm_S5_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5_vehicle : kae_64Rnd_57mm_S5_vehicle {
	count = 192;
};

class kae_64Rnd_57mm_S5m_vehicle : kae_64Rnd_57mm_S5_vehicle {
	ammo = "kae_57mm_S5m_R";
	displayname = "S-5M";
	displaynameshort = "S-5M";
};

class kae_14Rnd_57mm_S5m_vehicle : kae_64Rnd_57mm_S5m_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5m_vehicle : kae_64Rnd_57mm_S5m_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5m_vehicle : kae_64Rnd_57mm_S5m_vehicle {
	count = 192;
};

class kae_64Rnd_57mm_S5m1_vehicle : kae_64Rnd_57mm_S5_vehicle {
	ammo = "kae_57mm_S5m1_R";
	displayname = "S-5M1";
	displaynameshort = "S-5M1";
};

class kae_14Rnd_57mm_S5m1_vehicle : kae_64Rnd_57mm_S5m1_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5m1_vehicle : kae_64Rnd_57mm_S5m1_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5m1_vehicle : kae_64Rnd_57mm_S5m1_vehicle {
	count = 192;
};

class kae_64Rnd_57mm_S5mo_vehicle : kae_64Rnd_57mm_S5_vehicle {
	ammo = "kae_57mm_S5mo_R";
	displayname = "S-5MO";
	displaynameshort = "S-5MO";
};

class kae_14Rnd_57mm_S5mo_vehicle : kae_64Rnd_57mm_S5mo_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5mo_vehicle : kae_64Rnd_57mm_S5mo_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5mo_vehicle : kae_64Rnd_57mm_S5mo_vehicle {
	count = 192;
};

class kae_64Rnd_57mm_S5k_vehicle : kae_64Rnd_57mm_S5_vehicle {
	ammo = "kae_57mm_S5k_R";
	displayname = "S-5K";
	displaynameshort = "S-5K";
};

class kae_14Rnd_57mm_S5k_vehicle : kae_64Rnd_57mm_S5k_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5k_vehicle : kae_64Rnd_57mm_S5k_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5k_vehicle : kae_64Rnd_57mm_S5k_vehicle {
	count = 192;
};

class kae_64Rnd_57mm_S5k1_vehicle : kae_64Rnd_57mm_S5_vehicle {
	ammo = "kae_57mm_S5k1_R";
	displayname = "S-5K1";
	displaynameshort = "S-5K1";
};

class kae_14Rnd_57mm_S5k1_vehicle : kae_64Rnd_57mm_S5k1_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5k1_vehicle : kae_64Rnd_57mm_S5k1_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5k1_vehicle : kae_64Rnd_57mm_S5k1_vehicle {
	count = 192;
};

class kae_64Rnd_57mm_S5ko_vehicle : kae_64Rnd_57mm_S5_vehicle {
	ammo = "kae_57mm_S5ko_R";
	displayname = "S-5KO";
	displaynameshort = "S-5KO";
};

class kae_14Rnd_57mm_S5ko_vehicle : kae_64Rnd_57mm_S5ko_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5ko_vehicle : kae_64Rnd_57mm_S5ko_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5ko_vehicle : kae_64Rnd_57mm_S5ko_vehicle {
	count = 192;
};

class kae_64Rnd_57mm_S5kp_vehicle : kae_64Rnd_57mm_S5_vehicle {
	ammo = "kae_57mm_S5kp_R";
	displayname = "S-5KP";
	displaynameshort = "S-5KP";
};

class kae_14Rnd_57mm_S5kp_vehicle : kae_64Rnd_57mm_S5kp_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5kp_vehicle : kae_64Rnd_57mm_S5kp_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5kp_vehicle : kae_64Rnd_57mm_S5kp_vehicle {
	count = 192;
};

class kae_64Rnd_57mm_S5kpb_vehicle : kae_64Rnd_57mm_S5_vehicle {
	ammo = "kae_57mm_S5kpb_R";
	displayname = "S-5KPB";
	displaynameshort = "S-5KPB";
};

class kae_14Rnd_57mm_S5kpb_vehicle : kae_64Rnd_57mm_S5kpb_vehicle {
	count = 14;
};

class kae_128Rnd_57mm_S5kpb_vehicle : kae_64Rnd_57mm_S5kpb_vehicle {
	count = 128;
};

class kae_192Rnd_57mm_S5kpb_vehicle : kae_64Rnd_57mm_S5kpb_vehicle {
	count = 192;
};

class Kae_40Rnd_80mm_S8_vehicle : VehicleMagazine {
	ammo = "kae_80mm_S8_R";
	count = 40;
	displayname = "S-8";
	displaynameshort = "S-8";
	initspeed = 0.1;
	maxleadspeed = 200;	// max estimated speed km/h
	namesound = "rockets";
	scope = public;
	sound[] = {"A3\sounds_f\weapons\rockets\explosion_missile_02", 1, 1, 1200};
	reloadSound[] = {"", 0.000316228, 1};
};

class Kae_40Rnd_80mm_S8KO_vehicle : Kae_40Rnd_80mm_S8_vehicle {
	ammo = "kae_80mm_S8KO_R";
	displayname = "S-8KO";
	displaynameshort = "S-8KO";
};

class Kae_40Rnd_80mm_S8KOM_vehicle : Kae_40Rnd_80mm_S8_vehicle {
	ammo = "kae_80mm_S8KOM_R";
	displayname = "S-8KOM";
	displaynameshort = "S-8KOM";
};

class Kae_40Rnd_80mm_S8B_vehicle : Kae_40Rnd_80mm_S8_vehicle {
	ammo = "kae_80mm_S8B_R";
	displayname = "S-8B";
	displaynameshort = "S-8B";
};

class Kae_40Rnd_80mm_S8BM_vehicle : Kae_40Rnd_80mm_S8_vehicle {
	ammo = "kae_80mm_S8BM_R";
	displayname = "S-8BM";
	displaynameshort = "S-8BM";
};

class Kae_40Rnd_80mm_S8D_vehicle : Kae_40Rnd_80mm_S8_vehicle {
	ammo = "kae_80mm_S8D_R";
	displayname = "S-8D";
	displaynameshort = "S-8D";
};

class Kae_40Rnd_80mm_S8DM_vehicle : Kae_40Rnd_80mm_S8_vehicle {
	ammo = "kae_80mm_S8DM_R";
	displayname = "S-8DM";
	displaynameshort = "S-8DM";
};

class Kae_40Rnd_80mm_S8DF_vehicle : Kae_40Rnd_80mm_S8_vehicle {
	ammo = "kae_80mm_S8DF_R";
	displayname = "S-8DF";
	displaynameshort = "S-8DF";
};

class Kae_40Rnd_80mm_S8T_vehicle : Kae_40Rnd_80mm_S8_vehicle {
	ammo = "kae_80mm_S8T_R";
	displayname = "S-8T";
	displaynameshort = "S-8T";
};
class Kae_60Rnd_CMFlareMagazine;	// External class reference

class Kae_120Rnd_CMFlareMagazine : Kae_60Rnd_CMFlareMagazine {
	count = 120;
};

class Kae_1470Rnd_127x108_YakB_vehicle : VehicleMagazine {
	ammo = "Kae_127x108_Dup_5multi";
	count = 1470;
	displayname = "1470 Rnd. 12.7x108mm 1SLT";
	displaynameshort = "Duplex";
	initspeed = 840;
	maxleadspeed = 600;	// max estimated speed km/h
	namesound = "mgun";
	scope = public;
	tracersevery = 1;
};

class kae_750Rnd_30x165mm_GSh30K_vehicle : VehicleMagazine {
	ammo = "Kae_30x165mm_APDST";
	count = 750;
	displayname = "30x165mm 3UBR6 BP";
	displaynameshort = "APDS-T";
	initspeed = 960;
	namesound = "cannon";
	scope = public;
	tracersevery = 1;
};

class kae_750Rnd_30x165mm_HEI_GSh30K_vehicle : VehicleMagazine {
	ammo = "Kae_30x165mm_HEI";
	count = 750;
	displayname = "30x165mm 3UOF8 OFZT";
	displaynameshort = "HEI-T";
	initspeed = 960;
	namesound = "cannon";
	scope = public;
	tracersevery = 1;
};

class kae_250Rnd_30x165mm_GSh30K_vehicle : VehicleMagazine {
	ammo = "Kae_30x165mm_APDST";
	count = 250;
	displayname = "30x165mm 3UBR6 BP";
	displaynameshort = "APDS-T";
	initspeed = 960;
	namesound = "cannon";
	scope = public;
	tracersevery = 1;
};

class kae_250Rnd_30x165mm_HEI_GSh30K_vehicle : VehicleMagazine {
	ammo = "Kae_30x165mm_HEI";
	count = 250;
	displayname = "30x165mm 3UOF8 OFZT";
	displaynameshort = "HEI-T";
	initspeed = 960;
	namesound = "cannon";
	scope = public;
	tracersevery = 1;
};

class kae_160Rnd_30x165mm_2A42_vehicle : VehicleMagazine {
	ammo = "Kae_30x165mm_APDST";
	count = 160;
	displayname = "30x165mm 3UBR6 BP";
	displaynameshort = "APDS-T";
	initspeed = 960;
	namesound = "cannon";
	scope = public;
	tracersevery = 1;
};

class kae_160Rnd_30x165mm_HEI_2A42_vehicle : VehicleMagazine {
	ammo = "Kae_30x165mm_HEI";
	count = 160;
	displayname = "30x165mm 3UOF8 OFZT";
	displaynameshort = "HEI-T";
	initspeed = 960;
	namesound = "cannon";
	scope = public;
	tracersevery = 1;
};

class kae_340Rnd_30x165mm_2A42_vehicle : VehicleMagazine {
	ammo = "Kae_30x165mm_APDST";
	count = 340;
	displayname = "30x165mm 3UBR6 BP";
	displaynameshort = "APDS-T";
	initspeed = 960;
	namesound = "cannon";
	scope = public;
	tracersevery = 1;
};

class kae_340Rnd_30x165mm_HEI_2A42_vehicle : VehicleMagazine {
	ammo = "Kae_30x165mm_HEI";
	count = 340;
	displayname = "30x165mm 3UOF8 OFZT";
	displaynameshort = "HEI-T";
	initspeed = 960;
	namesound = "cannon";
	scope = public;
	tracersevery = 1;
};

CONTINUE

Share this post


Link to post
Share on other sites

	class kae_450Rnd_23x115mm_GSh23L_vehicle : VehicleMagazine {
	ammo = "Kae_23x115mm_APHE";
	count = 450;
	displayname = "23x115mm AM-23";
	displaynameshort = "AM-23";
	initspeed = 715;
	maxleadspeed = 600;	// max estimated speed km/h
	namesound = "cannon";
	scope = public;
	tracersevery = 3;
};

class kae_470Rnd_23x115mm_GSh23L_vehicle : VehicleMagazine {
	ammo = "Kae_23x115mm_APHE";
	count = 800;
	displayname = "23x115mm AM-23";
	displaynameshort = "AM-23";
	initspeed = 800;
	maxleadspeed = 600;	// max estimated speed km/h
	namesound = "cannon";
	scope = public;
	tracersevery = 3;
};

class Kae_4Rnd_Konkurs_vehicle : VehicleMagazine {
	ammo = "kae_9M113_Konkurs";
	count = 4;
	displayname = "9M113 Konkurs";
	displaynameshort = 9M113;
	initspeed = 80;
	maxleadspeed = 20;	// max estimated speed km/h
	namesound = "missiles";
	scope = public;
	sound[] = {"A3\sounds_f\weapons\rockets\explosion_missile_02", 1, 1, 1200};
};

class Kae_1Rnd_Konkurs_vehicle : Kae_4Rnd_Konkurs_vehicle {
	count = 1;
};

class Kae_5Rnd_Konkurs_vehicle : Kae_4Rnd_Konkurs_vehicle {
	count = 5;
};

class Kae_4Rnd_Konkurs_M_vehicle : Kae_4Rnd_Konkurs_vehicle {
	ammo = "kae_9M113M_Konkurs";
	displayname = "9M113M Konkurs";
	displaynameshort = 9M113M;
};

class Kae_1Rnd_Konkurs_M_vehicle : Kae_4Rnd_Konkurs_M_vehicle {
	count = 1;
};

class Kae_5Rnd_Konkurs_M_vehicle : Kae_4Rnd_Konkurs_M_vehicle {
	count = 5;
};

class Kae_4Rnd_Shturm_M_vehicle : VehicleMagazine {
	ammo = "kae_9M114M_Shturm_M";
	count = 4;
	displayname = "9M114M Kokon";
	displaynameshort = 9M114M;
	initspeed = 55;
	maxleadspeed = 20;	// max estimated speed km/h
	namesound = "missiles";
	scope = public;
	sound[] = {"A3\sounds_f\weapons\rockets\explosion_missile_02", 1, 1, 1200};
};

class Kae_2Rnd_Shturm_M_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	count = 2;
};

class Kae_8Rnd_Shturm_M_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	count = 8;
};

class Kae_16Rnd_Shturm_M_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	count = 16;
};

class Kae_32Rnd_Shturm_M_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	count = 32;
};

class Kae_4Rnd_Shturm_F_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	ammo = "kae_9M114F_Shturm_M";
	displayname = "9M114F Kokon";
	displaynameshort = 9M114F;
};

class Kae_2Rnd_Shturm_F_vehicle : Kae_4Rnd_Shturm_F_vehicle {
	count = 2;
};

class Kae_8Rnd_Shturm_F_vehicle : Kae_4Rnd_Shturm_F_vehicle {
	count = 8;
};

class Kae_16Rnd_Shturm_F_vehicle : Kae_4Rnd_Shturm_F_vehicle {
	count = 16;
};

class Kae_32Rnd_Shturm_F_vehicle : Kae_4Rnd_Shturm_F_vehicle {
	count = 32;
};

class Kae_4Rnd_Shturm_M1_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	ammo = "kae_9M114M1_Shturm_M";
	displayname = "9M114M1 Kokon";
	displaynameshort = 9M114M1;
};

class Kae_2Rnd_Shturm_M1_vehicle : Kae_4Rnd_Shturm_M1_vehicle {
	count = 2;
};

class Kae_8Rnd_Shturm_M1_vehicle : Kae_4Rnd_Shturm_M1_vehicle {
	count = 8;
};

class Kae_16Rnd_Shturm_M1_vehicle : Kae_4Rnd_Shturm_M1_vehicle {
	count = 16;
};

class Kae_32Rnd_Shturm_M1_vehicle : Kae_4Rnd_Shturm_M1_vehicle {
	count = 32;
};

class Kae_4Rnd_Shturm_M2_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	ammo = "kae_9M114M2_Shturm_M";
	displayname = "9M114M2 Kokon";
	displaynameshort = 9M114M2;
};

class Kae_2Rnd_Shturm_M2_vehicle : Kae_4Rnd_Shturm_M2_vehicle {
	count = 2;
};

class Kae_8Rnd_Shturm_M2_vehicle : Kae_4Rnd_Shturm_M2_vehicle {
	count = 8;
};

class Kae_16Rnd_Shturm_M2_vehicle : Kae_4Rnd_Shturm_M2_vehicle {
	count = 16;
};

class Kae_32Rnd_Shturm_M2_vehicle : Kae_4Rnd_Shturm_M2_vehicle {
	count = 32;
};

class Kae_4Rnd_Ataka_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	ammo = "kae_9M120_Ataka_M";
	displayname = "9M120 Ataka-V";
	displaynameshort = 9M120;
};

class Kae_2Rnd_Ataka_vehicle : Kae_4Rnd_Ataka_vehicle {
	count = 2;
};

class Kae_8Rnd_Ataka_vehicle : Kae_4Rnd_Ataka_vehicle {
	count = 8;
};

class Kae_16Rnd_Ataka_vehicle : Kae_4Rnd_Ataka_vehicle {
	count = 16;
};

class Kae_32Rnd_Ataka_vehicle : Kae_4Rnd_Ataka_vehicle {
	count = 32;
};

class Kae_4Rnd_Ataka_F_vehicle : Kae_4Rnd_Ataka_vehicle {
	ammo = "kae_9M120F_Ataka_M";
	displayname = "9M120F Ataka-V";
	displaynameshort = 9M120F;
};

class Kae_2Rnd_Ataka_F_vehicle : Kae_4Rnd_Ataka_F_vehicle {
	count = 2;
};

class Kae_8Rnd_Ataka_F_vehicle : Kae_4Rnd_Ataka_F_vehicle {
	count = 8;
};

class Kae_16Rnd_Ataka_F_vehicle : Kae_4Rnd_Ataka_F_vehicle {
	count = 16;
};

class Kae_32Rnd_Ataka_F_vehicle : Kae_4Rnd_Ataka_F_vehicle {
	count = 32;
};

class Kae_4Rnd_Ataka_O_vehicle : Kae_4Rnd_Ataka_vehicle {
	ammo = "kae_9M120O_Ataka_M";
	displayname = "9M120O Ataka-V";
	displaynameshort = 9M120O;
};

class Kae_2Rnd_Ataka_O_vehicle : Kae_4Rnd_Ataka_O_vehicle {
	count = 2;
};

class Kae_8Rnd_Ataka_O_vehicle : Kae_4Rnd_Ataka_O_vehicle {
	count = 8;
};

class Kae_16Rnd_Ataka_O_vehicle : Kae_4Rnd_Ataka_O_vehicle {
	count = 16;
};

class Kae_32Rnd_Ataka_O_vehicle : Kae_4Rnd_Ataka_O_vehicle {
	count = 32;
};

class Kae_4Rnd_Ataka_M_vehicle : Kae_4Rnd_Ataka_vehicle {
	ammo = "kae_9M120M_Ataka_M";
	displayname = "9M120M Ataka-V";
	displaynameshort = 9M120M;
};

class Kae_2Rnd_Ataka_M_vehicle : Kae_4Rnd_Ataka_M_vehicle {
	count = 2;
};

class Kae_8Rnd_Ataka_M_vehicle : Kae_4Rnd_Ataka_M_vehicle {
	count = 8;
};

class Kae_16Rnd_Ataka_M_vehicle : Kae_4Rnd_Ataka_M_vehicle {
	count = 16;
};

class Kae_32Rnd_Ataka_M_vehicle : Kae_4Rnd_Ataka_M_vehicle {
	count = 32;
};

class Kae_4Rnd_Falanga_vehicle : Kae_4Rnd_Shturm_M_vehicle {
	ammo = "kae_9M17MP_Falanga_M";
	displayname = "9M17MP Falanga-PV";
	displaynameshort = 9M17MP;
};

class Kae_2Rnd_Strela_vehicle : VehicleMagazine {
	ammo = "kae_9M32_Strela_M";
	count = 2;
	displayname = "9M32 Missile";
	displaynameshort = 9M32;
	maxleadspeed = 320;	// max estimated speed km/h
	initspeed = 40;
	scope = public;
	sound[] = {"A3\sounds_f\weapons\rockets\explosion_missile_02", 1, 1, 1200};
};

class Kae_4Rnd_Strela_vehicle : Kae_2Rnd_Strela_vehicle {
	count = 4;
};

class Kae_2Rnd_Igla_vehicle : Kae_2Rnd_Strela_vehicle {
	ammo = "kae_9M39_Igla_M";
	displayname = "9M39 Missile";
	displaynameshort = 9M39;
	maxleadspeed = 320;	// max estimated speed km/h
	initspeed = 40;
	scope = public;
};

class Kae_4Rnd_Igla_vehicle : Kae_2Rnd_Igla_vehicle {
	count = 4;
};

class Kae_1Rnd_FAB_250_vehicle : VehicleMagazine {
	ammo = "Kae_FAB_250_Bo";
	count = 1;
	displayname = "FAB-250";
	initspeed = 0;
	maxleadspeed = 0;	// max estimated speed km/h
	namesound = "cannon";
	scope = public;
	reloadsound[] = {"", 0.000316228, 1};
};

class Kae_1Rnd_R73_vehicle : VehicleMagazine {
	ammo = "Kae_R73_M";
	count = 1;
	displayname = "R-73";
	initspeed = 40;
	maxleadspeed = 1500;	// max estimated speed km/h
	namesound = "missiles";
	scope = public;
	sound[] = {"A3\sounds_f\weapons\rockets\explosion_missile_02", 1, 1, 1200};
};
};

class cfgAmmo {
class MissileBase;	// External class reference

class Kae_S5Launcher_Fake_Ammo : MissileBase {
	proxyShape = "\Aziro_mi35\data\proxies\ub32.p3d";
};

class Kae_S8Launcher_Fake_Ammo : MissileBase {
	proxyShape = "\Aziro_mi35\data\proxies\s8_launcher.p3d";
};

class Kae_1_Ataka_Launcher_Fake_Ammo : MissileBase {
	proxyShape = "\Aziro_mi35\data\proxies\ataka.p3d";
};

class Kae_2_Ataka_Launcher_Fake_Ammo : MissileBase {
	proxyShape = "\Aziro_mi35\data\proxies\ataka2.p3d";
};

class Kae_4_Ataka_Launcher_Fake_Ammo : MissileBase {
	proxyShape = "\Aziro_mi35\data\proxies\ataka4.p3d";
};

class Kae_8_Ataka_Launcher_Fake_Ammo : MissileBase {
	proxyShape = "\Aziro_mi35\data\proxies\ataka8.p3d";
};

class Kae_2_Falanga_Launcher_Fake_Ammo : MissileBase {
	proxyShape = "\Aziro_mi35\data\proxies\falanga2.p3d";
};
class RocketBase;	// External class reference

class kae_57mm_S5_R : RocketBase {
	cost = 57;
	cratereffects = "ATRocketCrater";
	explosioneffects = "GrenadeExplosion";
	fusedistance = 40;
	hit = 20;
	indirecthit = 20;
	indirecthitrange = 7;
	maxspeed = 490;	// max speed on level road, km/h
	sideairfriction = 0.2;
	thrust = 620;
	thrusttime = 1.1;
	timetolive = 40;
	whistledist = 24;
};

class kae_57mm_S5m_R : kae_57mm_S5_R {
	cost = 57;
	hit = 25;
	indirecthit = 25;
	indirecthitrange = 7;
};

class kae_57mm_S5m1_R : kae_57mm_S5_R {
	cost = 57;
	hit = 30;
	indirecthit = 30;
	indirecthitrange = 7;
};

class kae_57mm_S5mo_R : kae_57mm_S5_R {
	cost = 57;
	hit = 25;
	indirecthit = 25;
	indirecthitrange = 9;
};

class kae_57mm_S5k_R : kae_57mm_S5_R {
	cost = 57;
	hit = 130;
	indirecthit = 25;
	indirecthitrange = 3;
};

class kae_57mm_S5k1_R : kae_57mm_S5_R {
	cost = 55;
	hit = 130;
	indirecthit = 25;
	indirecthitrange = 3;
};

class kae_57mm_S5ko_R : kae_57mm_S5_R {
	cost = 57;
	hit = 60;
	indirecthit = 25;
	indirecthitrange = 7;
};

class kae_57mm_S5kp_R : kae_57mm_S5_R {
	cost = 57;
	hit = 120;
	indirecthit = 25;
	indirecthitrange = 7;
};

class kae_57mm_S5kpb_R : kae_57mm_S5_R {
	cost = 57;
	hit = 130;
	indirecthit = 30;
	indirecthitrange = 8;
};

class kae_80mm_S8_R : RocketBase {
	cost = 8;
	cratereffects = "ATRocketCrater";
	explosioneffects = "GrenadeExplosion";
	fusedistance = 50;
	hit = 400;
	indirecthit = 55;
	indirecthitrange = 8;
	maxspeed = 590;	// max speed on level road, km/h
	sideairfriction = 0.09;
	thrust = 1060;
	thrusttime = 0.69;
	timetolive = 60;
	whistledist = 30;
};

class kae_80mm_S8KO_R : kae_80mm_S8_R {
	hit = 400;
	indirecthit = 55;
	indirecthitrange = 8;
	maxspeed = 590;	// max speed on level road, km/h
	thrust = 1060;
};

class kae_80mm_S8KOM_R : kae_80mm_S8_R {
	hit = 400;
	indirecthit = 55;
	indirecthitrange = 8;
	maxspeed = 610;	// max speed on level road, km/h
	thrust = 1060;
};

class kae_80mm_S8B_R : kae_80mm_S8_R {
	hit = 400;
	indirecthit = 25;
	indirecthitrange = 3;
	maxspeed = 430;	// max speed on level road, km/h
	thrust = 860;
};

class kae_80mm_S8BM_R : kae_80mm_S8_R {
	hit = 400;
	indirecthit = 25;
	indirecthitrange = 3;
	maxspeed = 450;	// max speed on level road, km/h
	thrust = 1060;
};

class kae_80mm_S8D_R : kae_80mm_S8_R {
	hit = 190;
	indirecthit = 90;
	indirecthitrange = 13;
	maxspeed = 580;	// max speed on level road, km/h
	thrust = 1060;
};

class kae_80mm_S8DM_R : kae_80mm_S8_R {
	hit = 190;
	indirecthit = 90;
	indirecthitrange = 13;
	maxspeed = 590;	// max speed on level road, km/h
	thrust = 1060;
};

class kae_80mm_S8DF_R : kae_80mm_S8_R {
	hit = 190;
	indirecthit = 90;
	indirecthitrange = 17;
	maxspeed = 500;	// max speed on level road, km/h
	thrust = 1060;
};

class kae_80mm_S8T_R : kae_80mm_S8_R {
	hit = 450;
	indirecthit = 25;
	indirecthitrange = 3;
	maxspeed = 470;	// max speed on level road, km/h
	thrust = 1060;
};
class BulletBase;	// External class reference

class Kae_127x108_Dup : BulletBase {
	airfriction = -0.0009;
	airlock = true;
	audiblefire = 22;
	caliber = 2;
	cartridge = "FxCartridge_Big";
	cost = 10;
	cratereffects = "ExploAmmoCrater";
	deflecting = 20;
	explosioneffects = "ExploAmmoExplosion";
	explosive = false;
	hit = 16;
	indirecthit = 0.9;
	indirecthitrange = 0.01;
	model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
	nvgonly = 0;
	timetolive = 40;
	tracerendtime = 3;
	tracerscale = 1.9;
	tracerstarttime = 0.06;
	typicalspeed = 840;
	visiblefire = 22;	// how much is visible when this weapon is fired
	visiblefiretime = 3;	// how long is it visible
};
class SubmunitionBase;	// External class reference

class Kae_127x108_Dup_5multi : SubmunitionBase {
	airfriction = -0.0009;
	audiblefire = 22;
	visiblefire = 22;	// how much is visible when this weapon is fired
	visiblefiretime = 3;	// how long is it visible
	submunitionAmmo = "Kae_127x108_Dup";
	submunitionConeType[] = {"randomcenter", 5};
	submunitionConeAngle = 0.009 * 30;
	triggerTime = 0.01;
	model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
	cartridge = "FxCartridge_Big";
	hit = 80;
};

class Kae_30x165mm_APDST : BulletBase {
	airfriction = -0.000265;
	airlock = true;
	audiblefire = 28;
	caliber = (30/((15*960)/1000));
	cost = 15;
	hit = 70;
	indirecthit = 0;
	indirecthitrange = 0;
	model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
	timetolive = 40;
	tracerendtime = 2.3;
	tracerscale = 2;
	tracerstarttime = 0.1;
	typicalSpeed = 960;
	visiblefire = 25;	// how much is visible when this weapon is fired
	visiblefiretime = 4;	// how long is it visible
};

class Kae_30x165mm_HEI : BulletBase {
	airfriction = -0.000424;
	airlock = true;
	audiblefire = 28;
	caliber = (10/((15*960)/1000));
	cost = 15;
	cratereffects = "ExploAmmoCrater";
	explosioneffects = "ExploAmmoExplosion";
	explosive = 0.6;
	hit = 30;
	indirecthit = 30;
	indirecthitrange = 2.3;
	model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
	timetolive = 40;
	tracerendtime = 2.3;
	tracerscale = 2;
	tracerstarttime = 0.1;
	typicalSpeed = 960;
	visiblefire = 25;	// how much is visible when this weapon is fired
	visiblefiretime = 4;	// how long is it visible
};

class Kae_23x115mm_APHE : BulletBase {
	airfriction = -0.000824;
	airlock = true;
	audiblefire = 32;
	caliber = (25/((15*960)/1000));
	cost = 11.5;
	cratereffects = "ExploAmmoCrater";
	explosioneffects = "ExploAmmoExplosion";
	explosive = 0.5;
	hit = 45;
	indirecthit = 10;
	indirecthitrange = 1.12;
	model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
	timetolive = 40;
	tracerendtime = 2;
	tracerscale = 1.85;
	tracerstarttime = 0.05;
	typicalSpeed = 960;
	visiblefire = 32;	// how much is visible when this weapon is fired
	visiblefiretime = 4;	// how long is it visible
};

class Kae_23x165mm_AP : BulletBase {
	airfriction = -0.000824;
	airlock = true;
	audiblefire = 32;
	caliber = (25/((15*800)/1000));
	cost = 11.5;
	hit = 84;
	indirecthit = 0;
	indirecthitrange = 0;
	model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
	timetolive = 40;
	tracerendtime = 5;
	tracerscale = 1.85;
	tracerstarttime = 0.05;
	typicalSpeed = 960;
	visiblefire = 32;	// how much is visible when this weapon is fired
	visiblefiretime = 4;	// how long is it visible
};

class Kae_23x165mm_HE : BulletBase {
	airfriction = -0.000824;
	airlock = true;
	audiblefire = 32;
	caliber = 0;
	cost = 11.5;
	cratereffects = "ExploAmmoCrater";
	explosioneffects = "ExploAmmoExplosion";
	explosive = 0.6;
	hit = 84;
	indirecthit = 20;
	indirecthitrange = 1.6;
	model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
	timetolive = 40;
	tracerendtime = 5;
	tracerscale = 1.85;
	tracerstarttime = 0.05;
	typicalSpeed = 960;
	visiblefire = 32;	// how much is visible when this weapon is fired
	visiblefiretime = 4;	// how long is it visible
};

class kae_9M113_Konkurs : MissileBase {
	canlock = LockNo;
	cost = 5000;
	cratereffects = "ATMissileCrater";
	effectsmissile = "missile2";
	explosioneffects = "GrenadeExplosion";
	hit = 600;
	indirecthit = 52;
	indirecthitrange = 3.25;
	inittime = 0;
	irlock = false;
	maneuvrability = 6;
	manualcontrol = true;
	maxcontrolrange = 5000;	// max range for manual control, 0 = no control (passive weapon)
	maxspeed = 200;	// max speed on level road, km/h
	model = "\Aziro_mi35\data\proxies\at1_proxy.p3d";
	sideairfriction = 0.033;
	simulationstep = 0.001;
	thrust = 168;
	thrusttime = 3.25;
	timetolive = 40;
	tracklead = 0.85;
	trackoversteer = 0.85;
	whistledist = 2;
};

class kae_9M113M_Konkurs : kae_9M113_Konkurs {
	hit = 775;
};

class kae_9M114M_Shturm_M : MissileBase {
	canlock = LockNo;
	cost = 5000;
	cratereffects = "ATMissileCrater";
	effectsmissile = "missile2";
	explosioneffects = "GrenadeExplosion";
	hit = 560;
	indirecthit = 52;
	indirecthitrange = 3.25;
	inittime = 0;
	irlock = false;
	maneuvrability = 6;
	manualcontrol = true;
	maxcontrolrange = 5000;	// max range for manual control, 0 = no control (passive weapon)
	maxspeed = 345;	// max speed on level road, km/h
	model = "\Aziro_mi35\data\proxies\at1_proxy.p3d";
	sideairfriction = 0.033;
	simulationstep = 0.001;
	thrust = 168;
	thrusttime = 3.25;
	timetolive = 40;
	tracklead = 0.85;
	trackoversteer = 0.85;
	whistledist = 2;
};

class kae_9M114F_Shturm_M : kae_9M114M_Shturm_M {
	hit = 190;
	indirecthit = 90;
	indirecthitrange = 25;
};

class kae_9M114M1_Shturm_M : kae_9M114M_Shturm_M {
	maxcontrolrange = 6000;	// max range for manual control, 0 = no control (passive weapon)
};

class kae_9M114M2_Shturm_M : kae_9M114M_Shturm_M {
	maxcontrolrange = 7000;	// max range for manual control, 0 = no control (passive weapon)
};

class kae_9M120_Ataka_M : kae_9M114M_Shturm_M {
	cost = 10000;
	hit = 960;
	indirecthit = 16;
	indirecthitrange = 1.6;
	maxcontrolrange = 5800;	// max range for manual control, 0 = no control (passive weapon)
	maneuvrability = 8;
	maxspeed = 550;	// max speed on level road, km/h
	sideairfriction = 0.03;
	thrust = 172;
	thrusttime = 3.5;
	tracklead = 0.95;
	trackoversteer = 0.95;
	whistledist = 3;
};

class kae_9M120F_Ataka_M : kae_9M120_Ataka_M {
	hit = 190;
	indirecthit = 90;
	indirecthitrange = 25;
};

class kae_9M120O_Ataka_M : kae_9M120_Ataka_M {
	cratereffects = "AAMissileCrater";
	effectsmissile = "missile3";
	explosioneffects = "AAMissileExplosion";
	hit = 70;
	indirecthit = 50;
	indirecthitrange = 8;
};

class kae_9M120M_Ataka_M : kae_9M120_Ataka_M {
	maxcontrolrange = 8000;	// max range for manual control, 0 = no control (passive weapon)
};

class kae_9M17MP_Falanga_M : kae_9M114M_Shturm_M {
	hit = 500;
	indirecthit = 59;
	indirecthitrange = 3.7;
	inittime = 0.151;
	maneuvrability = 3;
	maxcontrolrange = 4000;	// max range for manual control, 0 = no control (passive weapon)
	maxspeed = 150;	// max speed on level road, km/h
	sideairfriction = 0.076;
	simulationstep = 0.001;
	thrust = 144;
	thrusttime = 1.45;
	timetolive = 26;
	tracklead = 0.75;
	trackoversteer = 0.75;
	whistledist = 2;
};
class BombCore;	// External class reference

class Kae_FAB_250_Bo : BombCore {
	cost = 1000;
	cratereffects = "BombCrater";
	explosioneffects = "BombExplosion";
	explosionsoundeffect = "DefaultExplosion";
	hit = 3400;
	indirecthit = 625;
	indirecthitrange = 24;
	inittime = 0;
	irlock = false;
	laserlock = false;
	maneuvrability = 2.5;
	maxcontrolrange = 10;	// max range for manual control, 0 = no control (passive weapon)
	maxspeed = 100;	// max speed on level road, km/h
	model = "\Aziro_mi35\data\proxies\fab250.p3d";
	proxyShape = "\Aziro_mi35\data\proxies\fab250.p3d";
	sideairfriction = 0.1;
	simulation = "shotRocket";
	thrust = 0;
	thrusttime = 0;
	timetolive = 120;
	whistledist = 24;
};

class Kae_R73_M : MissileBase {
	airlock = true;
	cmimmunity = 0.8;
	cost = 80000;
	cratereffects = "AAMissileCrater";
	effectsmissile = "missile3";
	explosioneffects = "AAMissileExplosion";
	hit = 180;
	indirecthit = 70;
	indirecthitrange = 9;
	inittime = 0;
	irlock = true;
	maneuvrability = 60;
	maxcontrolrange = 8000;	// max range for manual control, 0 = no control (passive weapon)
	maxspeed = 850;	// max speed on level road, km/h
	model = "\Aziro_mi35\data\proxies\r73_fly.p3d";
	proxyShape = "\Aziro_mi35\data\proxies\r73_proxy.p3d";
	sideairfriction = 0.05;
	simulationstep = 0.001;
	thrust = 340;
	thrusttime = 25;
	timetolive = 40;
	tracklead = 1;
	trackoversteer = 1;
	weaponlocksystem = 16 + 2;
	whistledist = 18;
};
};

class CfgVehicles {
class Helicopter_Base_F;	// External class reference

class Heli_Attack_02_base_F : Helicopter_Base_F {
	class Turrets {
		class MainTurret;	// External class reference
	};

	class HitPoints {
		class HitEngine;	// External class reference
		class HitGlass1;	// External class reference
		class HitGlass2;	// External class reference
		class HitGlass3;	// External class reference
		class HitGlass4;	// External class reference
	};
	class AnimationSources;	// External class reference
};

class Kae_Mi_24v_Base : Heli_Attack_02_base_F {
	author = "M4rK3Ting";
	availableForSupportTypes[] = {"CAS_Heli"};
	armor = 33;
	audible = 7;	// audible - bigger - better heard
	damageresistance = 0.000345;
	displayName = "Mi-35A";
	gearRetracting = false;
	memorypointgun = "machinegun_2";
	memorypointlmissile = "Missile_1";
	memorypointlrocket = "Rocket_1";
	memorypointrmissile = "Missile_2";
	memorypointrrocket = "Rocket_2";
	radartype = 4;
	supplyradius = 2.5;

	// threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types
	threat[] = {0.8, 1, 0.6};

	driveraction = "Kae_Mi24_Pilot";
	drivercansee = 1+2+4+16;
	driverinaction = "Kae_Mi24_Pilot";
	gunnercansee = 1+2+4+16;
	gunnerusespilotview = false;
	cargoaction[] = {"passenger_apc_narrow_generic03", "passenger_apc_narrow_generic01", "passenger_apc_generic03", "passenger_apc_narrow_generic02", "passenger_apc_narrow_generic02", "passenger_generic01_foldhands", "passenger_generic01_leanleft", "passenger_generic01_leanleft"};
	hiddenSelections[] = {"camo1", "camo2"};
	hiddenSelectionsTextures[] = {"\Aziro_mi35\data\textures\mi24v_001_co.paa", "\Aziro_mi35\data\textures\mi24v_001_co.paa"};
	maxSpeed = 335;	// max speed on level road, km/h
	model = "\Aziro_mi35\data\Mi24_V.p3d";
	icon = "\Aziro_mi35\data\icons\icomap_mi24_ca.paa";
	mapsize = 20;
	magazines[] = {"kae_64Rnd_57mm_S5_vehicle", "kae_64Rnd_57mm_S5_vehicle", "120Rnd_CMFlare_Chaff_Magazine"};
	weapons[] = {"kae_57mm_S5_launcher", "Kae_CMFlareLauncher"};

	class MFD {};

	class SquadTitles {
		color[] = {0, 0, 0, 0.75};
		name = "clan_sign";
	};

	class HeadLimits {
		initanglex = 5;
		initangley = 0;
		maxanglex = 50;
		maxangley = 90;
		minanglex = -50;
		minangley = -90;
		maxAngleZ = 45;
		minAngleZ = -45;
		rotZRadius = 0.2;
	};

	class Turrets : Turrets {
		class MainTurret : MainTurret {
			body = "mainTurret";
			gun = "mainGun";
			gunbeg = "muzzle_1";	// endpoint of the gun
			gunend = "chamber_1";	// chamber of the gun
			gunneraction = "Kae_Mi24_Gunner";
			gunnergetinaction = "GetInHigh";
			gunnergetoutaction = "GetOutHigh";
			gunnerinaction = "Kae_Mi24_Gunner";
			gunnername = "gunner";
			gunneropticseffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera2"};
			gunneropticsmodel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_02_Optics_Gunner_wide_F";
			initelev = 4;
			initturn = 0;
			magazines[] = {"kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_2_Ataka_Launcher_Fake_Mag", "Kae_2_Ataka_Launcher_Fake_Mag", "Kae_4Rnd_Shturm_M_vehicle"};
			maxelev = 20;
			maxhorizontalrotspeed = 1.6;
			maxturn = 60;
			maxverticalrotspeed = 1.6;
			memorypointgun = "machinegun";
			minelev = -60;
			minturn = -60;
			primarygunner = 1;
			soundservo[] = {"", db-40, 1};
			turretinfotype = "RscOptics_Heli_Attack_02_gunner";
			stabilizedInAxes = 2;
			weapons[] = {"Kae_YakB", "Kae_Shturm_Launcher"};

			class ViewOptics {
				initanglex = 0;
				initangley = 0;
				initfov = 0.155;
				maxanglex = 50;
				maxangley = 100;
				maxfov = 0.155;
				minanglex = -50;
				minangley = -100;
				minfov = 0.047;
			};

			class OpticsIn {
				class Wide {
					gunneropticseffect[] = {"TVOptics", "OpticsBlur2", "OpticsCHAbera2"};
					gunneropticsmodel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_02_Optics_Gunner_wide_F";
					initanglex = 0;
					initangley = 0;
					initfov = 0.33333/ 3.3;
					maxanglex = 30;
					maxangley = 100;
					maxfov = 0.33333/ 3.3;
					minanglex = -30;
					minangley = -100;
					minfov = 0.33333/ 3.3;
					opticsdisplayname = "KPS-53AV W";
					thermalMode[] = {0, 1, 7};
					visionMode[] = {"Ti", NVG, "Normal"};
				};

				class Narrow : Wide {
					gunneropticsmodel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_02_Optics_Gunner_narrow_F";
					initfov = 0.33333/ 10;
					maxfov = 0.33333/ 10;
					minfov = 0.33333/ 10;
					opticsdisplayname = "KPS-53AV N";
				};
			};
		};
	};

	class HitPoints : HitPoints {
		class HitGlass1 : HitGlass1 {
			armor = 5;
		};

		class HitGlass2 : HitGlass2 {
			armor = 5;
		};

		class HitGlass3 : HitGlass3 {
			armor = 5;
		};

		class HitGlass4 : HitGlass4 {
			armor = 5;
		};

		class HitEngine : HitEngine {
			armor = 0.4375;
		};
	};

	class Damage {
		mat[] = {"Aziro_mi35\data\rvmats\mi35_sklo.rvmat", "Aziro_mi35\data\rvmats\mi35_sklo_damage.rvmat", "Aziro_mi35\data\rvmats\mi35_sklo_damage.rvmat", "Aziro_mi35\data\rvmats\mi35_sklo_interier.rvmat", "Aziro_mi35\data\rvmats\mi35_sklo_interier_damage.rvmat", "Aziro_mi35\data\rvmats\mi35_sklo_interier_damage.rvmat", "Aziro_mi35\data\rvmats\mi35_001.rvmat", "Aziro_mi35\data\rvmats\mi35_001_damage.rvmat", "Aziro_mi35\data\rvmats\mi35_001_destruct.rvmat", "Aziro_mi35\data\rvmats\mi35_002.rvmat", "Aziro_mi35\data\rvmats\mi35_002_damage.rvmat", "Aziro_mi35\data\rvmats\mi35_002_destruct.rvmat", "Aziro_mi35\data\rvmats\mi35_003.rvmat", "Aziro_mi35\data\rvmats\mi35_003_damage.rvmat", "Aziro_mi35\data\rvmats\mi35_003_destruct.rvmat", "Aziro_mi35\data\rvmats\default.rvmat", "Aziro_mi35\data\rvmats\default.rvmat", "Aziro_mi35\data\rvmats\default_destruct.rvmat"};
		tex[] = {};
	};

	class AnimationSources : AnimationSources {
		class Gatling_1 {
			animperiod = 60;
			initphase = 0;
			source = "user";
			weapon = "Kae_YakB";
		};
	};

	class RenderTargets {
		class LeftMirror {
			renderTarget = "rendertarget2";

			class CameraView1 {
				pointPosition = "pip2_pos";
				pointDirection = "pip2_dir";
				renderQuality = 2;
				renderVisionMode = 0;
				fov = 0.7;
			};
		};

		class RightMirror {
			renderTarget = "rendertarget1";

			class CameraView1 {
				pointPosition = "pip1_pos";
				pointDirection = "pip1_dir";
				renderQuality = 2;
				renderVisionMode = 0;
				fov = 0.9;
			};
		};
	};
};

class Kae_Mi_24vp_Base : Kae_Mi_24v_Base {
	author = "M4rK3Ting";
	magazines[] = {"kae_40Rnd_80mm_S8KOM_vehicle", "kae_40Rnd_80mm_S8DM_vehicle", "120Rnd_CMFlare_Chaff_Magazine"};
	weapons[] = {"kae_80mm_S8_launcher", "Kae_CMFlareLauncher"};
	model = "\Aziro_mi35\data\Mi24_VP.p3d";
	selectionfireanim = "zasleh";
	displayName = "Mi-35A2";
	enableGPS = 1;
	radarType = 4;
	LockDetectionSystem = 8;
	incomingMissileDetectionsystem = 16;

	class Turrets : Turrets {
		class MainTurret : MainTurret {
			magazines[] = {"kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "kae_470Rnd_23x115mm_GSh23L_vehicle", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_2_Ataka_Launcher_Fake_Mag", "Kae_2_Ataka_Launcher_Fake_Mag", "Kae_4Rnd_Shturm_M_vehicle"};
			weapons[] = {"Kae_GSh23L", "Kae_Shturm_Launcher"};
		};
	};

	class AnimationSources : AnimationSources {
		class Gatling_1 {};

		class fire_anim {
			animperiod = 0;
			initphase = 0.003;
			source = "user";
			weapon = "Kae_GSh23L";
		};
	};
};

class Mi35Ak : Kae_Mi_24vp_Base {
	accuracy = 1000;	// accuracy needed to recognize type of this target
	author = "M4rK3Ting";
	scope = 2;
	displayName = "Mi-35A";
	side = 1;
	crew = "Aziro_Pilot";
	faction = "Aziro_Mod";
	vehicleClass = "Aziro_air";
	availableForSupportTypes[] = {"CAS_Heli"};
	magazines[] = {"kae_40Rnd_80mm_S8KOM_vehicle", "kae_40Rnd_80mm_S8DM_vehicle", "120Rnd_CMFlare_Chaff_Magazine"};
	weapons[] = {"kae_80mm_S8_launcher", "Kae_CMFlareLauncher"};
	hiddenSelectionsTextures[] = {"\Aziro_mi35\data\textures\mi35_001_co.paa", "\Aziro_mi35\data\textures\mi35_002_co.paa"};

	class Turrets : Turrets {
		class MainTurret : MainTurret {
			magazines[] = {"kae_470Rnd_23x115mm_GSh23L_vehicle", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_S8Launcher_Fake_Mag", "Kae_4_Ataka_Launcher_Fake_Mag", "Kae_4_Ataka_Launcher_Fake_Mag", "Kae_8Rnd_Ataka_vehicle"};
			weapons[] = {"Kae_GSh23L", "Kae_Ataka_Launcher"};
		};
	};
};
};

class CfgMovesBasic {
class DefaultDie;	// External class reference

class ManActions {
	Kae_Mi24_Pilot = "Kae_Mi24_Pilot";
	Kae_Mi24_Gunner = "Kae_Mi24_Gunner";
	KIA_Kae_Mi24_Pilot = "KIA_Kae_Mi24_Pilot";
	KIA_Kae_Mi24_Gunner = "KIA_Kae_Mi24_Gunner";
};
};

class cfgMovesMaleSdr : CfgMovesBasic {
class States {
	class Heli_Attack_02_Pilot;	// External class reference
	class Heli_Attack_02_Gunner;	// External class reference
	class KIA_Heli_Light_02_Pilot;	// External class reference
	class KIA_Heli_Light_02_Gunner;	// External class reference

	class Kae_Mi24_Pilot : Heli_Attack_02_Pilot {
		file = "\Aziro_mi35\data\anim\Mi35_Pilot.rtm";
		interpolateTo[] = {"KIA_Kae_Mi24_Pilot", 1};
	};

	class Kae_Mi24_Gunner : Kae_Mi24_Pilot {
		file = "\Aziro_mi35\data\anim\Mi35_Gunner.rtm";
		interpolateTo[] = {"KIA_Kae_Mi24_Gunner", 1};
	};

	class KIA_Kae_Mi24_Pilot : KIA_Heli_Light_02_Pilot {
		file = "\Aziro_mi35\data\anim\KIA_Mi35_Pilot.rtm";
	};

	class KIA_Kae_Mi24_Gunner : KIA_Kae_Mi24_Pilot {
		file = "\Aziro_mi35\data\anim\KIA_Mi35_Gunner.rtm";
	};
};
};

END.

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
Sign in to follow this  

×