#define _ARMA_
class CfgPatches {
class fz_f18 {
units[] = {"fz_f18f_aws", "fz_f18f_aws02", "fz_f18f_aws03", "fz_f18f_aws04", "fz_f18f_aws05"};
weapons[] = {};
requiredVersion = 1.0;
requiredAddons[] = {"CAWater", "CAAir", "CAAir2", "CAData", "CACharacters", "CAWeapons", "CASounds", "CA_Anims_Char", "GLT_Missilebox", "mar_pilot"};
};
};
class CfgMovesBasic {
class DefaultDie; // External class reference
class ManActions {
fz_f18_pilot = "fz_f18_pilot";
fz_f18_commander = "fz_f18_commander";
};
};
class CfgMovesMaleSdr : CfgMovesBasic {
class States {
class Crew; // External class reference
class fz_f18_pilot_dead : DefaultDie {
actions = "DeadActions";
speed = 0.5;
looped = "false";
terminal = true;
file = "\fz_f18\anim\fz_f18_pilot_kia.rtm";
connectTo[] = {"DeadState", 0.1};
};
class fz_f18_pilot : Crew {
file = "\fz_f18\anim\fz_f18_pilot.rtm";
interpolateTo[] = {"fz_f18_pilot_dead", 1};
};
class fz_f18_commander : Crew {
file = "\fz_f18\anim\fz_f18_commander.rtm";
interpolateTo[] = {"fz_f18_pilot_dead", 1};
};
};
};
class CfgSounds {
class fz_f18_absound {
sound[] = {"\fz_f18\sounds\burner", 30, 1.0, 2000};
name = "fz_f18_absound";
titles[] = {};
};
class fzf18flarelaunch {
sound[] = {"\fz_f18\sounds\flare_drop", 10, 1, 700};
name = "fzf18flarelaunch";
titles[] = {};
};
class fzf18gearup {
sound[] = {"\fz_f18\sounds\gearupex", 5, 1, 100};
name = "fzf18gearup";
titles[] = {};
};
class fzf18geardn {
sound[] = {"\fz_f18\sounds\geardnex", 5, 1, 100};
name = "fzf18geardn";
titles[] = {};
};
class fzf18wfold {
sound[] = {"\fz_f18\sounds\flapsex", 2, 1, 75};
name = "fzf18wfold";
titles[] = {};
};
class fzf18opcanopy {
sound[] = {"\fz_f18\sounds\door_open", 2, 1, 75};
name = "fzf18opcanopy";
titles[] = {};
};
class fzf18clcanopy {
sound[] = {"\fz_f18\sounds\door_close", 2, 1, 75};
name = "fzf18clcanopy";
titles[] = {};
};
};
class CfgRadio {
class fz_f18_bt_bingofuel {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_bingofuel.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_cmptrdmgd {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_cmptrdmgd.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_cmptrfail {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_cmptrfail.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_refire {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_refire.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_lefire {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_lefire.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_ledmgd {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_ledmgd.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_redmgd {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_redmgd.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_ledstryd {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_ledstryd.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_redstryd {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_redstryd.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_wrn {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_wrn.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_pc1hi {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_pc1hi.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_pc1low {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_pc1low.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_pc2hi {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_pc2hi.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_pc2low {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_pc2low.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_grdmgd {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_grdmgd.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_fuelhi {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_fuelhi.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_fuello {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_fuello.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_eject {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_eject.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_fltdmgd {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_fltdmgd.wav", db5, 1.0};
title = "";
};
class fz_f18_bt_fltdstryd {
name = "";
sound[] = {"\fz_f18\sounds\f18_bt_fltdstryd.wav", db5, 1.0};
title = "";
};
class fz_f18_bp_warn1 {
sound[] = {"\fz_f18\sounds\jf18_1350k250.wav", db5, 1};
name = "";
title = "";
};
class fz_f18_bp_miswarn {
sound[] = {"\fz_f18\sounds\jf18_bp_miswarn.wav", db5, 1};
name = "";
title = "";
};
class fz_f18_chttr_fox1 {
name = "";
sound[] = {"\fz_f18\sounds\f18_fox1.wav", db5, 1.0};
title = "";
};
class fz_f18_chttr_fox2 {
name = "";
sound[] = {"\fz_f18\sounds\f18_fox2.wav", db5, 1.0};
title = "";
};
class fz_f18_chttr_fox3 {
name = "";
sound[] = {"\fz_f18\sounds\f18_fox3.wav", db5, 1.0};
title = "";
};
};
class CfgWeapons {
class Laserdesignator_mounted;
class BombLauncher;
class fz_f18_droptank : BombLauncher {
displayName = "Droptank";
optics = false;
initspeed = 0;
reloadTime = 0;
autoFire = true;
magazines[] = {"GLT_1Rnd_fz_f18_droptank", "GLT_2Rnd_fz_f18_droptank", "GLT_3Rnd_fz_f18_droptank", "GLT_4Rnd_fz_f18_droptank", "GLT_5Rnd_fz_f18_droptank"};
aiRateOfFire = 0; // delay between shots at given distance
aiRateOfFireDistance = 0;
soundContinuous = 0;
sound[] = {"\fz_f18\sounds\bombRelease", 2, 1};
};
class glt_anaaq28 : Laserdesignator_mounted {
displayName = "AN/AAQ-28(V)";
optics = false;
initspeed = 0;
reloadTime = 0;
autoFire = true;
magazines[] = {"GLT_anaaq28"};
aiRateOfFire = 0; // delay between shots at given distance
aiRateOfFireDistance = 0;
soundContinuous = 0;
sound[] = {};
};
};
class cfgAmmo {
class GLT_BombBase;
class fz_f18_dualrail: GLT_BombBase {
hit = 0;
indirectHit = 0;
indirectHitRange = 0;
model = "\fz_f18\fz_f18dualrail.p3d";
proxyShape = "\fz_f18\fz_f18dualrail.p3d";
};
class fz_f18_droptank: GLT_BombBase {
hit = 0;
indirectHit = 0;
indirectHitRange = 0;
model = "\fz_f18\fz_f18droptank.p3d";
proxyShape = "\fz_f18\fz_f18droptank.p3d";
};
class glt_anaaq28: GLT_BombBase {
hit = 0;
indirectHit = 0;
indirectHitRange = 0;
model = "\fz_f18\glt_litening.p3d";
proxyShape = "\fz_f18\glt_litening.p3d";
};
};
class cfgMagazines {
class GLT_MagazineBase_LGB;
class GLT_2Rnd_fz_f18_dualrail: GLT_MagazineBase_LGB {
scope = 2;
ammo = "fz_f18_dualrail";
displayName = "";
count = 2;
};
class GLT_3Rnd_fz_f18_dualrail: GLT_2Rnd_fz_f18_dualrail {
count = 3;
};
class GLT_4Rnd_fz_f18_dualrail: GLT_2Rnd_fz_f18_dualrail {
count = 4;
};
class GLT_1Rnd_fz_f18_droptank: GLT_MagazineBase_LGB {
scope = 2;
ammo = "fz_f18_droptank";
displayName = "";
count = 1;
};
class GLT_2Rnd_fz_f18_droptank: GLT_1Rnd_fz_f18_droptank {
count = 2;
};
class GLT_3Rnd_fz_f18_droptank: GLT_1Rnd_fz_f18_droptank {
count = 3;
};
class GLT_4Rnd_fz_f18_droptank: GLT_1Rnd_fz_f18_droptank {
count = 4;
};
class GLT_5Rnd_fz_f18_droptank: GLT_1Rnd_fz_f18_droptank {
count = 5;
};
class GLT_anaaq28: GLT_MagazineBase_LGB {
scope = 2;
ammo = "glt_anaaq28";
displayName = "";
count = 1;
};
};
class CfgFactionClasses {
class 2nd_MAW {
displayName = "USMC (2nd Marine Aircraft Wing) ";
priority = 100;
side = 1;
};
class USMC {
displayName = "USMC";
priority = 100;
side = 1;
};
class USN {
displayName = "US Navy";
priority = 100;
side = 1;
};
class MAS {
displayName = "MAS";
priority = 100;
side = 1;
};
};
class CfgVehicleClasses {
access = 1;
class MAR_FA18F {
displayName = "VMFA (AW)-533";
};
class MAR_FA18E_F {
displayName = "VMF";
};
class mas_aircraft {
displayName = "MAS - Objects";
};
class MAS_Objects {
displayName = "MAS - Objects";
};
};
class CfgVehicles {
class Air;
class Plane: Air {};
class F35B : Plane {
class NewTurret; // External class reference
class EventHandlers;
};
class fz_f18abase : F35B {
//scope = 0;
side = 1;
displayName = "F/A-18";
faction = "2nd_MAW";
accuracy = 0.5;
};
class fz_f18f_aws : fz_f18abase {
destrType = "DestructWreck";
scope = 2;
side = 1;
vtol = 0;
displayName = "F/A-18F Super Hornet 01(USMC)";
vehicleclass = "MAR_FA18F";
model = "\fz_f18\fz_f18f_aws";
picture = "\fz_f18\fa18_pic.paa";
icon = "\fz_f18\fa18_icon.paa";
mapSize = 17;
crew = "mar_fighter_pilot";
camouflage = 12;
audible = 12;
accuracy = 1.5;
supplyRadius = 8;
radarType = 4;
laserScanner = 1;
laserTarget = 1;
irScanGround = 1;
irScanRangeMin = 4000;
irScanRangeMax = 10000;
irScanToEyeFactor = 2;
LockDetectionSystem = 8 + 4;
IncommingMisslieDetectionSystem = 16;
minFireTime = 10;
driverAction = "fz_f18_pilot";
driverCanSee = 1+2+4;
driverIsCommander = true;
//commanderCanSee = 1+2+4;
gunAimDown = 0.07;
hasGunner = true;
//hasCommander = true;
transportSoldier=1;
primaryGunner = true;
primaryObserver = true;
gunnerOpticsShowCursor = 1;
showgunneroptics = 1;
brakeDistance= 500; // plane
fuelCapacity = 1000; // air
precision = 200; // air
acceleration = 100;
lightongear = true;
maxSpeed = 1300;
canBeShot = true;
armor = 60;
armorStructural= 4.0; //ranges between 1 and 4.0, default 1
armorFuel = 1.4; // default
armorGlass = 0.5; // default
armorLights = 0.4; // default 0.4 in all models.
armorWheels = 0.05;//default
armorHull = 0.5;
armorEngine = 0.6;
armorAvionics = 1.4;
armorVRotor = 0.5;
armorHRotor = 0.7;
armorMissiles = 1.6;
damageResistance = 0.01246;
armorStructured = 1;
formationX = 40;
formationZ = 50;
ejectDamageLimit = 0.75;
aileronSensitivity = 1.6;
elevatorSensitivity = 1;
wheelSteeringSensitivity = 3.0;
flapsFrictionCoef = 0.5;
minHeadTurnAI = -140;
maxHeadTurnAI = 140;
leftDustEffect = "LDustEffects";
rightDustEffect = "RDustEffects";
cost = 20000000;
type = 2;
threat[] = {1,1,0.7};
landingAoa = "rad 10";
landingSpeed = 300;
glt_rwr_air_tex = "\fz_f18\ins\rwr\rwr_targets.paa";
glt_rwr_ground_tex = "\fz_f18\ins\rwr\rwr_targets_blue.paa";
glt_rwr_prio_tex = "\fz_f18\ins\rwr\rwr_targets_red.paa";
hiddenselections[] = {"sidewinder_1", "sidewinder_2", "aim120_1", "aim120_2", "sparrow_1", "sparrow_2", "lgear2", "rgear2", "lgear", "rgear", "stat_wing", "folding_wing", "auxtank_cen", "auxtank_wing", "targ_pods", "mapev", "mapma", "mapko", "mapdi", "mapno", "sts_leng", "sts_reng", "sts_hydr", "sts_ews", "sts_ckpt", "sts_fuel", "sts_hydpsi", "sts_leopsi", "sts_reopsi", "sts_gear", "sts_hook", "sts_wings", "sts_cnpy", "pylon_1", "pylon_2", "pylon_3", "pylon_4", "pylon_5", "pylon_6", "pylon_7", "pylon_8", "pylon_9", "pylon_10", "pylon_11", "chaff_cnt", "flare_cnt", "canopy", "eject_seat", "burner", "vsd_spd1", "vsd_spd2", "vsd_spd3", "vsd_spd4", "hud_alt1", "hud_alt2", "hud_alt3", "hud_alt4", "hud_alt5", "leng_s1", "leng_s2", "leng_s3", "leng_s4", "leng_s5", "leng_s6", "leng_s7", "leng_s8", "m61_am1", "m61_am2", "m61_am3", "aim9m_1", "aim9m_2", "buddypod", "canopy_co", "mfd_1_screen", "mfd_2_screen", "hud_ctl_screen", "fuel_disp_screen", "hud_compass", "hud_horizon", "hud_back", "rwr_target_1", "rwr_target_2", "rwr_target_3", "rwr_target_4", "rwr_target_5", "rwr_target_6", "rwr_target_7", "rwr_target_8", "rwr_target_9", "rwr_target_10", "rwr_target_11", "rwr_target_12", "rwr_target_13", "rwr_target_14", "rwr_target_15", "rwr_target_16", "rwr_dir_warn", "rwr_glass", "ngear_light", "lgear_light", "rgear_light", "flaps_light", "flapsH_light", "flapsF_light", "hook_light", "aoa_fast", "aoa_sl_fast", "aoa_sl_slow", "aoa_slow", "aoa_steady"};
//109 hiddenselections
hiddenSelectionsTextures[] = {
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
weapons[] = {"CMFlareLauncher"};
magazines[] = {"240Rnd_CMFlare_Chaff_Magazine"};
memoryPointCM[] = {"flare_launcher1","flare_launcher2"};
memoryPointCMDir[] = {"flare_launcher1_dir","flare_launcher2_dir"};
soundGetIn[] = {"ca\sounds\Air\AV8\ext\ext-jetair-cabine-close1",0.056234132,1};
soundGetOut[] = {"ca\sounds\Air\AV8\ext\ext-jetair-cabine-open1",0.056234132,1,40};
soundLandCrash[]={"\fz_f18\Sounds\Tire", 5, 1.2, 900};
soundServo[]={"\fz_f18\Sounds\f18_flaps", 1, 1.1, 90};
soundDammage[] = {"ca\sounds\Air\AV8\int\alarm_loop1",0.01,1};
soundEngineOnInt[] = {"\fz_f18\Sounds\f18_start_in", 0.562341, 1.300000};
soundEngineOnExt[] = {"\fz_f18\Sounds\f18_start_out", 0.794328, 1.300000, 800};
soundEngineOffInt[] = {"\fz_f18\Sounds\f18_stop_in", 0.562341, 1.000000};
soundEngineOffExt[] = {"\fz_f18\Sounds\f18_stop_out", 0.794328, 1.000000, 800};
soundLocked[] = {"\ca\Tracked\Data\Sound\alarm_loop1",0.000316228,2};
soundIncommingMissile[] = {"\ca\Tracked\Data\Sound\alarm_loop1",0.000316228,4};
envelope[] = {0.0, 0.4, 1.9, 4, 6.8, 8.3, 8.5, 8, 7.2, 5.8, 4, 1.8, 0.5, 0};
class ViewPilot {
initFov = 1.0;
minFov = 0.3;
maxFov = 0.85;
initAngleX = 0;
minAngleX = -75;
maxAngleX = 50;
initAngleY = 0;
minAngleY = -150;
maxAngleY = 150;
};
class ViewOptics {
initAngleX = 0;
minAngleX = -360;
maxAngleX = 360;
initAngleY = 0;
minAngleY = -120;
maxAngleY = 120;
initFov = 0.4;
minFov = 0.1;
maxFov = 0.4;
};
class Sounds {
class EngineLowOut {
sound[] = {"\fz_f18\Sounds\f18_engine_out", 2.511886, 1.000000, 1200};
frequency = "1.0 min (rpm + 0.5)";
volume = "engineOn*camPos*(thrust factor[1.0, 0.4])";
};
class EngineHighOut {
sound[] = {"\fz_f18\Sounds\f18_engine_hi_out", 11, 0.8, 3200};
frequency = "1";
volume = "engineOn*camPos*(thrust factor[0.1, 1.0])";
};
class ForsageOut {
sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-forsage1", 2.511886, 1.100000, 2500};
frequency = "1";
volume = "engineOn*camPos*(thrust factor[0.5, 1.0])";
cone[] = {3.14, 3.92, 2.0, 0.4};
};
class WindNoiseOut {
sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-wind1", 1.000000, 1.000000, 100};
frequency = "(0.1+(1.2*(speed factor[1, 150])))";
volume = "camPos*(speed factor[1, 150])";
};
class DistantPlaneOut {
sound[] = {"\fz_f18\Sounds\distantplane", 25, 1.0, 4000};
frequency = "1";
volume = "engineOn*camPos*(speed factor[1, 400])";
};
class EngineLowIn {
sound[] = {"ca\sounds\Air\AV8\int\int-av8b-engine-low", db-10, 1.0};
frequency = "1.0 min (rpm + 0.5)";
volume = "(1-camPos)*(engineOn*(thrust factor[1.0, 0.4]))";
};
class EngineHighIn {
sound[] = {"\fz_f18\Sounds\f18_engine_hi_in", 2, 1.000000};
frequency = "1";
volume = "(1-camPos)*(engineOn*(thrust factor[0.1, 1.0]))";
};
class ForsageIn {
sound[] = {"ca\sounds\Air\AV8\int\int-av8b-forsage-1", 0.794328, 1.100000};
frequency = "1";
volume = "(1-camPos)*(engineOn*(thrust factor[0.75, 1.0]))";
};
class WindNoiseIn {
sound[] = {"ca\sounds\Air\AV8\int\int-jetair-wind1", 0.707946, 1.000000};
frequency = "(0.1+(1.2*(speed factor[1, 150])))";
volume = "(1-camPos)*(speed factor[1, 150])";
};
};
class Turrets {
class WSOPosition : NewTurret {
gunnerAction = "fz_f18_commander";
gunnerInAction = "fz_f18_commander";
body = "";
gun = "";
//animationSourceBody = "obsTurret";
//animationSourceGun = "obsGun";
primarygunner = 1;
weapons[] = {"GLT_M61A1","GLT_AIM9M_Launcher","fz_f18_droptank","GLT_AIM120_Launcher","GLT_MK82_Launcher","GLT_AGM65_Launcher","CMFlareLauncher"};
magazines[] = {"500Rnd_20mm_M61A1_GLT","GLT_2Rnd_AIM9M","GLT_1Rnd_fz_f18_droptank","GLT_4Rnd_fz_f18_dualrail","GLT_4Rnd_AIM120","GLT_4Rnd_AGM65","GLT_4Rnd_MK82","240Rnd_CMFlare_Chaff_Magazine"};
memoryPointsGetInGunner = "pos gunner";
memoryPointsGetInGunnerDir = "pos gunner dir";
memoryPointGun = "gunmuz";
memoryPointGunnerOptics = "gunnerview";
minElev = -360;
maxElev = 360;
initElev = 0;
minTurn = -360;
maxTurn = 360;
initTurn = 0;
gunnerOpticsModel = "\ca\air\optika_Ka50_rocket.p3d";
gunnerName = WSO;
commanding = -1;
typicalCargo[] = {"USMC_Soldier_Pilot"};
ejectDeadGunner = false;
//forceHideGunner = true;
gunBeg = "gunmuz"; // endpoint of the gun
gunEnd = "gunend"; // chamber of the gun
gunnerForceOptics = false;
gunnerOutOpticsModel = "\ca\air\optika_Ka50_rocket.p3d";
gunnerOpticsColor[] = {0.227, 0.769, 0.24, 1};
gunnerForceOutOptics = 0;
gunnerUsesPilotView = false;
hasGunner = true;
hideWeaponsGunner = false;
inGunnerMayFire = false;
lockWhenDriverOut = false;
maxHorizontalRotSpeed = 3;
maxVerticalRotSpeed = 3;
outGunnerMayFire = true;
//primaryObserver = 1;
proxyType = "CPGunner";
proxyIndex = 1;
gunnerOpticsShowCursor = 1;
showgunneroptics = 1;
soundServo[] = {"", db-50, 1.0};
startEngine = false;
//viewGunnerInExternal = true;
class ViewGunner {
initFov = 0.7;
minFov = 0.3;
maxFov = 0.85;
initAngleX = 0;
minAngleX = -75;
maxAngleX = 50;
initAngleY = 0;
minAngleY = -150;
maxAngleY = 150;
};
};
};
class MFD {
class AirplaneHUD {
topLeft = "HUD LH";
topRight = "HUD PH";
bottomLeft = "HUD LD";
borderLeft = 0;
borderRight = 0;
borderTop = 0;
borderBottom = 0.1;
color[] = {1, 1, 1, 0.5};
condition = "on";
class Pos10Vector {
condition = "on";
type = "vector";
pos0[] = {0.5, 0.32};
pos10[] = {0.5+0.57, 0.32+0.62};
};
class Bones {
class AGLMove1 {
type = "linear";
source = "altitudeAGL";
condition = "on";
min = 0;
max = 100;
minPos[] = {0.85, 0.3};
maxPos[] = {0.85, 0.3};
};
class AGLMove2 {
type = "fixed";
condition = "on";
pos[] = {0.05, 0.8};
};
class ASLMove1 {
type = "linear";
condition = "on";
source = "altitudeASL";
min = 0;
max = 500;
minPos[] = {0.1, 0.1};
maxPos[] = {0.1, 0.8};
};
class ASLMove2 {
type = "fixed";
condition = "on";
pos[] = {0.1, 0.8};
};
class VertSpeed {
type = "linear";
condition = "on";
source = "vSpeed";
min = -25;
max = 25;
minPos[] = {0.9, 0.7};
maxPos[] = {0.9, 0.7};
};
class SpdMove2 {
source = "speed";
condition = "on";
min = 33;
max = 200;
type = "linear";
minPos[] = {0.9, 0.2};
maxPos[] = {0.9, 0.2};
};
class ILS {
type = "ils";
pos0[] = {0.5, 0.4};
pos3[] = {0.7, 0.6};
};
class WeaponAim : Pos10Vector {
type = "vector";
source = "weapon";
pos10[] = {0.5+0.57, 0.24+0.69};
pos0[] = {0.505, 0.3};
};
class Target : Pos10Vector {
source = "target";
};
class TargetDistanceMissile {
type = "rotational";
source = "targetDist";
condition = "on";
center[] = {0, 0};
min = 100;
max = 3000;
minAngle = -120;
maxAngle = 120;
};
class TargetDistanceMGun {
type = "rotational";
source = "targetDist";
condition = "on";
center[] = {0, 0};
min = 100;
max = 1000;
minAngle = -180;
maxAngle = 90;
};
class Level0 : Pos10Vector {
type = "horizon";
condition = "on";
angle = 0;
};
class LevelP5 : Level0 {
angle = 5;
condition = "on";
};
class LevelM5 : Level0 {
angle = -5;
condition = "on";
};
class LevelP10 : Level0 {
angle = 10;
condition = "on";
};
class LevelM10 : Level0 {
angle = -10;
condition = "on";
};
class LevelP15 : Level0 {
angle = 15;
condition = "on";
};
class LevelM15 : Level0 {
angle = -15;
condition = "on";
};
class Velocity : Pos10Vector {
type = "vector";
source = "velocity";
condition = "on";
};
class PlaneW {
type = "fixed";
pos[] = {0.51, 0.31};
condition = "on";
};
};
class Draw {
alpha = 0.4;
color[] = {0.2,1,0.1};
clipTL[] = {0, 0.05};
clipBR[] = {1, 0.75};
condition = "on";
class DimmedBase {
alpha = 0.3;
condition = "on";
class AltitudeBase {
type = "line";
condition = "on";
points[] = {{"AGLMove2", 1}, {"ASLMove2", 1}};
};
};
class targetrange {
type = "text";
align = "left";
scale = 1;
source = "targetDist";
sourceScale = 1;
pos[] = {"SpdMove2", {-0.05, -0.03}, 1};
right[] = {"SpdMove2", {0.0075, -0.027}, 1};
down[] = {"SpdMove2", {-0.05, 0.03}, 1};
};
class vsitext {
type = "text";
align = "left";
scale = 1;
source = "vspeed";
sourceScale = 1.9685;
pos[] = {"VertSpeed", {-0.05, -0.03}, 1};
right[] = {"VertSpeed", {0.0075, -0.027}, 1};
down[] = {"VertSpeed", {-0.05, 0.03}, 1};
};
class PlaneW {
condition = "on";
class Velocity {
type = "line";
condition = "on";
points[] = {{"Velocity", {0+0.005, -0.02}, 1}, {"Velocity", {0.02+0.005, 0}, 1}, {"Velocity", {0+0.005, 0.02}, 1}, {"Velocity", {-0.02+0.005, 0}, 1}, {"Velocity", {0+0.005, -0.02}, 1}};
};
};
class MGun {
condition = "mgun";
class Circle {
type = "line";
points[] = {{"WeaponAim", {0, -0.07}, 1}, {"WeaponAim", {0, -0.07}, 1}, {}, {"WeaponAim", {0, -0.01}, 1}, {"WeaponAim", {0, -0.01}, 1}, {}, {"WeaponAim", {0.03*sin(-180), -0.03*cos(-180)}, 1}, {"WeaponAim", {0.07*sin(-180), -0.07*cos(-180)}, 1}, {}, {"WeaponAim", {0.03*sin(+90), -0.03*cos(+90)}, 1}, {"WeaponAim", {0.07*sin(+90), -0.07*cos(+90)}, 1}, {}, {"WeaponAim", 1, "TargetDistanceMGun", {0, 0.04}, 1}, {"WeaponAim", 1, "TargetDistanceMGun", {0, 0.07}, 1}};
};
};
class Missile {
condition = "missile";
class Circle {
type = "line";
points[] = {{"WeaponAim", {0, -0.1}, 1}, {"WeaponAim", {+0.7*0.1, -0.7*0.1}, 1}, {"WeaponAim", {0.1, 0}, 1}, {"WeaponAim", {+0.7*0.1, +0.7*0.1}, 1}, {"WeaponAim", {0, 0.1}, 1}, {"WeaponAim", {-0.7*0.1, +0.7*0.1}, 1}, {"WeaponAim", {-0.1, 0}, 1}, {"WeaponAim", {-0.7*0.1, -0.7*0.1}, 1}, {"WeaponAim", {0, -0.1}, 1}, {}, {"WeaponAim", {0.1*0.8*sin(-120), -0.1*0.8*cos(-120)}, 1}, {"WeaponAim", {0.1*1.2*sin(-120), -0.1*1.2*cos(-120)}, 1}, {}, {"WeaponAim", {0.1*0.8*sin(+120), -0.1*0.8*cos(+120)}, 1}, {"WeaponAim", {0.1*1.2*sin(+120), -0.1*1.2*cos(+120)}, 1}, {}, {"WeaponAim", 1, "TargetDistanceMissile", {0, 0.1*0.8}, 1}, {"WeaponAim", 1, "TargetDistanceMissile", {0, 0.1*1.2}, 1}};
};
class Target {
type = "line";
points[] = {{"Target", {-0.05, -0.05}, 1}, {"Target", {0.05, -0.05}, 1}, {"Target", {0.05, 0.05}, 1}, {"Target", {-0.05, 0.05}, 1}, {"Target", {-0.05, -0.05}, 1}};
};
};
class Horizont {};
class ILS {
condition = "ils";
class Glideslope {
clipTL[] = {0.29, 0.29};
clipBR[] = {0.71, 0.71};
class ILS {
type = "line";
points[] = {{ILS, {-10, 0}, 1}, {ILS, {10, 0}, 1}, {}, {ILS, {0, -10}, 1}, {ILS, {0, 10}, 1}};
};
};
class AOABracket {
condition = "on";
type = "line";
points[] = {{{0.42, 0.78}, 1}, {{0.4, 0.78}, 1}, {{0.4, 0.88}, 1}, {{0.42, 0.88}, 1}};
};
};
};
};
};
class AnimationSources {
class lelev_off {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class relev_off {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class rightgear {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class leftgear {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class lgearpist {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class lgearsus {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class rgearpist {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class rgearsus {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class n_sus {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class n_sus2 {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class rgear_rot {
source = "user";
animPeriod = 1;
initPhase = 0;
};
class lgear_rot {
source = "user";
animPeriod = 1;
initPhase = 0;
};
class frontgear {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class lgdoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class rin_lgdoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class rou_lgdoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class rgdoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class rin_rgdoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class rou_rgdoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class f_ndoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class f_nrdoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class f_ndoor2 {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class r_ndoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class rear_ndoor {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class fuel_probe {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class fuel_drogue {
source = "user";
animPeriod = 8;
initPhase = 0;
};
class auxtank_switch {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class eject_switch {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class ab_switch {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class spd_accelerator {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class bottles {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class ewsfail {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class gearfail {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class flarecount {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class firewep {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class fired {
source = "user";
animPeriod = 0.001;
initPhase = 0;
};
class canopy {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class r_wingfold {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class l_wingfold {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class tailhook {
source = "user";
animPeriod = 2;
initPhase = 0;
};
class map_X {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class map_Y {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class map_icon_x {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class map_icon_y {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class commap_X {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class commap_Y {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class fuel_int {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class fuel_extl {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class fuel_extr {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class fuel_extc {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class le_fire {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class re_fire {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class mstr_caut {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class rmfd_fl {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class lmfd_fl {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class map_fl {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class engd_fl {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class upfrnt_fl {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class eng_fail {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class ccip_length {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class ccip_rot {
source = "user";
animPeriod = 0.0001;
initPhase = 0;
};
class map_icon_waypoint_day {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class map_icon_waypoint_night {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class IndicatorCompass {
source = "user";
animPeriod = 0.1;
initPhase = 0;
};
class GLT_default_source {
source="user";
animPeriod=0.000001;
initPhase = 0;
};
class rwr_hit_imminent: GLT_default_source {
initPhase = 1;
};
class rwr_ne_close: rwr_hit_imminent {};
class rwr_ne_far: rwr_hit_imminent {};
class rwr_se_close: rwr_hit_imminent {};
class rwr_se_far: rwr_hit_imminent {};
class rwr_nw_close: rwr_hit_imminent {};
class rwr_nw_far: rwr_hit_imminent {};
class rwr_sw_close: rwr_hit_imminent {};
class rwr_sw_far: rwr_hit_imminent {};
class rwr_rotate_target1: GLT_default_source {};
class rwr_rotate_target2: GLT_default_source {};
class rwr_rotate_target3: GLT_default_source {};
class rwr_rotate_target4: GLT_default_source {};
class rwr_rotate_target5: GLT_default_source {};
class rwr_rotate_target6: GLT_default_source {};
class rwr_rotate_target7: GLT_default_source {};
class rwr_rotate_target8: GLT_default_source {};
class rwr_rotate_target9: GLT_default_source {};
class rwr_rotate_target10: GLT_default_source {};
class rwr_rotate_target11: GLT_default_source {};
class rwr_rotate_target12: GLT_default_source {};
class rwr_rotate_target13: GLT_default_source {};
class rwr_rotate_target14: GLT_default_source {};
class rwr_rotate_target15: GLT_default_source {};
class rwr_rotate_target16: GLT_default_source {};
class rwr_translate_target1: GLT_default_source {};
class rwr_translate_target2: GLT_default_source {};
class rwr_translate_target3: GLT_default_source {};
class rwr_translate_target4: GLT_default_source {};
class rwr_translate_target5: GLT_default_source {};
class rwr_translate_target6: GLT_default_source {};
class rwr_translate_target7: GLT_default_source {};
class rwr_translate_target8: GLT_default_source {};
class rwr_translate_target9: GLT_default_source {};
class rwr_translate_target10: GLT_default_source {};
class rwr_translate_target11: GLT_default_source {};
class rwr_translate_target12: GLT_default_source {};
class rwr_translate_target13: GLT_default_source {};
class rwr_translate_target14: GLT_default_source {};
class rwr_translate_target15: GLT_default_source {};
class rwr_translate_target16: GLT_default_source {};
};
class Reflectors {
class Left {
color[] = {0.8,0.8,1.0,1.0};
ambient[] = {0.07,0.07,0.07,1.0};
position = "L svetlo";
direction = "konec L svetla";
hitpoint = "L svetlo";
selection = "L svetlo";
size = 1;
brightness = 1.0;
};
};
class MarkerLights {
class RedWingTip_L {
name = "cerveny pozicni";
color[] = {1.0, 0.1, 0.1, 1};
ambient[] = {0.1, 0.01, 0.01, 1};
brightness = 0.005;
blinking = false;
};
class GreenWingTip_R {
name = "zeleny pozicni";
color[] = {0.1, 1.0, 0.1, 1};
ambient[] = {0.01, 0.1, 0.01, 1};
brightness = 0.005;
blinking = false;
};
class WhiteTailFin_R {
name = "bily pozicni";
color[] = {1, 1, 1, 1};
ambient[] = {0.1, 0.1, 0.1, 1};
brightness = 0.005;
blinking = false;
};
class WhiteBlinking {
name = "bily pozicni blik";
color[] = {1, 1, 1, 1};
ambient[] = {0.1, 0.1, 0.1, 1};
brightness = 0.005;
blinking = true;
};
class RedTailBlinking_L {
name = "cerveny pozicni blik";
color[] = {1.0, 0.1, 0.1, 1};
ambient[] = {0.1, 0.01, 0.01, 1};
brightness = 0.005;
blinking = true;
};
class RedTailBlinking_R {
name = "zeleny pozicni blik";
color[] = {1.0, 0.1, 0.1, 1};
ambient[] = {0.1, 0.01, 0.01, 1};
brightness = 0.005;
blinking = true;
};
};
class UserActions {
class LowerGear {
displayName = "GEAR DOWN (F/A-18F)";
position = "pilotcontrol";
onlyForPlayer = 1;
radius = 5;
shortcut = "landgear";
condition = "this animationPhase ""frontgear"" >= 0.9 and player in this and speed this < 350";
statement = "[this] exec ""\fz_f18\scripting\geardown.sqs""";
};
class RaiseGear {
displayName = "GEAR UP (F/A-18F)";
position = "pilotcontrol";
onlyForPlayer = 1;
radius = 5;
shortcut = "landgearup";
condition = "this animationPhase ""frontgear"" < 0.1 and player in this and speed this > 100";
statement = "[this] exec ""\fz_f18\scripting\gearup.sqs""";
};
class tailhookdown {
displayName = "TAILHOOK DOWN (F/A-18F)";
position = "pilotcontrol";
onlyForPlayer = 0;
radius = 5;
condition = "this animationPhase ""frontgear"" < 0.1 and this animationPhase ""tailhook"" < 0.1 and player in this and speed this > 100 or player in this and speed this > 100 and this animationphase ""gearfail"" > 0";
statement = "this animate [""tailhook"",1]";
};
class tailhookup {
displayName = "TAILHOOK UP (F/A-18F)";
position = "pilotcontrol";
onlyForPlayer = 0;
radius = 5;
condition = "this animationPhase ""tailhook"" > 0.1 and player in this";
statement = "this animate [""tailhook"",0]";
};
class afterburner {
displayName = "Afterburner On";
position = "pilotcontrol";
onlyForPlayer = 1;
radius = 5;
shortcut = "vehicleTurbo";
condition = "this animationPhase ""ab_switch"" == 0 and player in this and this animationPhase ""eng_fail"" < 1";
statement = "[this] exec ""\fz_f18\aws\burner_xws.sqs""";
};
class afterburneroff {
displayName = "Afterburner Off";
position = "pilotcontrol";
onlyForPlayer = 1;
radius = 5;
shortcut = "vehicleTurbo";
condition = "this animationPhase ""ab_switch"" == 1 and player in this";
statement = "this animate [""ab_switch"",0]";
};
class opencanopy {
displayName = "Open Canopy";
position = "pilotcontrol";
onlyForPlayer = 0;
radius = 15;
condition = "this animationPhase ""canopy"" < 0.1 and (getpos this select 2) < 1 and speed this < 1";
statement = "[this] exec ""\fz_f18\aws\open_canopy.sqs""";
};
class closecanopy {
displayName = "Close Canopy";
position = "pilotcontrol";
onlyForPlayer = 0;
radius = 15;
condition = "this animationPhase ""canopy"" > 0.9";
statement = "[this] exec ""\fz_f18\aws\close_canopy.sqs""";
};
class foldwings {
displayName = "Fold Wings";
position = "pilotcontrol";
onlyForPlayer = 0;
radius = 15;
condition = "this animationPhase ""l_wingfold"" < 0.1 and (getpos this select 2) < 1 and speed this < 1";
statement = "[this] exec ""\fz_f18\aws\foldwing.sqs""";
};
class unfoldwings {
displayName = "Unfold wings";
position = "pilotcontrol";
onlyForPlayer = 0;
radius = 15;
condition = "this animationPhase ""l_wingfold"" > 0.9";
statement = "[this] exec ""\fz_f18\aws\unfoldwing.sqs""";
};
class ejection {
displayName = "WARNING! EJECTION SEAT";
position = "pilotcontrol";
onlyForPlayer = 1;
radius = 5;
shortcut = "eject";
condition = "player in this and this animationphase ""eject_switch"" == 0";
statement = "[this] exec ""\fz_f18\aws\ejectseat_awsf.sqs""";
};
//class targeting {
//displayName = "GPS/INS System";
//shortcut = "";
//position = "";
//onlyForPlayer = 1;
//radius = 15;
//condition = "player == (driver this)";
//statement = "[this] exec ""\fz_f18\scripts\gps_ins_system.sqf""";
//};
//class extendrefueling {
//displayName = "Extend Refueling Probe";
//position = "pilotcontrol";
//onlyForPlayer = 0;
//radius = 5;
//condition = "player in this and this animationPhase ""fuel_probe"" < 0.5 and fz_airrefuel == 1 and speed this > 100";
//statement = "this animate [""fuel_probe"",1]";
//};
//class retractrefueling {
//displayName = "Retract Refueling Probe";
//position = "pilotcontrol";
//onlyForPlayer = 0;
//radius = 5;
//condition = "player in this and this animationPhase ""fuel_probe"" > 0.5";
//statement = "this animate [""fuel_probe"",0]";
//};
//class extenddrogue {
//displayName = "Extend Refueling Drogue";
//position = "pilotcontrol";
//onlyForPlayer = 0;
//radius = 5;
//condition = "player in this and this animationPhase ""fuel_drogue"" < 0.5 and fz_airrefuel == 1 and ""fz_f18_hp6_d704_1"" in magazines this and speed this > 100";
//statement = "this animate [""fuel_drogue"",1]";
//};
//class retractdrogue {
//displayName = "Retract Refueling Drogue";
//position = "pilotcontrol";
//onlyForPlayer = 0;
//radius = 5;
//condition = "player in this and this animationPhase ""fuel_drogue"" > 0.5";
//statement = "this animate [""fuel_drogue"",0]";
//};
//class refuelaction {
//displayName = "Refuel at Buddy Pod";
//position = "pilotcontrol";
//onlyForPlayer = 0;
//radius = 80;
//condition = "this animationPhase ""fuel_drogue"" > 0.5";
//statement = "[this] exec ""\fz_f18\scripting\fuel_drogue.sqs""";
//};
//class RWR_pwr_on {
//displayName = "RWR Power On";
//position = "pilotcontrol";
//onlyForPlayer = 1;
//radius = 5;
//shortcut = "";
//condition = "player == (driver this)";
//statement = "[this] exec ""\fz_f18\ins\rwr_pwr_ON.sqf""";
//};
class defaultAction {
displayName ="";
priority = 0;
shortcut = "";
condition = "false";
statement = "";
displayNameDefault = "";
position = "pilotcontrol";
radius =15;
onlyforplayer = 1;
};
class advancedOptions: defaultAction {
displayName ="Go advanced";
priority = 0;
hideOnUse = 0;
condition = "!(this getVariable 'GLT_ADVANCED')";
statement = "this setVariable ['GLT_ADVANCED', true]";
};
class closeAdvancedOptions: defaultAction {
displayName ="Close advanced";
priority = 0;
condition = "this getVariable 'GLT_ADVANCED'";
statement = "this setVariable ['GLT_ADVANCED', false]";
};
class avionics {
displayName = "AVIONICS";
priority = 1;
hideOnUse = 0;
position = "pilotcontrol";
onlyForPlayer = 1;
radius = 5;
shortcut = "";
condition = "this getVariable 'GLT_ADVANCED'";
statement = "this setVariable ['AVIONICS', true]; this setVariable ['GLT_ADVANCED', false]";
};
class nav_system {
displayName = "NAV System";
position = "pilotcontrol";
onlyForPlayer = 1;
radius = 5;
shortcut = "";
condition = "this getVariable 'AVIONICS'";
statement = "[this] exec ""\fz_f18\scripts\mar_nav_system.sqf""; this setVariable ['AVIONICS', false]";
};
class rwrModePrio: defaultAction {
displayName ="RWR to PRIORITY";
priority = 1;
shortcut = "";
condition = "(this getVariable 'GLT_ADVANCED') && ((this getVariable 'RWR_MODE') == 16)";
statement = "this setVariable ['RWR_RANGE', 3000];this setVariable ['RWR_MODE', 5]; this setVariable ['GLT_ADVANCED', false]";
};
class rwrModeNorm: defaultAction {
displayName ="RWR to NORMAL";
priority = 0.95;
condition = "(this getVariable 'GLT_ADVANCED') && ((this getVariable 'RWR_MODE') == 5)";
statement = "this setVariable ['RWR_RANGE', 6000];this setVariable ['RWR_MODE', 16]; this setVariable ['GLT_ADVANCED', false]";
};
class rwrTargetAll: defaultAction {
displayName ="RWR Targetmode ALL";
priority = 0.9;
condition = "(this getVariable 'GLT_ADVANCED')";
statement = "this setVariable ['RWR_TARGETMODE', ['Air', 'Car', 'Tank', 'Ship']]; this setVariable ['GLT_ADVANCED', false]";
};
class rwrTargetAir: defaultAction {
displayName ="RWR Targetmode A-A";
priority = 0.89;
condition = "(this getVariable 'GLT_ADVANCED')";
statement = "this setVariable ['RWR_TARGETMODE', ['Air']]; this setVariable ['GLT_ADVANCED', false]";
};
class rwrTargetGround: defaultAction {
displayName ="RWR Targetmode A-G";
priority = 0.88;
condition = "(this getVariable 'GLT_ADVANCED')";
statement = "this setVariable ['RWR_TARGETMODE', ['Car', 'Tank']]; this setVariable ['GLT_ADVANCED', false]";
};
class rwrTargetShip: defaultAction {
displayName ="RWR Targetmode NAVAL";
priority = 0.87;
condition = "(this getVariable 'GLT_ADVANCED')";
statement = "this setVariable ['RWR_TARGETMODE', ['Ship']]; this setVariable ['GLT_ADVANCED', false]";
};
class rwrTgtSepOn: defaultAction {
displayName ="RWR TGT SEP ON";
priority = 0.86;
condition = "(this getVariable 'GLT_ADVANCED') and !(this getVariable 'RWR_TGTSEP')";
statement = "this setVariable ['RWR_TGTSEP', true]; this setVariable ['GLT_ADVANCED', false]";
};
class rwrTgtSepOff: defaultAction {
displayName ="RWR TGT SEP OFF";
priority = 0.86;
condition = "(this getVariable 'GLT_ADVANCED') and (this getVariable 'RWR_TGTSEP')";
statement = "this setVariable ['RWR_TGTSEP', false]; this setVariable ['GLT_ADVANCED', false]";
};
};
class eventhandlers {
init = "[_this select 0] exec ""\fz_f18\init_fa18f_aw.sqs""; [_this select 0] execVM ""\fz_f18\GLT_RWR_init.sqf""";
engine = "[_this select 0] exec ""\fz_f18\aws\engon.sqs""; [_this select 0, (isEngineOn (_this select 0))] execVM ""\fz_f18\ins\mfd\mfd_init.sqf""";
fired = "_this call BIS_Effects_EH_Fired;";
killed = "_this call BIS_Effects_EH_Killed;";
hit = "[_this select 0] exec ""\fz_f18\aws\sysfail_aws.sqs""";
IncomingMissile = "if ((_this select 0)==(_this select 0)) then {[_this] execVM ""\fz_f18\GLT_RWR_incoming.sqf""}";
//////////////////////////////////////////////////////////
//getin = "[_this select 0, _this select 1, _this select 2] exec ""\fz_f18\aws\getin.sqs""";
//killed = "[_this select 0] exec ""\fz_f18\aws\aws_wreck.sqs""";
//////////////////////////////////////////////////////////
};
};
class fz_f18f_aws02 : fz_f18f_aws {
displayName = "F/A-18F Super Hornet 02(USMC)";
vehicleclass = "MAR_FA18F";
model = "\fz_f18\fz_f18f_aws02";
};
class fz_f18f_aws03 : fz_f18f_aws {
displayName = "F/A-18F Super Hornet 03(USMC)";
vehicleclass = "MAR_FA18F";
model = "\fz_f18\fz_f18f_aws03";
};
class fz_f18f_aws04 : fz_f18f_aws {
displayName = "F/A-18F Super Hornet 04(USMC)";
vehicleclass = "MAR_FA18F";
model = "\fz_f18\fz_f18f_aws04";
};
class fz_f18f_aws05 : fz_f18f_aws {
displayName = "F/A-18F Super Hornet 05(USMC)";
vehicleclass = "MAR_FA18F";
model = "\fz_f18\fz_f18f_aws05";
};
class All;
class AllVehicles;
class Land : AllVehicles {};
class LandVehicle : Land {};
class Car : LandVehicle {};
class fz_f18_ejectseat : Car {
scope = public;
model = "\fz_f18\fz_f18_ejectseat";
displayName = "F/A-18 Ejection Seat";
// threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types
threat[] = {0, 0, 0};
irTarget = false;
cost = 25;
driverAction = "AV8B_Pilot";
vehicleclass = "mas_aircraft";
hasgunner = false;
hascommander = false;
transportsoldier = 0;
weapons[] = {};
magazines[] = {};
maxSpeed = 280; // max speed on level road, km/h
soundEngine[] = {"", 1, 1};
destrType = "DestructNo";
};
class fz_f18e_canopy : Car {
scope = public;
model = "\fz_f18\fz_f18e_canopy";
displayName = "F/A-18E canopy";
// threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types
threat[] = {0, 0, 0};
irTarget = false;
cost = 25;
driverAction = "AV8B_Pilot";
vehicleclass = "mas_aircraft";
hasDriver = false;
weapons[] = {};
magazines[] = {};
maxSpeed = 280; // max speed on level road, km/h
soundEngine[] = {"", 1, 1};
destrType = "DestructNo";
};
class fz_f18f_canopy : Car {
scope = public;
model = "\fz_f18\fz_f18f_canopy";
displayName = "F/A-18F canopy";
// threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types
threat[] = {0, 0, 0};
irTarget = false;
cost = 25;
driverAction = "AV8B_Pilot";
vehicleclass = "mas_aircraft";
hasDriver = false;
weapons[] = {};
magazines[] = {};
maxSpeed = 280; // max speed on level road, km/h
soundEngine[] = {"", 1, 1};
destrType = "DestructNo";
};
class Ship : AllVehicles {};
class Boat : Ship {};
class Zodiac : Boat {};
class fz_f18_liferaft : Zodiac {
scope = public;
transportSoldier = 1;
maxSpeed = 8; // max speed on level road, km/h
driverAction = "AV8B_Pilot";
model = "\fz_f18\fz_f18_liferaft";
weapons[] = {};
magazines[] = {};
soundEngine[] = {"", 1, 1};
hasgunner = false;
faction = MAS;
vehicleclass = "mas_aircraft";
cargoAction[] = {"AV8B_Pilot"};
getInRadius = 5;
displayName = "Liferaft";
// threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types
threat[] = {0, 0, 0};
irTarget = false;
soundEnviron[] = {"", 0, 1};
class TransportMagazines {};
};
class Man : Land {};
class CAManBase : Man {};
class SoldierWB : CAManBase {};
class Static : All {};
class Building : Static {};
class NonStrategic : Building {};
class HeliH : NonStrategic {};
class fz_f18_fakeplate : HeliH {
model = "\fz_f18\fz_f18_fakeplate";
vehicleclass = "MAS_Objects";
armor = 90000;
faction = MAS;
scope = protected;
displayName = "Fake Plate";
};
class fz_harmtarget : Static {
scope = protected;
irtarget = true;
faction = MAS;
displayname = "HARM Radiation Target";
model = "\fz_f18\fz_jammer_rah";
ladders[] = {};
armor = 1000000000;
side = TEast;
};
class fz_gpstarget : Static {
scope = protected;
irtarget = true;
faction = MAS;
displayname = "GPS Target";
model = "\fz_f18\fz_jammer_rah";
ladders[] = {};
armor = 1000000000;
side = TEast;
};
class fz_aswtarget : Static {
scope = protected;
irtarget = true;
faction = MAS;
displayname = "ASW Target";
model = "\fz_f18\fz_jammer_rah";
ladders[] = {};
armor = 1000000000;
side = TEast;
};
class fz_f18_wreck : Static {
scope = public;
irtarget = false;
faction = MAS;
vehicleclass = "mas_aircraft";
displayname = "F/A-18 Wreck";
namesound = "plane";
model = "\fz_f18\fz_f18_wreck";
ladders[] = {};
armor = 1000000000;
side = TCivilian;
};
};
class RscMapControl;
class mar_nav_system
{
idd = 3330;
movingEnable = 1;
enableSimulation = 1;
onload = "";
onUnload = "";
class controlsBackground
{
class mar_navmap : RscMapControl
{
idc = 3330;
maxSatelliteAlpha = 0;
x = "(1/1024)*881"; //0.861
y = "(1/768)*483"; //0.63
w = "(1/1024)*868";
h = "(1/768)*599";
};
};
objects[] = {};
class controls
{
class mar_navmap_Border
{
idc = 3331;
moving = 0;
type = 0;
style = 48;
text = "\fz_f18\ins\mar_mfd_border.paa";
font = "Zeppelin32";
sizeEx = 0.023;
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
x = "(1/1024)*881"; //0.861
y = "(1/768)*483"; //0.63
w = "(1/1024)*868";
h = "(1/768)*599";
};
class mar_navmap_Buttons
{
idc = -1;
type = 1;
style = "0x02";
x = "(1/1024)*5";
y = "(1/768)*572";
w = "(1/1024)*43";
h = "(1/768)*40";
font = "Zeppelin32";
sizeEx = 0.025;
colorDisabled[] = {0.4,0.4,0.4,0};
colorBackgroundDisabled[] = {0.95,0.95,0.95,0.5};
ColorText[] = {0.1,1,0.1,0.8};
ColorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0.1,0.1,0.1,0.5};
offsetX = 0.003;
offsetY = 0.003;
offsetPressedX = 0.002;
offsetPressedY = 0.002;
colorFocused[] = {0.02,0.02,0.02,0};
colorShadow[] = {0.02,0.02,0.02,0};
colorBorder[] = {0.02,0.02,0.02,0};
borderSize = 0;
soundEnter[] = {"\ca\ui\data\sound\mouse2",0.09,1};
soundPush[] = {"\ca\ui\data\sound\new1",0.09,1};
soundClick[] = {"\ca\ui\data\sound\mouse3",0.07,1};
soundEscape[] = {"\ca\ui\data\sound\mouse1",0.09,1};
Text = "";
action = "";
};
class mar_navmap_exitButton: mar_navmap_Buttons
{
idc = 3332;
x = "(1/1024)*903"; //.88
y = "(1/768)*545"; //.709
Text = "";
action = "(findDisplay 3330) closeDisplay 0";
};
class mar_navmap_wpsButton: mar_navmap_Buttons
{
idc = 3333;
x = "(1/1024)*910";
y = "(1/768)*615";
Text = "";
action = "execVM ""fz_f18\scripts\wps.sqf""";
};
class mar_navmap_mfdText
{
idc = 3350;
type = 0;
style = "0x00";
text = "WPS";
font = "Zeppelin32";
sizeEx = 0.03;
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
x = "(1/1024)*907";
y = "(1/768)*615";
w = "(1/1024)*60";
h = "(1/768)*40";
};
};
};