Jump to content
Sign in to follow this  
OmigaaaD

Need help with 'Bad vehicle type'

Recommended Posts

Okay so this last week i've started working on a project to make the jets and some other stuff from the SFP mod standalone for my ArmA server(s) with permission ofc

Im quite new to ArmA scripting so excuse me for being a nub :)

The fighter jets works flawless when i'm in the 3D editor but when i try to spawn them in the 2D editor i just get 'bad vehicle type' i tried to spawn them on my testing server but nothing happens

Here's the CfgVehicles

class CfgVehicles {
       class A10;

class Base_jet: A10 {
	displayName = "Base Jet";
	crew = "";
	picture = "\SwedishAirforce\icons\fpl37_ca.paa";
	icon = "\SwedishAirforce\markers\fpl37_ca.paa";
	scope = 1;
	fuelCapacity = 2250;
	hiddenselections[] = {"polyons"};
	hiddenSelectionsTextures[] = {"", "", ""};
	model = "\SwedishAirforce\air\ja37\sfp_aj37";
	memoryPointLMissile = "Missile_1";
	memoryPointRMissile = "Missile_2";
	memoryPointLRocket = "Rocket_1";
	memoryPointRRocket = "Rocket_2";
	soundIncommingMissile[] = {"\ca\Tracked\Data\Sound\alarm_loop1", 0.000316, 4};
	side = 1;
	vtol = 0;
	weapons[] = {};
	magazines[] = {};
	expansion = 1;
	htMin = 60;
	htMax = 1800;
	afMax = 200;
	mfMax = 100;
	mFact = 0;
	tBody = 0;
	vehicleClass = "swe_airplane";
	faction = "SFP_SWE";
	aileronSensitivity = 1;
	elevatorSensitivity = 1;
	maxSpeed = 2200;
	brakeDistance = 20;
	landingSpeed = 250;
	noseDownCoef = 0.200000;
	landingAoa = "10*3.1415/180";
	wheelSteeringSensitivity = 1.500000;
	flapsFrictionCoef = 0.300000;
	envelope[] = {0.000000, 0.400000, 1.900000, 4, 6.800000, 8.300000, 8.500000, 7.800000, 6.200000, 3.600000, 2.200000, 1.600000, 1.100000, 0.700000, 0.400000, 0};

	class MarkerLights {

		class RedStill {
			name = "lights_marker_red";
			color[] = {0.300000, 0.030000, 0.030000, 1};
			ambient[] = {0.030000, 0.003000, 0.003000, 1};
			brightness = 0.010000;
			blinking = 0;
		};

		class GreenStill {
			name = "lights_marker_green";
			color[] = {0.030000, 0.300000, 0.030000, 1};
			ambient[] = {0.003000, 0.030000, 0.003000, 1};
			brightness = 0.010000;
			blinking = 0;
		};

		class WhiteBlinking {
			name = "lights_marker_white_blink";
			color[] = {1.000000, 1.000000, 1.000000, 1};
			ambient[] = {0.100000, 0.100000, 0.100000, 1};
			brightness = 0.010000;
			blinking = 1;
		};
	};

	class Reflectors {

		class Front_right {
			color[] = {0.900000, 0.800000, 0.800000, 1.000000};
			ambient[] = {0.100000, 0.100000, 0.100000, 1.000000};
			position = "P svetlo";
			direction = "konec P svetla";
			hitpoint = "P svetlo";
			selection = "P svetlo";
			size = 0.500000;
			brightness = 0.500000;
		};
	};

	class MFD {
		borderLeft = 0.020000;
		borderRight = 0.020000;
		borderTop = 0.020000;
		borderBottom = 0.020000;

		class AirplaneHUD {
			topLeft = "HUD LH";
			topRight = "HUD PH";
			bottomLeft = "HUD LD";
			borderLeft = 0;
			borderRight = 0;
			borderTop = 0;
			borderBottom = 0;
			color[] = {0.100000, 0, 0, 0.100000};

			class Pos10 {
				pos0[] = {0.500000, 0.500000};
				pos10[] = {1.400000, 1.400000};
				type = "vector";
			};

			class Bones {

				class SpdTextPos {
					type = "fixed";
					Pos[] = {0.150000, 0.200000};
				};

				class FuelTextPos {
					type = "fixed";
					Pos[] = {0.975000, 0.760000};
				};

				class EngTextPos {
					type = "fixed";
					Pos[] = {0.965000, 0.805000};
				};

				class DisTextPos {
					type = "fixed";
					Pos[] = {0.240000, 0.810000};
				};

				class AltTextPos {
					type = "fixed";
					Pos[] = {0.900000, 0.200000};
				};

				class ASLFix {
					type = "fixed";
					pos[] = {0.850000, 0.620000};
				};

				class ASLMove {
					type = "linear";
					source = "altitudeASL";
					min = 0;
					max = 400;
					minPos[] = {0.850000, 0.300000};
					maxPos[] = {0.850000, 0.620000};
				};

				class AGLMove {
					type = "linear";
					source = "altitudeAGL";
					min = 0;
					max = 150;
					minPos[] = {0.500000, 1.100000};
					maxPos[] = {0.500000, 0.500000};
				};

				class VertSpeedMove {
					type = "linear";
					source = "vSpeed";
					min = -50;
					max = 50;
					minPos[] = {0.200000, 0.350000};
					maxPos[] = {0.200000, 0.650000};
				};

				class VertSpeedFix {
					type = "fixed";
					Pos[] = {0.200000, 0.500000};
				};

				class ILS {
					type = "ils";
					pos0[] = {0.500000, 0.400000};
					pos3[] = {0.700000, 0.600000};
				};

				class WeaponAim: Pos10 {
					source = "weapon";
				};

				class Target {
					source = "target";
					pos0[] = {0.420000, 0.650000};
					pos10[] = {0.970000, 1.250000};
					type = "vector";
				};

				class Level0 {
					pos0[] = {0.500000, 0.500000};
					pos10[] = {1.200000, 1.500000};
					type = "horizon";
					angle = 0;
				};

				class LevelP5: Level0 {
					angle = 5;
				};

				class LevelM5: Level0 {
					angle = -5;
				};

				class LevelP10: Level0 {
					angle = 10;
				};

				class LevelM10: Level0 {
					angle = -10;
				};

				class LevelP15: Level0 {
					angle = 15;
				};

				class LevelM15: Level0 {
					angle = -15;
				};

				class Velocity {
					pos0[] = {0.500000, 0.500000};
					pos10[] = {1.200000, 1.200000};
					type = "vector";
					source = "velocity";
				};
			};

			class Draw {
				alpha = 0.800000;
				color[] = {0, 0.600000, 0};
				clipTL[] = {0, 0};
				clipBR[] = {1, 1};
				condition = "on";

				class Altitude {
					type = "text";
					align = "right";
					scale = 1;
					source = "altitudeAGL";
					sourceScale = 1;
					pos[] = {"AltTextPos", {-0.050000, -0.030000}, 1};
					right[] = {"AltTextPos", {0.010000, -0.030000}, 1};
					down[] = {"AltTextPos", {-0.050000, 0.040000}, 1};
				};

				class SpeedNumber {
					type = "text";
					align = "left";
					scale = 1;
					source = "speed";
					sourceScale = 3.600000;
					pos[] = {"SpdTextPos", {-0.050000, -0.030000}, 1};
					right[] = {"SpdTextPos", {0.010000, -0.030000}, 1};
					down[] = {"SpdTextPos", {-0.050000, 0.040000}, 1};
				};

				class EngNumber {
					type = "text";
					align = "left";
					scale = 1;
					source = "rpm";
					sourceScale = 100;
					pos[] = {"EngTextPos", {-0.050000, -0.030000}, 1};
					right[] = {"EngTextPos", {-0.010000, -0.030000}, 1};
					down[] = {"EngTextPos", {-0.050000, 0.020000}, 1};
				};

				class FuelNumber {
					type = "text";
					align = "left";
					scale = 1;
					source = "fuel";
					sourceScale = 100;
					pos[] = {"FuelTextPos", {-0.050000, -0.030000}, 1};
					right[] = {"FuelTextPos", {-0.010000, -0.030000}, 1};
					down[] = {"FuelTextPos", {-0.050000, 0.020000}, 1};
				};

				class DisNumber {
					type = "text";
					align = "left";
					scale = 1;
					source = "targetDist";
					sourceScale = 1;
					pos[] = {"DisTextPos", {-0.050000, -0.030000}, 1};
					right[] = {"DisTextPos", {-0.010000, -0.030000}, 1};
					down[] = {"DisTextPos", {-0.050000, 0.020000}, 1};
				};

				class AGLBox {
					type = "line";
					points[] = {{"AGLMove", {-0.050000, -0.025000}, 1}, {"AGLMove", {-0.050000, 0.025000}, 1}, {"AGLMove", {0.050000, 0.025000}, 1}, {"AGLMove", {0.050000, -0.025000}, 1}, {"AGLMove", {-0.050000, -0.025000}, 1}};
				};

				class ASLLine {
					type = "line";
					points[] = {{"ASLFix", {0.020000, 0}, 1}, {"ASLFix", {0, 0}, 1}, {"ASLMove", {0, 0}, 1}, {"ASLMove", {0.020000, 0}, 1}};
				};

				class VertSpeed {
					type = "line";
					points[] = {{"VertSpeedFix", {0.020000, 0}, 1}, {"VertSpeedFix", {0, 0}, 1}, {"VertSpeedMove", {0, 0}, 1}, {"VertSpeedMove", {-0.030000, -0.015000}, 1}, {"VertSpeedMove", {-0.030000, 0.015000}, 1}, {"VertSpeedMove", {0, 0}, 1}};
				};

				class Speed {
				};

				class PlaneW {
					clipTL[] = {0.000000, 0.100000};
					clipBR[] = {1.000000, 0.900000};

					class Velocity {
						type = "line";
						points[] = {{"Velocity", {0, -0.020000}, 1}, {"Velocity", {0.020000, 0}, 1}, {"Velocity", {0, 0.020000}, 1}, {"Velocity", {-0.020000, 0}, 1}, {"Velocity", {0, -0.020000}, 1}};
					};

					class Cross {
						type = "line";
						points[] = {{"Velocity", {-0.040000, 0}, 1}, {"Velocity", {0.040000, 0}, 1}, {}, {"Velocity", {0, 0}, 1}, {"Velocity", {0, -0.040000}, 1}};
					};
				};

				class MGun {
					condition = "mgun";
				};

				class Missile {
					condition = "missile";

					class Target {
						type = "line";
						points[] = {{"Target", {-0.030000, -0.030000}, 1}, {"Target", {0.030000, -0.030000}, 1}, {"Target", {0.030000, 0.030000}, 1}, {"Target", {-0.030000, 0.030000}, 1}, {"Target", {-0.030000, -0.030000}, 1}};
					};
				};

				class Horizont {

					class Center {
						type = "line";
						points[] = {{"Level0", {-0.250000, 0}, 1}, {"Level0", {-0.070000, 0}, 1}, {"Level0", {-0.070000, 0.040000}, 1}, {}, {"Level0", {0.070000, 0.040000}, 1}, {"Level0", {0.070000, 0}, 1}, {"Level0", {0.250000, 0}, 1}};
					};

					class P5 {
						type = "line";
						points[] = {{"LevelP5", {-0.400000, 0}, 1}, {"LevelP5", {-0.150000, 0}, 1}, {}, {"LevelP5", {0.400000, 0}, 1}, {"LevelP5", {0.150000, 0}, 1}};
					};

					class M5 {
						type = "line";
						points[] = {{"LevelM5", {-0.400000, 0}, 1}, {"LevelM5", {-0.150000, 0}, 1}, {}, {"LevelM5", {0.400000, 0}, 1}, {"LevelM5", {0.150000, 0}, 1}};
					};

					class P10 {
						type = "line";
						points[] = {{"LevelP10", {-0.400000, 0}, 1}, {"LevelP10", {-0.150000, 0}, 1}, {}, {"LevelP10", {0.400000, 0}, 1}, {"LevelP10", {0.150000, 0}, 1}};
					};

					class M10 {
						type = "line";
						points[] = {{"LevelM10", {-0.400000, 0}, 1}, {"LevelM10", {-0.150000, 0}, 1}, {}, {"LevelM10", {0.400000, 0}, 1}, {"LevelM10", {0.150000, 0}, 1}};
					};

					class P15 {
						type = "line";
						points[] = {{"LevelP15", {-0.400000, 0}, 1}, {"LevelP15", {-0.150000, 0}, 1}, {}, {"LevelP15", {0.400000, 0}, 1}, {"LevelP15", {0.150000, 0}, 1}};
					};

					class M15 {
						type = "line";
						points[] = {{"LevelM15", {-0.400000, 0}, 1}, {"LevelM15", {-0.150000, 0}, 1}, {}, {"LevelM15", {0.400000, 0}, 1}, {"LevelM15", {0.150000, 0}, 1}};
					};
				};

				class ILS {
					condition = "ils";

					class Glideslope {
						clipTL[] = {0.290000, 0.290000};
						clipBR[] = {0.710000, 0.710000};

						class ILS {
							type = "line";
							points[] = {{"ILS", {-10, 0}, 1}, {"ILS", {10, 0}, 1}, {}, {"ILS", {0, -10}, 1}, {"ILS", {0, 10}, 1}};
						};
					};

					class AOABracket {
						type = "line";
						points[] = {{{0.420000, 0.780000}, 1}, {{0.400000, 0.780000}, 1}, {{0.400000, 0.880000}, 1}, {{0.420000, 0.880000}, 1}};
					};
				};
			};
		};
	};

	class animationsources {

		class ABSwitch {
			source = "user";
			animperiod = 0.100000;
			initphase = 0;
		};

	/*	class pilot_lean {
			source = "user";
			animperiod = 0.000001;
			initphase = 0;
		};*/
	};

	class UserActions {

		class AfterburnerON {
			displayName="Afterburner ON";
			position="pilotcontrol";
			radius=15;
			condition="speed this >20 and this animationPhase ""ABSwitch"" <= 0.1";
			statement="this execvm ""\SwedishAirforce\scripts\vehicles\aircraft\afterburner.sqf""; ";
			onlyforplayer="False";
		};

		class AfterburnerOFF {
			displayName = "Afterburner OFF";
			position = "pilotcontrol";
			radius = 15;
			condition = "this animationPhase ""ABSwitch"" >= 0.9";
			statement = "this animate [""ABSwitch"",0]";
			onlyforplayer = "False";
		};	

	/*	class enableLean {
			displayName = "Enable leaning";
			shortcut = "";
			condition = "speed this < 50 && (!(this getVariable 'leaningenabled')) && (player == (driver this))";
			statement = "this setvariable ['leaningenabled', true]; [this] spawn JAS39_PILOTLEAN";
			priority = 0;
			displayNameDefault = "";
			position = "";
			radius = 15;
			onlyforplayer = 1;
		};

		class disableLean: enableLean {
			displayName = "Disable leaning";
			condition = "speed this < 50 && (this getVariable 'leaningenabled') && (player == (driver this))";
			statement = "this setVariable ['leaningenabled',false]; this animate ['pilot_lean',0]";
		};*/
	};

	class Eventhandlers{
		init="[_this select 0] execVM ""\SwedishAirforce\scripts\events\init.sqf""";
		fired="_this call BIS_Effects_EH_Fired;";
		killed="_this call BIS_Effects_EH_Killed;";
	};
};

class aj37_unarmed: Base_jet {
	displayName = "AJ 37 Viggen (Unarmed)";
	fuelCapacity = 2200;
	hiddenselections[] = {"fueltank"};
	weapons[] = {"M9", "CMFlareLauncher"};
	magazines[] = {"15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "120Rnd_CMFlare_Chaff_Magazine"};
	scope = 2;
};

class aj37: Base_jet {
	displayName = "AJ 37 Viggen";
	fuelCapacity = 2200;
	hiddenselections[] = {"fueltank"};
	weapons[] = {"GAU12", "CMFlareLauncher"};
	magazines[] = {"300Rnd_25mm_GAU12", "120Rnd_CMFlare_Chaff_Magazine"};
	scope = 2;
};

class ja37: Base_jet {
	displayname = "JA 37 Viggen";
	model = "\SwedishAirforce\air\ja37\sfp_ja37";
	hiddenselections[] = {};
	scope = 2;
	maxSpeed = 2200;
	weapons[] = {"GAU12", "CMFlareLauncher"};
	magazines[] = {"300Rnd_25mm_GAU12", "120Rnd_CMFlare_Chaff_Magazine"};
};

class ja37_unarmed: Base_jet {
	displayname = "JA 37 Viggen (Unarmed)";
	model = "\SwedishAirforce\air\ja37\sfp_ja37";
	hiddenselections[] = {};
	scope = 2;
	maxSpeed = 2200;
	weapons[] = {"M9", "CMFlareLauncher"};
	magazines[] = {"15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9", "120Rnd_CMFlare_Chaff_Magazine"};
};

class sk37_unarmed: Base_jet {
	transportsoldier = 1;
	displayName = "SK 37 (Unarmed)";
	fuelCapacity = 2200;
	cargoAction[] = {"Mi8_Cargo"};
	scope = 2;
	model = "\SwedishAirforce\air\ja37\sfp_sk37";
	hiddenSelections[] = {"camo", "target1", "target2", "target3", "target4", "map", "myplane", "markings"};
	hiddenSelectionsTextures[] = {"\swedishairforce\air\ja37\data\fpl37_main_co.paa", "", "", "", "", "", "", "\swedishairforce\markers\markings.paa"};
	weapons[] = {"CMFlareLauncher"};
	magazines[] = {"120Rnd_CMFlare_Chaff_Magazine"};

	memoryPointsGetInDriver = "pos driver";
	memoryPointsGetInDriverDir = "pos driver dir";
	memoryPointsGetInCargo = "pos cargo";
	memoryPointsGetInCargoDir = "pos cargo dir";
};

class sk37: Base_jet {
	transportsoldier = 1;
	displayName = "SK 37";
	fuelCapacity = 2200;
	cargoAction[] = {"Mi8_Cargo"};
	scope = 2;
	model = "\SwedishAirforce\air\ja37\sfp_sk37";
	hiddenSelections[] = {"camo", "target1", "target2", "target3", "target4", "map", "myplane", "markings"};
	hiddenSelectionsTextures[] = {"\swedishairforce\air\ja37\data\fpl37_main_co.paa", "", "", "", "", "", "", "\swedishairforce\markers\markings.paa"};
	weapons[] = {"GAU12", "CMFlareLauncher"};
	magazines[] = {"300Rnd_25mm_GAU12", "120Rnd_CMFlare_Chaff_Magazine"};

	memoryPointsGetInDriver = "pos driver";
	memoryPointsGetInDriverDir = "pos driver dir";
	memoryPointsGetInCargo = "pos cargo";
	memoryPointsGetInCargoDir = "pos cargo dir";
};

class jas39: ja37 {
	radarType = 4;
	LockDetectionSystem = 8;
	IncommingMissileDetectionSystem = 16;
	soundIncommingMissile[] = {"\ca\Tracked\Data\Sound\alarm_loop1", 0.000316, 4};
	memoryPointsGetInDriver = "pos_driver";
	memoryPointsGetInDriverDir = "pos_driver_dir";
	faction = "SFP_SWE";
	displayname = "JAS 39 Gripen";
	model = "\SwedishAirforce\air\jas39\sfp_jas39";
	crew = "";
	unitInfoType = "UnitInfoShip";
	scope = 2;
	laserScanner = 0;
	hiddenSelections[] = {"camo", "target1", "target2", "target3", "target4", "map", "myplane"};
	hiddenSelectionsTextures[] = {"\swedishairforce\air\jas39\data\jas39_co.paa", "", "", "", "", "", "\SwedishAirforce\air\jas39\data\mfd\fighter_blue_ca.paa"};
	weapons[] = {"GAU12", "CMFlareLauncher"};
	magazines[] = {"300Rnd_25mm_GAU12", "120Rnd_CMFlare_Chaff_Magazine"};
	fuelCapacity = 2200;

	class Reflectors {

		class nose {
			color[] = {0.900000, 0.800000, 0.800000, 1.000000};
			ambient[] = {0.100000, 0.100000, 0.100000, 1.000000};
			position = "light_nose_gear_pos";
			direction = "light_nose_gear_dir";
			hitpoint = "light_left";
			selection = "light_left";
			size = 0.500000;
			brightness = 0.800000;
		};
	};
	aggregateReflectors[] = {{"nose"}};

	class animationsources {

		class airbrake {
			source = "user";
			animperiod = 1;
			initphase = 0;
		};

		class target1_y {
			source = "user";
			animperiod = 0.010000;
			initphase = 0;
		};

		class target1_x: target1_y {
		};

		class target1_dir: target1_y {
		};

		class target1: target1_y {
		};

		class target2_y: target1_y {
		};

		class target2_x: target1_y {
		};

		class target2_dir: target1_y {
		};

		class target2: target1_y {
		};

		class target3_y: target1_y {
		};

		class target3_x: target1_y {
		};

		class target3_dir: target1_y {
		};

		class target3: target1_y {
		};

		class target4_y: target1_y {
		};

		class target4_x: target1_y {
		};

		class target4_dir: target1_y {
		};

		class target4: target1_y {
		};

		class myplane_y: target1_y {
		};

		class myplane_x: target1_y {
		};

		class myplane_dir: target1_y {
		};

		class myplane: target1_y {
		};
	};

	class MFD {

		class AirplaneHUD {
			topLeft = "HUD LH";
			topRight = "HUD PH";
			bottomLeft = "HUD LD";
			borderLeft = 0;
			borderRight = 0;
			borderTop = 0;
			borderBottom = 0;
			color[] = {1, 1, 1, 0.100000};

			class Pos10 {
				pos0[] = {0.500000, 0.500000};
				pos10[] = {1.400000, 1.400000};
				type = "vector";
			};

			class Bones {

				class SpdTextPos {
					type = "fixed";
					Pos[] = {0.150000, 0.200000};
				};

				class EngTextPos {
					type = "fixed";
					Pos[] = {0.965000, 0.805000};
				};

				class DisTextPos {
					type = "fixed";
					Pos[] = {0.240000, 0.810000};
				};

				class ASLFix {
					type = "fixed";
					pos[] = {0.850000, 0.620000};
				};

				class ASLMove {
					type = "linear";
					source = "altitudeASL";
					min = 0;
					max = 400;
					minPos[] = {0.850000, 0.300000};
					maxPos[] = {0.850000, 0.620000};
				};

				class AGLMove {
					type = "linear";
					source = "altitudeAGL";
					min = 0;
					max = 150;
					minPos[] = {0.500000, 1.100000};
					maxPos[] = {0.500000, 0.500000};
				};

				class VertSpeedMove {
					type = "linear";
					source = "vSpeed";
					min = -50;
					max = 50;
					minPos[] = {0.200000, 0.450000};
					maxPos[] = {0.200000, 0.650000};
				};

				class VertSpeedFix {
					type = "fixed";
					Pos[] = {0.200000, 0.550000};
				};

				class ILS {
					type = "ils";
					pos0[] = {0.500000, 0.400000};
					pos3[] = {0.700000, 0.600000};
				};

				class WeaponAim: Pos10 {
					source = "weapon";
				};

				class Target {
					source = "target";
					pos0[] = {0.420000, 0.650000};
					pos10[] = {0.970000, 1.250000};
					type = "vector";
				};

				class Level0 {
					pos0[] = {0.500000, 0.500000};
					pos10[] = {1.200000, 1.500000};
					type = "horizon";
					angle = 0;
				};

				class LevelP5: Level0 {
					angle = 5;
				};

				class LevelM5: Level0 {
					angle = -5;
				};

				class LevelP10: Level0 {
					angle = 10;
				};

				class LevelM10: Level0 {
					angle = -10;
				};

				class LevelP15: Level0 {
					angle = 15;
				};

				class LevelM15: Level0 {
					angle = -15;
				};

				class Velocity {
					pos0[] = {0.500000, 0.500000};
					pos10[] = {1.200000, 1.200000};
					type = "vector";
					source = "velocity";
				};
			};

			class Draw {
				alpha = 0.800000;
				color[] = {1, 1, 1};
				clipTL[] = {0, 0};
				clipBR[] = {1, 1};
				condition = "on";

				class EngNumber {
					type = "text";
					align = "left";
					scale = 1;
					source = "rpm";
					sourceScale = 100;
					pos[] = {"EngTextPos", {-0.050000, -0.030000}, 1};
					right[] = {"EngTextPos", {-0.010000, -0.030000}, 1};
					down[] = {"EngTextPos", {-0.050000, 0.020000}, 1};
				};

				class DisNumber {
					type = "text";
					align = "left";
					scale = 1;
					source = "targetDist";
					sourceScale = 1;
					pos[] = {"DisTextPos", {-0.050000, -0.030000}, 1};
					right[] = {"DisTextPos", {-0.010000, -0.030000}, 1};
					down[] = {"DisTextPos", {-0.050000, 0.020000}, 1};
				};

				class VertSpeed {
					type = "line";
					points[] = {{"VertSpeedFix", {0.020000, 0}, 1}, {"VertSpeedFix", {0, 0}, 1}, {"VertSpeedMove", {0, 0}, 1}, {"VertSpeedMove", {-0.030000, -0.015000}, 1}, {"VertSpeedMove", {-0.030000, 0.015000}, 1}, {"VertSpeedMove", {0, 0}, 1}};
				};

				class weapons {
					type = "text";
					source = "weapon";
					align = "right";
					scale = 0.500000;
					sourceScale = 1;
					pos[] = {{0.100000, 0.880000}, 1};
					right[] = {{"0.16-0.02", 0.880000}, 1};
					down[] = {{0.100000, 0.920000}, 1};
				};

				class ammo {
					type = "text";
					source = "ammo";
					align = "right";
					scale = 0.500000;
					sourceScale = 1;
					pos[] = {{0.100000, 0.930000}, 1};
					right[] = {{"0.16-0.02", 0.930000}, 1};
					down[] = {{0.100000, 0.970000}, 1};
				};
			};
		};

		class HelmetHUD {

			class Pos10Vector {
				type = "vector";
				pos0[] = {0.500000, 0.500000};
				pos10[] = {0.850000, 0.850000};
			};
			topLeft = "HELMET LH";
			topRight = "HELMET PH";
			bottomLeft = "HELMET LD";
			borderLeft = 0;
			borderRight = 0;
			borderTop = 0;
			borderBottom = 0;
			color[] = {0, 1, 0, 0.100000};

			class Bones {

				class PlaneW {
					type = "fixed";
					pos[] = {0.500000, 0.570000};
				};

				class WeaponAim: Pos10Vector {
					source = "weapon";
				};

				class GunnerAim: Pos10Vector {
					source = "weapon";
					pos0[] = {0, -0.002500};
					pos10[] = {0.010000, 0.002500};
				};

				class Target: Pos10Vector {
					source = "target";
				};

				class Velocity: Pos10Vector {
					type = "vector";
					source = "velocity";
					pos0[] = {0.500000, 0.500000};
					pos10[] = {0.850000, 0.850000};
				};

				class ILS_H {
					type = "ils";
					pos0[] = {0.500000, 0.500000};
					pos3[] = {0.605000, 0.500000};
				};

				class ILS_W: ILS_H {
					pos3[] = {0.500000, 0.605000};
				};

				class Level0: Pos10Vector {
					pos0[] = {0.500000, 0.570000};
					pos10[] = {0.850000, 0.920000};
					type = "horizon";
					angle = 0;
				};

				class LevelP10: Level0 {
					angle = 10;
				};

				class LevelM10: Level0 {
					angle = -10;
				};

				class LevelP20: Level0 {
					angle = 20;
				};

				class LevelM20: Level0 {
					angle = -20;
				};

				class LevelP30: Level0 {
					angle = 30;
				};

				class LevelM30: Level0 {
					angle = -30;
				};

				class LevelP40: Level0 {
					angle = 40;
				};

				class LevelM40: Level0 {
					angle = -40;
				};

				class LevelP50: Level0 {
					angle = 50;
				};

				class LevelM50: Level0 {
					angle = -50;
				};

				class LevelP60: Level0 {
					angle = 60;
				};

				class LevelM60: Level0 {
					angle = -60;
				};

				class LevelP70: Level0 {
					angle = 70;
				};

				class LevelM70: Level0 {
					angle = -70;
				};

				class LevelP80: Level0 {
					angle = 80;
				};

				class LevelM80: Level0 {
					angle = -80;
				};
			};

			class Draw {
				alpha = 0.600000;
				color[] = {0.000000, 0.500000, 0.050000};
				condition = "on";

				class PlaneHeading {
					clipTL[] = {0.000000, 1.000000};
					clipBR[] = {1.000000, 0.000000};
					type = "line";
					width = 4.000000;
					points[] = {{"Velocity", {0, -0.020000}, 1}, {"Velocity", {0.014000, -0.014000}, 1}, {"Velocity", {"+(0.02)", 0}, 1}, {"Velocity", {0.014000, 0.014000}, 1}, {"Velocity", {0, 0.020000}, 1}, {"Velocity", {-0.014000, 0.014000}, 1}, {"Velocity", {"-(0.02)", 0}, 1}, {"Velocity", {-0.014000, -0.014000}, 1}, {"Velocity", {0, -0.020000}, 1}, {}, {"Velocity", {0.040000, 0}, 1}, {"Velocity", {0.020000, 0}, 1}, {}, {"Velocity", {-0.040000, 0}, 1}, {"Velocity", {-0.020000, 0}, 1}, {}, {"Velocity", {0, -0.040000}, 1}, {"Velocity", {0, -0.020000}, 1}, {}};
				};

				class Static {
					clipTL[] = {0.000000, 0.100000};
					clipBR[] = {1.000000, 0.000000};
					type = "line";
					width = 4.000000;
					points[] = {{{0.790000, 0.520000}, 1}, {{0.810000, 0.500000}, 1}, {{0.790000, 0.480000}, 1}, {}, {{0.520000, 0.140000}, 1}, {{0.500000, 0.120000}, 1}, {{0.480000, 0.140000}, 1}, {}};
				};

				class Horizont {
					clipTL[] = {0.000000, 0.000000};
					clipBR[] = {1.000000, 1.000000};

					class Dimmed {

						class Level0 {
							type = "line";
							points[] = {{"Level0", {-0.200000, 0}, 1}, {"Level0", {-0.050000, 0}, 1}, {}, {"Level0", {0.050000, 0}, 1}, {"Level0", {0.200000, 0}, 1}};
						};

						class VALM_1_0 {
							type = "text";
							source = "static";
							text = 0;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"Level0", {-0.230000, -0.025000}, 1};
							right[] = {"Level0", {-0.130000, -0.025000}, 1};
							down[] = {"Level0", {-0.230000, 0.025000}, 1};
						};

						class VALM_2_0: VALM_1_0 {
							align = "right";
							pos[] = {"Level0", {0.220000, -0.025000}, 1};
							right[] = {"Level0", {0.320000, -0.025000}, 1};
							down[] = {"Level0", {0.220000, 0.025000}, 1};
						};

						class LevelM10: Level0 {
							type = "line";
							points[] = {{"LevelM10", {-0.200000, -0.030000}, 1}, {"LevelM10", {-0.200000, 0}, 1}, {"LevelM10", {-0.150000, 0}, 1}, {}, {"LevelM10", {-0.100000, 0}, 1}, {"LevelM10", {-0.050000, 0}, 1}, {}, {"LevelM10", {0.050000, 0}, 1}, {"LevelM10", {0.100000, 0}, 1}, {}, {"LevelM10", {0.150000, 0}, 1}, {"LevelM10", {0.200000, 0}, 1}, {"LevelM10", {0.200000, -0.030000}, 1}};
						};

						class VALM_1_10 {
							type = "text";
							source = "static";
							text = -10;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelM10", {-0.230000, -0.085000}, 1};
							right[] = {"LevelM10", {-0.130000, -0.085000}, 1};
							down[] = {"LevelM10", {-0.230000, -0.035000}, 1};
						};

						class VALM_2_10: VALM_1_10 {
							align = "right";
							pos[] = {"LevelM10", {0.220000, -0.085000}, 1};
							right[] = {"LevelM10", {0.320000, -0.085000}, 1};
							down[] = {"LevelM10", {0.220000, -0.035000}, 1};
						};

						class LevelP10: Level0 {
							type = "line";
							points[] = {{"LevelP10", {-0.200000, 0.030000}, 1}, {"LevelP10", {-0.200000, 0}, 1}, {"LevelP10", {-0.050000, 0}, 1}, {}, {"LevelP10", {0.050000, 0}, 1}, {"LevelP10", {0.200000, 0}, 1}, {"LevelP10", {0.200000, 0.030000}, 1}};
						};

						class VALP_1_10 {
							type = "text";
							source = "static";
							text = "10";
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelP10", {-0.230000, 0.035000}, 1};
							right[] = {"LevelP10", {-0.130000, 0.035000}, 1};
							down[] = {"LevelP10", {-0.230000, 0.085000}, 1};
						};

						class VALP_2_10: VALP_1_10 {
							align = "right";
							pos[] = {"LevelP10", {0.220000, 0.035000}, 1};
							right[] = {"LevelP10", {0.320000, 0.035000}, 1};
							down[] = {"LevelP10", {0.220000, 0.085000}, 1};
						};

						class LevelM20: Level0 {
							type = "line";
							points[] = {{"LevelM20", {-0.200000, -0.030000}, 1}, {"LevelM20", {-0.200000, 0}, 1}, {"LevelM20", {-0.150000, 0}, 1}, {}, {"LevelM20", {-0.100000, 0}, 1}, {"LevelM20", {-0.050000, 0}, 1}, {}, {"LevelM20", {0.050000, 0}, 1}, {"LevelM20", {0.100000, 0}, 1}, {}, {"LevelM20", {0.150000, 0}, 1}, {"LevelM20", {0.200000, 0}, 1}, {"LevelM20", {0.200000, -0.030000}, 1}};
						};

						class VALM_1_20 {
							type = "text";
							source = "static";
							text = -20;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelM20", {-0.230000, -0.085000}, 1};
							right[] = {"LevelM20", {-0.130000, -0.085000}, 1};
							down[] = {"LevelM20", {-0.230000, -0.035000}, 1};
						};

						class VALM_2_20: VALM_1_20 {
							align = "right";
							pos[] = {"LevelM20", {0.220000, -0.085000}, 1};
							right[] = {"LevelM20", {0.320000, -0.085000}, 1};
							down[] = {"LevelM20", {0.220000, -0.035000}, 1};
						};

						class LevelP20: Level0 {
							type = "line";
							points[] = {{"LevelP20", {-0.200000, 0.030000}, 1}, {"LevelP20", {-0.200000, 0}, 1}, {"LevelP20", {-0.050000, 0}, 1}, {}, {"LevelP20", {0.050000, 0}, 1}, {"LevelP20", {0.200000, 0}, 1}, {"LevelP20", {0.200000, 0.030000}, 1}};
						};

						class VALP_1_20 {
							type = "text";
							source = "static";
							text = "20";
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelP20", {-0.230000, 0.035000}, 1};
							right[] = {"LevelP20", {-0.130000, 0.035000}, 1};
							down[] = {"LevelP20", {-0.230000, 0.085000}, 1};
						};

						class VALP_2_20: VALP_1_20 {
							align = "right";
							pos[] = {"LevelP20", {0.220000, 0.035000}, 1};
							right[] = {"LevelP20", {0.320000, 0.035000}, 1};
							down[] = {"LevelP20", {0.220000, 0.085000}, 1};
						};

						class LevelM30: Level0 {
							type = "line";
							points[] = {{"LevelM30", {-0.200000, -0.030000}, 1}, {"LevelM30", {-0.200000, 0}, 1}, {"LevelM30", {-0.150000, 0}, 1}, {}, {"LevelM30", {-0.100000, 0}, 1}, {"LevelM30", {-0.050000, 0}, 1}, {}, {"LevelM30", {0.050000, 0}, 1}, {"LevelM30", {0.100000, 0}, 1}, {}, {"LevelM30", {0.150000, 0}, 1}, {"LevelM30", {0.200000, 0}, 1}, {"LevelM30", {0.200000, -0.030000}, 1}};
						};

						class VALM_1_30 {
							type = "text";
							source = "static";
							text = -30;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelM30", {-0.230000, -0.085000}, 1};
							right[] = {"LevelM30", {-0.130000, -0.085000}, 1};
							down[] = {"LevelM30", {-0.230000, -0.035000}, 1};
						};

						class VALM_2_30: VALM_1_30 {
							align = "right";
							pos[] = {"LevelM30", {0.220000, -0.085000}, 1};
							right[] = {"LevelM30", {0.320000, -0.085000}, 1};
							down[] = {"LevelM30", {0.220000, -0.035000}, 1};
						};

						class LevelP30: Level0 {
							type = "line";
							points[] = {{"LevelP30", {-0.200000, 0.030000}, 1}, {"LevelP30", {-0.200000, 0}, 1}, {"LevelP30", {-0.050000, 0}, 1}, {}, {"LevelP30", {0.050000, 0}, 1}, {"LevelP30", {0.200000, 0}, 1}, {"LevelP30", {0.200000, 0.030000}, 1}};
						};

						class VALP_1_30 {
							type = "text";
							source = "static";
							text = "30";
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelP30", {-0.230000, 0.035000}, 1};
							right[] = {"LevelP30", {-0.130000, 0.035000}, 1};
							down[] = {"LevelP30", {-0.230000, 0.085000}, 1};
						};

						class VALP_2_30: VALP_1_30 {
							align = "right";
							pos[] = {"LevelP30", {0.220000, 0.035000}, 1};
							right[] = {"LevelP30", {0.320000, 0.035000}, 1};
							down[] = {"LevelP30", {0.220000, 0.085000}, 1};
						};

						class LevelM40: Level0 {
							type = "line";
							points[] = {{"LevelM40", {-0.200000, -0.030000}, 1}, {"LevelM40", {-0.200000, 0}, 1}, {"LevelM40", {-0.150000, 0}, 1}, {}, {"LevelM40", {-0.100000, 0}, 1}, {"LevelM40", {-0.050000, 0}, 1}, {}, {"LevelM40", {0.050000, 0}, 1}, {"LevelM40", {0.100000, 0}, 1}, {}, {"LevelM40", {0.150000, 0}, 1}, {"LevelM40", {0.200000, 0}, 1}, {"LevelM40", {0.200000, -0.030000}, 1}};
						};

						class VALM_1_40 {
							type = "text";
							source = "static";
							text = -40;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelM40", {-0.230000, -0.085000}, 1};
							right[] = {"LevelM40", {-0.130000, -0.085000}, 1};
							down[] = {"LevelM40", {-0.230000, -0.035000}, 1};
						};

						class VALM_2_40: VALM_1_40 {
							align = "right";
							pos[] = {"LevelM40", {0.220000, -0.085000}, 1};
							right[] = {"LevelM40", {0.320000, -0.085000}, 1};
							down[] = {"LevelM40", {0.220000, -0.035000}, 1};
						};

						class LevelP40: Level0 {
							type = "line";
							points[] = {{"LevelP40", {-0.200000, 0.030000}, 1}, {"LevelP40", {-0.200000, 0}, 1}, {"LevelP40", {-0.050000, 0}, 1}, {}, {"LevelP40", {0.050000, 0}, 1}, {"LevelP40", {0.200000, 0}, 1}, {"LevelP40", {0.200000, 0.030000}, 1}};
						};

						class VALP_1_40 {
							type = "text";
							source = "static";
							text = "40";
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelP40", {-0.230000, 0.035000}, 1};
							right[] = {"LevelP40", {-0.130000, 0.035000}, 1};
							down[] = {"LevelP40", {-0.230000, 0.085000}, 1};
						};

						class VALP_2_40: VALP_1_40 {
							align = "right";
							pos[] = {"LevelP40", {0.220000, 0.035000}, 1};
							right[] = {"LevelP40", {0.320000, 0.035000}, 1};
							down[] = {"LevelP40", {0.220000, 0.085000}, 1};
						};

						class LevelM50: Level0 {
							type = "line";
							points[] = {{"LevelM50", {-0.200000, -0.030000}, 1}, {"LevelM50", {-0.200000, 0}, 1}, {"LevelM50", {-0.150000, 0}, 1}, {}, {"LevelM50", {-0.100000, 0}, 1}, {"LevelM50", {-0.050000, 0}, 1}, {}, {"LevelM50", {0.050000, 0}, 1}, {"LevelM50", {0.100000, 0}, 1}, {}, {"LevelM50", {0.150000, 0}, 1}, {"LevelM50", {0.200000, 0}, 1}, {"LevelM50", {0.200000, -0.030000}, 1}};
						};

						class VALM_1_50 {
							type = "text";
							source = "static";
							text = -50;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelM50", {-0.230000, -0.085000}, 1};
							right[] = {"LevelM50", {-0.130000, -0.085000}, 1};
							down[] = {"LevelM50", {-0.230000, -0.035000}, 1};
						};

						class VALM_2_50: VALM_1_50 {
							align = "right";
							pos[] = {"LevelM50", {0.220000, -0.085000}, 1};
							right[] = {"LevelM50", {0.320000, -0.085000}, 1};
							down[] = {"LevelM50", {0.220000, -0.035000}, 1};
						};

						class LevelP50: Level0 {
							type = "line";
							points[] = {{"LevelP50", {-0.200000, 0.030000}, 1}, {"LevelP50", {-0.200000, 0}, 1}, {"LevelP50", {-0.050000, 0}, 1}, {}, {"LevelP50", {0.050000, 0}, 1}, {"LevelP50", {0.200000, 0}, 1}, {"LevelP50", {0.200000, 0.030000}, 1}};
						};

						class VALP_1_50 {
							type = "text";
							source = "static";
							text = "50";
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelP50", {-0.230000, 0.035000}, 1};
							right[] = {"LevelP50", {-0.130000, 0.035000}, 1};
							down[] = {"LevelP50", {-0.230000, 0.085000}, 1};
						};

						class VALP_2_50: VALP_1_50 {
							align = "right";
							pos[] = {"LevelP50", {0.220000, 0.035000}, 1};
							right[] = {"LevelP50", {0.320000, 0.035000}, 1};
							down[] = {"LevelP50", {0.220000, 0.085000}, 1};
						};

						class LevelM60: Level0 {
							type = "line";
							points[] = {{"LevelM60", {-0.200000, -0.030000}, 1}, {"LevelM60", {-0.200000, 0}, 1}, {"LevelM60", {-0.150000, 0}, 1}, {}, {"LevelM60", {-0.100000, 0}, 1}, {"LevelM60", {-0.050000, 0}, 1}, {}, {"LevelM60", {0.050000, 0}, 1}, {"LevelM60", {0.100000, 0}, 1}, {}, {"LevelM60", {0.150000, 0}, 1}, {"LevelM60", {0.200000, 0}, 1}, {"LevelM60", {0.200000, -0.030000}, 1}};
						};

						class VALM_1_60 {
							type = "text";
							source = "static";
							text = -60;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelM60", {-0.230000, -0.085000}, 1};
							right[] = {"LevelM60", {-0.130000, -0.085000}, 1};
							down[] = {"LevelM60", {-0.230000, -0.035000}, 1};
						};

						class VALM_2_60: VALM_1_60 {
							align = "right";
							pos[] = {"LevelM60", {0.220000, -0.085000}, 1};
							right[] = {"LevelM60", {0.320000, -0.085000}, 1};
							down[] = {"LevelM60", {0.220000, -0.035000}, 1};
						};

						class LevelP60: Level0 {
							type = "line";
							points[] = {{"LevelP60", {-0.200000, 0.030000}, 1}, {"LevelP60", {-0.200000, 0}, 1}, {"LevelP60", {-0.050000, 0}, 1}, {}, {"LevelP60", {0.050000, 0}, 1}, {"LevelP60", {0.200000, 0}, 1}, {"LevelP60", {0.200000, 0.030000}, 1}};
						};

						class VALP_1_60 {
							type = "text";
							source = "static";
							text = "60";
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelP60", {-0.230000, 0.035000}, 1};
							right[] = {"LevelP60", {-0.130000, 0.035000}, 1};
							down[] = {"LevelP60", {-0.230000, 0.085000}, 1};
						};

						class VALP_2_60: VALP_1_60 {
							align = "right";
							pos[] = {"LevelP60", {0.220000, 0.035000}, 1};
							right[] = {"LevelP60", {0.320000, 0.035000}, 1};
							down[] = {"LevelP60", {0.220000, 0.085000}, 1};
						};

						class LevelM70: Level0 {
							type = "line";
							points[] = {{"LevelM70", {-0.200000, -0.030000}, 1}, {"LevelM70", {-0.200000, 0}, 1}, {"LevelM70", {-0.150000, 0}, 1}, {}, {"LevelM70", {-0.100000, 0}, 1}, {"LevelM70", {-0.050000, 0}, 1}, {}, {"LevelM70", {0.050000, 0}, 1}, {"LevelM70", {0.100000, 0}, 1}, {}, {"LevelM70", {0.150000, 0}, 1}, {"LevelM70", {0.200000, 0}, 1}, {"LevelM70", {0.200000, -0.030000}, 1}};
						};

						class VALM_1_70 {
							type = "text";
							source = "static";
							text = -70;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelM70", {-0.230000, -0.085000}, 1};
							right[] = {"LevelM70", {-0.130000, -0.085000}, 1};
							down[] = {"LevelM70", {-0.230000, -0.035000}, 1};
						};

						class VALM_2_70: VALM_1_70 {
							align = "right";
							pos[] = {"LevelM70", {0.220000, -0.085000}, 1};
							right[] = {"LevelM70", {0.320000, -0.085000}, 1};
							down[] = {"LevelM70", {0.220000, -0.035000}, 1};
						};

						class LevelP70: Level0 {
							type = "line";
							points[] = {{"LevelP70", {-0.200000, 0.030000}, 1}, {"LevelP70", {-0.200000, 0}, 1}, {"LevelP70", {-0.050000, 0}, 1}, {}, {"LevelP70", {0.050000, 0}, 1}, {"LevelP70", {0.200000, 0}, 1}, {"LevelP70", {0.200000, 0.030000}, 1}};
						};

						class VALP_1_70 {
							type = "text";
							source = "static";
							text = "70";
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelP70", {-0.230000, 0.035000}, 1};
							right[] = {"LevelP70", {-0.130000, 0.035000}, 1};
							down[] = {"LevelP70", {-0.230000, 0.085000}, 1};
						};

						class VALP_2_70: VALP_1_70 {
							align = "right";
							pos[] = {"LevelP70", {0.220000, 0.035000}, 1};
							right[] = {"LevelP70", {0.320000, 0.035000}, 1};
							down[] = {"LevelP70", {0.220000, 0.085000}, 1};
						};

						class LevelM80: Level0 {
							type = "line";
							points[] = {{"LevelM80", {-0.200000, -0.030000}, 1}, {"LevelM80", {-0.200000, 0}, 1}, {"LevelM80", {-0.150000, 0}, 1}, {}, {"LevelM80", {-0.100000, 0}, 1}, {"LevelM80", {-0.050000, 0}, 1}, {}, {"LevelM80", {0.050000, 0}, 1}, {"LevelM80", {0.100000, 0}, 1}, {}, {"LevelM80", {0.150000, 0}, 1}, {"LevelM80", {0.200000, 0}, 1}, {"LevelM80", {0.200000, -0.030000}, 1}};
						};

						class VALM_1_80 {
							type = "text";
							source = "static";
							text = -80;
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelM80", {-0.230000, -0.085000}, 1};
							right[] = {"LevelM80", {-0.130000, -0.085000}, 1};
							down[] = {"LevelM80", {-0.230000, -0.035000}, 1};
						};

						class VALM_2_80: VALM_1_80 {
							align = "right";
							pos[] = {"LevelM80", {0.220000, -0.085000}, 1};
							right[] = {"LevelM80", {0.320000, -0.085000}, 1};
							down[] = {"LevelM80", {0.220000, -0.035000}, 1};
						};

						class LevelP80: Level0 {
							type = "line";
							points[] = {{"LevelP80", {-0.200000, 0.030000}, 1}, {"LevelP80", {-0.200000, 0}, 1}, {"LevelP80", {-0.050000, 0}, 1}, {}, {"LevelP80", {0.050000, 0}, 1}, {"LevelP80", {0.200000, 0}, 1}, {"LevelP80", {0.200000, 0.030000}, 1}};
						};

						class VALP_1_80 {
							type = "text";
							source = "static";
							text = "80";
							align = "left";
							scale = 1;
							sourceScale = 1;
							pos[] = {"LevelP80", {-0.230000, 0.035000}, 1};
							right[] = {"LevelP80", {-0.130000, 0.035000}, 1};
							down[] = {"LevelP80", {-0.230000, 0.085000}, 1};
						};

						class VALP_2_80: VALP_1_80 {
							align = "right";
							pos[] = {"LevelP80", {0.220000, 0.035000}, 1};
							right[] = {"LevelP80", {0.320000, 0.035000}, 1};
							down[] = {"LevelP80", {0.220000, 0.085000}, 1};
						};
					};
				};

				class MGun {
					condition = "mgun";

					class Circle {
						type = "line";
						width = 4.000000;
						points[] = {{"WeaponAim", {0.050000, 0}, 1}, {"WeaponAim", {0.015000, 0}, 1}, {}, {"WeaponAim", {0, 0.050000}, 1}, {"WeaponAim", {0, 0.015000}, 1}, {}, {"WeaponAim", {-0.050000, 0}, 1}, {"WeaponAim", {-0.015000, 0}, 1}, {}, {"WeaponAim", {0, -0.050000}, 1}, {"WeaponAim", {0, -0.015000}, 1}, {}};
					};
				};

				class Bomb {
					condition = "bomb";

					class Circle {
						type = "line";
						width = 4.000000;
						points[] = {{"WeaponAim", {0, -0.100000}, 1}, {"WeaponAim", {0.050000, -0.087000}, 1}, {"WeaponAim", {0.087000, -0.050000}, 1}, {"WeaponAim", {0.100000, 0}, 1}, {"WeaponAim", {0.087000, 0.050000}, 1}, {"WeaponAim", {0.050000, 0.087000}, 1}, {"WeaponAim", {0, 0.100000}, 1}, {"WeaponAim", {-0.050000, 0.087000}, 1}, {"WeaponAim", {-0.087000, 0.050000}, 1}, {"WeaponAim", {-0.100000, 0}, 1}, {"WeaponAim", {-0.087000, -0.050000}, 1}, {"WeaponAim", {-0.050000, -0.087000}, 1}, {"WeaponAim", {0, -0.100000}, 1}, {}, {"Velocity", 0.001000, "WeaponAim", {0.000000, 0.000000}, 1}, {"Velocity", {0.000000, 0.000000}, 1}, {}};
					};
				};

				class AAMissile {
					condition = "AAmissile";

					class Circle {
						type = "line";
						width = 4.000000;
						points[] = {{"WeaponAim", {0, -0.250000}, 1}, {"WeaponAim", {0.125000, -0.217500}, 1}, {"WeaponAim", {0.217500, -0.125000}, 1}, {"WeaponAim", {0.250000, 0}, 1}, {"WeaponAim", {0.217500, 0.125000}, 1}, {"WeaponAim", {0.125000, 0.217500}, 1}, {"WeaponAim", {0, 0.250000}, 1}, {"WeaponAim", {-0.125000, 0.217500}, 1}, {"WeaponAim", {-0.217500, 0.125000}, 1}, {"WeaponAim", {-0.250000, 0}, 1}, {"WeaponAim", {-0.217500, -0.125000}, 1}, {"WeaponAim", {-0.125000, -0.217500}, 1}, {"WeaponAim", {0, -0.250000}, 1}, {}};
					};
				};

				class ATMissile {
					condition = "ATmissile";

					class Circle {
						type = "line";
						width = 4.000000;
						points[] = {{"WeaponAim", {-0.150000, -0.150000}, 1}, {"WeaponAim", {-0.150000, "-0.15+0.02"}, 1}, {}, {"WeaponAim", {-0.150000, 0.150000}, 1}, {"WeaponAim", {-0.150000, "+0.15-0.02"}, 1}, {}, {"WeaponAim", {0.150000, -0.150000}, 1}, {"WeaponAim", {0.150000, "-0.15+0.02"}, 1}, {}, {"WeaponAim", {0.150000, 0.150000}, 1}, {"WeaponAim", {0.150000, "+0.15-0.02"}, 1}, {}, {"WeaponAim", {-0.150000, -0.150000}, 1}, {"WeaponAim", {"-0.15+0.02", -0.150000}, 1}, {}, {"WeaponAim", {-0.150000, 0.150000}, 1}, {"WeaponAim", {"-0.15+0.02", 0.150000}, 1}, {}, {"WeaponAim", {0.150000, -0.150000}, 1}, {"WeaponAim", {"0.15-0.02", -0.150000}, 1}, {}, {"WeaponAim", {0.150000, 0.150000}, 1}, {"WeaponAim", {"0.15-0.02", 0.150000}, 1}, {}};
					};
				};

				class Rockets {
					condition = "Rocket";

					class Circle {
						type = "line";
						width = 4.000000;
						points[] = {{"WeaponAim", {-0.250000, -0.250000}, 1}, {"WeaponAim", {-0.250000, "-0.25+0.05"}, 1}, {}, {"WeaponAim", {-0.250000, 0.250000}, 1}, {"WeaponAim", {-0.250000, "+0.25-0.05"}, 1}, {}, {"WeaponAim", {0.250000, -0.250000}, 1}, {"WeaponAim", {0.250000, "-0.25+0.05"}, 1}, {}, {"WeaponAim", {0.250000, 0.250000}, 1}, {"WeaponAim", {0.250000, "+0.25-0.05"}, 1}, {}, {"WeaponAim", {-0.250000, -0.250000}, 1}, {"WeaponAim", {"-0.25+0.05", -0.250000}, 1}, {}, {"WeaponAim", {-0.250000, 0.250000}, 1}, {"WeaponAim", {"-0.25+0.05", 0.250000}, 1}, {}, {"WeaponAim", {0.250000, -0.250000}, 1}, {"WeaponAim", {"0.25-0.05", -0.250000}, 1}, {}, {"WeaponAim", {0.250000, 0.250000}, 1}, {"WeaponAim", {"0.25-0.05", 0.250000}, 1}, {}};
					};
				};

				class SpeedNumber {
					type = "text";
					align = "right";
					scale = 1;
					source = "speed";
					sourceScale = 3.600000;
					pos[] = {{0.060000, 0.470000}, 1};
					right[] = {{"0.14-0.02", 0.470000}, 1};
					down[] = {{0.060000, 0.520000}, 1};
				};

				class AltNumber: SpeedNumber {
					source = "altitudeAGL";
					sourceScale = 1;
					pos[] = {{"0.86-0.15", 0.470000}, 1};
					right[] = {{"0.94-0.15-0.02", 0.470000}, 1};
					down[] = {{"0.86-0.15", 0.520000}, 1};
				};

				class AltScale {
					type = "scale";
					scale = 1;
					source = "altitudeAGL";
					sourceScale = 1;
					align = "right";
					width = 4.000000;
					pos[] = {0.860000, 0.820000};
					right[] = {0.920000, 0.820000};
					down[] = {0.860000, 0.870000};
					lineXleft = 0.825000;
					lineYright = 0.835000;
					lineXleftMajor = 0.825000;
					lineYrightMajor = 0.845000;
					bottom = 0.200000;
					top = 0.850000;
					center = 0.500000;
					step = 20;
					StepSize = 0.032500;
					horizontal = 0;
					min = "none";
					max = "none";
					numberEach = 5;
					majorLineEach = 5;
				};

				class weapons {
					type = "text";
					source = "weapon";
					align = "right";
					scale = 0.500000;
					sourceScale = 1;
					pos[] = {{0.100000, 0.880000}, 1};
					right[] = {{"0.16-0.02", 0.880000}, 1};
					down[] = {{0.100000, 0.920000}, 1};
				};

				class ammo {
					type = "text";
					source = "ammo";
					align = "right";
					scale = 0.500000;
					sourceScale = 1;
					pos[] = {{0.100000, 0.930000}, 1};
					right[] = {{"0.16-0.02", 0.930000}, 1};
					down[] = {{0.100000, 0.970000}, 1};
				};

				class HeadingScale {
					type = "scale";
					scale = 1;
					source = "Heading";
					sourceScale = 1;
					align = "center";
					width = 4.000000;
					pos[] = {"0.32-0.01", "0.0+0.05"};
					right[] = {"0.38-0.01", "0.0+0.05"};
					down[] = {"0.32-0.01", "0.04+0.05"};
					lineXleft = "0.06+0.05";
					lineYright = "0.05+0.05";
					lineXleftMajor = "0.07+0.05";
					lineYrightMajor = "0.04+0.05";
					bottom = 0.700000;
					center = 0.500000;
					top = 0.300000;
					step = 10;
					StepSize = "(0.70- 0.3)/15";
					horizontal = 1;
					min = "none";
					max = "none";
					numberEach = 3;
					majorLineEach = 3;
				};
			};
			helmetMountedDisplay = 1;
			helmetPosition[] = {-0.025000, 0.025000, 0.100000};
			helmetRight[] = {0.050000, 0.000000, 0.000000};
			helmetDown[] = {0.000000, -0.050000, 0.000000};
		};
	};
	irScanRangeMin = 3500;
	irScanRangeMax = 10000;
	irScanToEyeFactor = 3;
};

class jas39_unarmed: jas39 {
	displayname = "JAS 39 Gripen (Unarmed)";
	scope = 2;
	weapons[] = {"CMFlareLauncher"};
	magazines[] = {"120Rnd_CMFlare_Chaff_Magazine"};
};
};

edit: changed the class to A10, the one i posted first doesnt work at all for me.

Thanks to anyone who can help me and THANKS to the SFP mod team for an awesome mod!

Edited by OmigaaaD
Changed the vehicle class

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  

×