sreVbossoutro.sqs?MJbriefing.html?MJsbriefing.sqf?MJD description.ext?MJ*init.sqf?MJintro.sqs?MJ mission.sqm'MJraungraph.sqs?MJBscripts\areyoucommander.sqf?MJ}scripts\areyoupilot.sqf?MJuscripts\chopperload.sqf?MJu scripts\commandercheck.sqf?MJ|scripts\pilotcheck.sqf?MJgscripts\vehspawn.sqf?MJspect\common.hpp?MJspect\f_waitForJIP.sqf?MJYspect\specta.sqf?MJspect\spectating.hpp?MJ%spect\specta_events.sqf?MJu8spect\specta_init.sqf?MJ;init titleCut ["", "BLACK FADED", 0]; ~0.01 _camera = "camera" camCreate [18524.22,109684.41,82.43] _camera camPrepareTarget [18524.22,109684.41,82.43] _camera camPreparePos [5236.61,10571.15,1.56] _camera camPrepareFOV 0.700 _camera cameraEffect ["internal","back"] showCinemaBorder true titleCut ["", "BLACK IN", 6]; _camera camCommitPrepared 0 @camCommitted _camera _camera camCommand "inertia on" ;=== 20:24:41 _camera camPrepareTarget [30627.63,100131.46,36577.57] _camera camPreparePos [5234.60,10571.25,1.44] _camera camPrepareFOV 0.700 _camera camCommitPrepared 10 @camCommitted _camera ;=== 20:32:21 _camera camPrepareTarget [21231.60,107620.00,17526.41] _camera camPreparePos [5219.62,10480.15,3.30] _camera camPrepareFOV 0.700 _camera camCommitPrepared 20 @camCommitted _camera ~0 ;exit player cameraEffect ["terminate","back"] camDestroy _camera exit Title

Mission accomplished


Awesome work!


player createDiaryRecord["Diary", ["Briefing", "These missions aren't very easy, but we are sure, that you are the right person to do this! There are ten main objects and no side missions! Shoot everything that moves, because we do not have friends or allies! You can use radio commands to move your basement."]]; objekti_1 = player createSimpleTask["Capture the enemy ammunition base"]; objekti_2 = player createSimpleTask["Destroy the enemy AA Defence"]; objekti_3 = player createSimpleTask["Kill the insurgent boss"]; objekti_4 = player createSimpleTask["Destroy enemy AA radar from the hill"]; objekti_5 = player createSimpleTask["Clear insurgent base"]; objekti_6 = player createSimpleTask["Clear Grishino from the enemy vehicles"]; objekti_7 = player createSimpleTask["Destroy AA radar from Polana"]; objekti_8 = player createSimpleTask["Destroy three BM-21 Grads"]; objekti_9 = player createSimpleTask["Destroy the enemy D-30 Defence"]; objekti_10 = player createSimpleTask["Cut down enemy radio communications"]; objekti_1 setSimpleTaskDescription["You should capture the russian ammunition base. Maybe there would be something useful.","Capture the ammunition base", "Capture the ammunition base"]; objekti_2 setSimpleTaskDescription["The enemy AA Defence line MUST BE destroyed!", "Destroy the AA Defence line", "Destroy the defence line"]; objekti_3 setSimpleTaskDescription["The enemy insurgent boss must be killed. Try to be fast, but quiet so that he can't escape!","Kill the boss!", "Kill the boss!"]; objekti_4 setSimpleTaskDescription["There are a AA radar, which must be destroyed!","Destroy the AA radar", "Destroy the AA radar"]; objekti_5 setSimpleTaskDescription["Investigate and clear the insurgent camp.","Clear the camp", "Clear the camp"]; objekti_6 setSimpleTaskDescription["Clear Grishno from the enemy vehicles! They can be tanks or cars, just destroy them!", "Clear Grishino", "Clear Grishino"]; objekti_7 setSimpleTaskDescription["Destroy the AA radar from the village of Polana.", "Destroy the AA radar", "Destroy the AA radar"]; objekti_8 setSimpleTaskDescription["Destroy three BM-21 Grads, from the marked area.", "Destroy three BM-21 Grads", "Destroy three BM-21 Grads"]; objekti_9 setSimpleTaskDescription["Destroy the enemy D-30 Defence line", "Destroy the D-30 Defence", "Destroy the D-30 Defence"]; objekti_10 setSimpleTaskDescription["Destroy three radio towers to cut down enemy radio communications.", "Destroy enemy radio communications", "Destroy enemy radio communications"]; objekti_1 setSimpleTaskDestination (getMarkerPos "tar1"); objekti_2 setSimpleTaskDestination (getMarkerPos "tar2"); objekti_3 setSimpleTaskDestination (getMarkerPos "tar3"); objekti_4 setSimpleTaskDestination (getMarkerPos "tar4"); objekti_5 setSimpleTaskDestination (getMarkerPos "tar5"); objekti_6 setSimpleTaskDestination (getMarkerPos "tar6"); objekti_7 setSimpleTaskDestination (getMarkerPos "tar7"); objekti_8 setSimpleTaskDestination (getMarkerPos "tar8"); objekti_9 setSimpleTaskDestination (getMarkerPos "tar9"); objekti_10 setSimpleTaskDestination (getMarkerPos "tar10a");onLoadMission="Third Advance, Inspired by Air Cavalry."; onLoadIntroTime = false; onLoadMissionTime = false; class Header { gameType = Coop; //DM, Team, Coop, ... minPlayers = 1; //min # of players the mission supports maxPlayers = 21; //Max # of players the mission supports }; respawn = BASE; respawndelay = 10; disabledAI = 1; titleParam1 = "Daytime"; valuesParam1[] = {1, 2, 3, 4}; defValueParam1 = 2; textsParam1[] = {"Morning", "Day", "Evening", "Night"}; #include "spect\spectating.hpp"setViewDistance 2000; enableEnvironment false; execVM "briefing.sqf"; execVM "Raungraph.sqs"; X_INIT = false; X_Server = false; X_Client = false; X_JIP = false;X_SPE = false; X_MP = isMultiplayer; if (isServer) then { X_Server = true; if (!(isNull player)) then {X_Client = true;X_SPE = true;}; X_INIT = true; } else { X_Client = true; if (isNull player) then { X_JIP = true; [] spawn {waitUntil {!(isNull player)};X_INIT = true}; } else { X_INIT = true; }; }; if (!isNil "param1") then { switch (param1) do { case 1: {skipTime 5}; case 2: {skipTime 12}; case 3: {skipTime 19}; }; } else { skipTime 12; }; ;init titleCut ["", "BLACK FADED", 0]; ~0.01 "colorCorrections" ppEffectAdjust [1, 1, -0.008, [0.0, 0.8, 0.9, 0.002], [1.0, 0.9, 0.8, 0.6], [1, 1, 0, 0.0]]; "colorCorrections" ppEffectCommit 0; "colorCorrections" ppEffectEnable TRUE; ;light film grain "filmGrain" ppEffectEnable true; "filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false]; "filmGrain" ppEffectCommit 0; "radialBlur" ppEffectEnable false; "wetDistortion" ppEffectEnable false; "chromAberration" ppEffectEnable false; "dynamicBlur" ppEffectEnable false; _camera = "camera" camCreate [105819.60,777.25,-9238.34] _camera camPrepareTarget [105819.60,777.25,-9238.34] _camera camPreparePos [6857.96,11441.50,7.64] _camera camPrepareFOV 0.700 _camera cameraEffect ["internal","back"] showCinemaBorder true titleCut ["", "BLACK IN", 6]; _camera camCommitPrepared 0 _camera camCommand "inertia on" ;=== 17:51:59 _camera camPrepareTarget [-35236.13,99860.89,-20016.47] _camera camPreparePos [6902.45,11419.12,3.77] _camera camPrepareFOV 0.700 _camera camCommitPrepared 20 @camCommitted _camera ;=== 17:53:07 _camera camPrepareTarget [-87366.21,36350.73,12236.18] _camera camPreparePos [8130.93,9293.92,3.10] _camera camPrepareFOV 0.700 _camera camCommitPrepared 20 @camCommitted _camera ;=== 17:53:46 _camera camPrepareTarget [62603.78,91176.65,-17477.84] _camera camPreparePos [8086.01,9267.96,9.30] _camera camPrepareFOV 0.700 _camera camCommitPrepared 20 @camCommitted _camera ;=== 2:34:33 _camera camPrepareTarget [-7762.43,-87728.67,-7769.50] _camera camPreparePos [7035.59,10835.20,43.88] _camera camPrepareFOV 0.700 _camera camCommitPrepared 10 @camCommitted _camera ;=== 2:40:10 _camera camPrepareTarget [66506.55,90550.34,-7600.88] _camera camPreparePos [7012.09,10561.41,1.55] _camera camPrepareFOV 0.700 _camera camCommitPrepared 10 @camCommitted _camera ~2 "colorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 1, 1, 0], [1.0, 1.0, 1.0, 1.0], [1, 1, 0, 0.0]]; "colorCorrections" ppEffectCommit 0; "colorCorrections" ppEffectEnable TRUE; ;light film grain "filmGrain" ppEffectEnable true; "filmGrain" ppEffectAdjust [0.01, 0.5, 0.5, 0.1, 0.5, false]; "filmGrain" ppEffectCommit 0; "radialBlur" ppEffectEnable false; "wetDistortion" ppEffectEnable false; "chromAberration" ppEffectEnable false; "dynamicBlur" ppEffectEnable false; 0 fadeSound 1.00 ;exit player cameraEffect ["terminate","back"] camDestroy _camera exitversion=11; class Mission { addOns[]= { "cacharacters2", "camisc3", "caweapons_ammoboxes", "chernarus", "CAWheeled", "shed_wooden", "ca_modules_functions", "cadata", "CAWheeled_Offroad", "CAWheeled2_MMT", "CAWheeled2_BTR90", "ca_animals2_cow", "CATracked2_2S6M_Tunguska", "CAAir2_UH1Y", "CATracked", "CATracked2_T90", "CATracked2_BMP3", "ca_missions_ambientcombat", "ca_highcommand", "CAAir", "caweapons", "CAAir3_Su34", "CABuildings" }; addOnsAuto[]= { "cacharacters2", "ca_modules_functions", "CAWheeled", "cadata", "CAWheeled2_BTR90", "CATracked2_2S6M_Tunguska", "CATracked2_T90", "CATracked2_BMP3", "ca_missions_ambientcombat", "ca_highcommand", "CATracked", "caweapons", "shed_wooden", "camisc3", "CAWheeled_Offroad", "CAWheeled2_MMT", "caweapons_ammoboxes", "ca_animals2_cow", "CAAir2_UH1Y", "CAAir", "CAAir3_Su34", "CABuildings", "chernarus" }; randomSeed=1587328; class Intel { briefingName="co 21 third advance"; briefingDescription="Attack of guerillas! - by Raunhofer"; resistanceWest=0; startWeather=0; forecastWeather=0; year=2008; month=6; day=11; hour=0; minute=0; }; class Groups { items=114; class Item0 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={6900.3936,394.52271,11448.79}; azimut=224.412; id=7; side="GUER"; vehicle="GUE_Soldier_CO"; player="PLAYER COMMANDER"; leader=1; rank="COLONEL"; skill=0.60000002; init="this addweapon ""Binocular"""; description="Commander"; synchronizations[]={196}; }; }; }; class Item1 { side="GUER"; class Vehicles { items=10; class Item0 { position[]={6895.7646,394.5228,11437.653}; azimut=-46.889; special="NONE"; id=8; side="GUER"; vehicle="GUE_Soldier_3"; player="PLAY CDG"; leader=1; rank="SERGEANT"; skill=0.60000002; init="this addweapon ""Binocular"""; description="Team Castle LEADER"; synchronizations[]={194,197}; }; class Item1 { position[]={6890.8667,394.28372,11451.468}; azimut=163.08902; special="NONE"; id=3; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item2 { position[]={6894.6816,394.33441,11455.536}; azimut=184.37407; special="NONE"; id=4; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item3 { position[]={6886.5718,394.11877,11435.31}; azimut=-314.66656; special="NONE"; id=5; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item4 { position[]={6887.2769,394.15811,11446.567}; azimut=120.87468; special="NONE"; id=6; side="GUER"; vehicle="GUE_Soldier_AT"; player="PLAY CDG"; skill=0.60000002; }; class Item5 { position[]={6886.5098,394.12656,11440.555}; azimut=110.301; special="NONE"; id=183; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item6 { position[]={6898.5645,394.41605,11454.007}; azimut=190; special="NONE"; id=184; side="GUER"; vehicle="GUE_Soldier_2"; player="PLAY CDG"; skill=0.60000002; }; class Item7 { position[]={6891.0894,394.32758,11431.975}; azimut=15; special="NONE"; id=193; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item8 { position[]={6886.2344,394.11014,11438.16}; azimut=-314.66699; special="NONE"; id=267; side="GUER"; vehicle="GUE_Soldier_AA"; player="PLAY CDG"; skill=0.60000002; }; class Item9 { position[]={6886.9473,394.14963,11443.525}; azimut=-314.66699; special="NONE"; id=268; side="GUER"; vehicle="GUE_Soldier_2"; player="PLAY CDG"; skill=0.60000002; }; }; }; class Item2 { side="LOGIC"; class Vehicles { items=1; class Item0 { position[]={6874.79,393.49075,11430.86}; azimut=-46.889; special="NONE"; id=10; side="LOGIC"; vehicle="LocationLogic"; leader=1; skill=0.60000002; init="this exec ""intro.sqs"""; }; }; }; class Item3 { side="CIV"; class Vehicles { items=1; class Item0 { position[]={8044.5342,469.0257,9343.25}; azimut=335; special="NONE"; id=11; side="CIV"; vehicle="Tractor"; leader=1; rank="SERGEANT"; skill=0.60000002; description="Team Castletwo"; }; }; class Waypoints { items=2; class Item0 { position[]={2289.7,515.81323,15301.441}; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={8044.5342,469.0257,9343.25}; id=11; speed="LIMITED"; class Effects { }; showWP="NEVER"; }; }; }; class Item4 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={8102.1187,469.88931,9308.5}; azimut=-46.889; special="NONE"; id=16; side="GUER"; vehicle="GUE_Soldier_3"; leader=1; rank="SERGEANT"; skill=0.60000002; description="Team Castle"; }; }; }; class Item5 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={8117.8271,469.66888,9300.3164}; azimut=50.973301; special="NONE"; id=13; side="GUER"; vehicle="GUE_Soldier_Sab"; leader=1; skill=0.60000002; }; }; }; class Item6 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={8118.9087,469.62686,9296.4473}; azimut=88.217903; special="NONE"; id=12; side="GUER"; vehicle="GUE_Soldier_Sab"; leader=1; skill=0.60000002; }; }; }; class Item7 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={8103.3501,470,9305.7783}; azimut=120.87468; special="NONE"; id=15; side="GUER"; vehicle="GUE_Soldier_AT"; leader=1; skill=0.60000002; }; }; }; class Item8 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={8108.2827,470,9291.3447}; azimut=-314.66656; special="NONE"; id=14; side="GUER"; vehicle="GUE_Soldier_Sab"; leader=1; skill=0.60000002; }; }; }; class Item9 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={6939.2939,390.31625,11351.127}; azimut=130.53621; special="NONE"; id=23; side="GUER"; vehicle="GUE_Soldier_Sab"; leader=1; skill=0.60000002; }; }; }; class Item10 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={6881.6558,393.82983,11427.775}; azimut=-189.71036; special="NONE"; id=26; side="GUER"; vehicle="GUE_Soldier_3"; leader=1; rank="SERGEANT"; skill=0.60000002; description="Team Castle"; }; }; }; class Item11 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={6940.4102,390.1265,11350.522}; azimut=-458.50604; special="NONE"; id=24; side="GUER"; vehicle="GUE_Soldier_Sab"; leader=1; skill=0.60000002; }; }; }; class Item12 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={6882.0693,393.83676,11426.272}; azimut=-16.108997; special="NONE"; id=25; side="GUER"; vehicle="GUE_Soldier_AT"; leader=1; skill=0.60000002; }; }; }; class Item13 { side="GUER"; class Vehicles { items=1; class Item0 { position[]={6868.6104,393.6001,11442.477}; azimut=223.95399; special="NONE"; id=22; side="GUER"; vehicle="GUE_Soldier_Sab"; leader=1; skill=0.60000002; }; }; }; class Item14 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={8003.042,220.69328,11312.464}; azimut=10; special="NONE"; id=38; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item15 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={8002.4116,220.85887,11314.766}; azimut=93.384697; special="NONE"; id=39; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item16 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={8006.0508,219.55276,11298.182}; azimut=10; special="NONE"; id=40; side="EAST"; vehicle="RU_Soldier_Medic"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item17 { side="EAST"; class Vehicles { items=2; class Item0 { position[]={8000.0352,220.29659,11298.579}; azimut=-74.94561; special="NONE"; id=42; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; class Item1 { position[]={8000.54,220.17848,11297.705}; azimut=276.62613; special="NONE"; id=41; side="EAST"; vehicle="RU_Soldier"; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; class Waypoints { items=6; class Item0 { position[]={7969.4595,220.95,11298.688}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={7941.6118,221.0257,11304.434}; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={7940.9492,221.35878,11319.609}; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={8006.5889,220.61966,11319.904}; class Effects { }; showWP="NEVER"; }; class Item4 { position[]={8003.7637,220.07068,11299.116}; class Effects { }; showWP="NEVER"; }; class Item5 { position[]={8000.0352,220.29659,11298.579}; id=42; type="CYCLE"; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item18 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={8759.0322,213.99001,11652.777}; azimut=350; special="NONE"; id=44; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; }; }; class Waypoints { items=4; class Item0 { position[]={7352.0122,305.35226,11209.673}; speed="NORMAL"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={7221.6235,380.05688,9937.1338}; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={8532.7148,398.45346,9852.8447}; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={8759.0322,213.99001,11652.777}; id=44; type="CYCLE"; speed="NORMAL"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item19 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7842.3662,262.47781,11565.032}; azimut=154.71031; special="NONE"; id=47; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item20 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7826.2725,263.59326,11562.655}; azimut=-186.418; special="NONE"; id=46; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item21 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6991.2026,342.45154,10597.144}; azimut=355; special="NONE"; id=55; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest1"; }; }; }; class Item22 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7003.1514,342.36572,10602.398}; azimut=45.894859; special="NONE"; id=56; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item23 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6146.6431,253.45163,10752.728}; azimut=-5.54074; special="NONE"; id=58; side="EAST"; vehicle="2S6M_Tunguska"; leader=1; skill=0.60000002; text="tung2"; }; }; }; class Item24 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6107.105,247.21274,10962.965}; azimut=-45.254398; special="NONE"; id=59; side="EAST"; vehicle="2S6M_Tunguska"; leader=1; skill=0.60000002; text="tung1"; }; }; }; class Item25 { side="EAST"; class Vehicles { items=12; class Item0 { position[]={6119.1411,258.64417,10608.092}; id=60; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={6122.1411,258.67688,10603.092}; id=61; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={6124.1411,258.65628,10603.092}; id=62; side="EAST"; vehicle="RU_Soldier_AT"; rank="SERGEANT"; skill=0.46666664; }; class Item3 { position[]={6126.1411,258.63568,10603.092}; id=63; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={6128.1411,258.62183,10603.092}; id=64; side="EAST"; vehicle="RU_Soldier_GL"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={6130.1411,258.61536,10603.092}; id=65; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item6 { position[]={6134.1411,258.57846,10603.092}; id=67; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item7 { position[]={6136.1411,258.40469,10603.092}; id=68; side="EAST"; vehicle="RU_Soldier_AR"; skill=0.2; }; class Item8 { position[]={6138.1411,258.14355,10603.092}; id=69; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item9 { position[]={6140.1411,257.90091,10603.092}; id=70; side="EAST"; vehicle="RU_Soldier_GL"; skill=0.2; }; class Item10 { position[]={6142.1411,257.65823,10603.092}; id=71; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; class Item11 { position[]={6132.1411,258.59689,10603.092}; id=66; side="EAST"; vehicle="RU_Soldier_MG"; rank="CORPORAL"; skill=0.33333331; }; }; class Waypoints { items=2; class Item0 { position[]={5949.1274,238.94324,11299.27}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={6119.1411,258.64417,10608.092}; id=60; type="CYCLE"; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item26 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5990.958,264.64783,10833.288}; azimut=478.69937; special="NONE"; id=73; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest2"; }; }; }; class Item27 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5974.6357,261.54221,10978.42}; azimut=446.90201; special="NONE"; id=75; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest3"; }; }; }; class Item28 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6230.0225,265.94901,10806.648}; azimut=436.09164; special="NONE"; id=77; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest5"; }; }; }; class Item29 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6200.5942,256.81964,10963.651}; azimut=446.90201; special="NONE"; id=79; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest4"; }; }; }; class Item30 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={5887.5459,269.2634,10278.747}; id=80; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={5890.5459,269.19278,10273.747}; id=81; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={5894.5459,269.05411,10273.747}; id=82; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={5898.5459,268.93909,10273.747}; id=83; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={5902.5459,268.82944,10273.747}; id=84; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={5906.5459,268.89777,10273.747}; id=85; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={5910.5459,268.93533,10273.747}; id=86; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=4; class Item0 { position[]={5921.8555,272.83936,10455.553}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={6078.0093,267.48883,10388.474}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={5995.4634,277.69263,10216.689}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={5887.5459,269.2634,10278.747}; id=80; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item31 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={6295.0347,283.64468,10380.301}; azimut=-143.37523; id=87; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={6295.606,283.42349,10386.1}; azimut=-143.37523; id=88; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={6292.4014,283.12048,10388.488}; azimut=-143.37523; id=89; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={6289.1914,282.82678,10390.88}; azimut=-143.37523; id=90; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={6285.98,282.54443,10393.261}; azimut=-143.37523; id=91; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={6282.7734,282.23111,10395.646}; azimut=-143.37523; id=92; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={6279.562,281.92462,10398.032}; azimut=-143.37523; id=93; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=4; class Item0 { position[]={6162.0205,278.48114,10258.873}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={6076.7148,267.68253,10405.863}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={6245.4453,275.22443,10494.479}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={6295.0347,283.64468,10380.301}; id=87; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item32 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={5952.3257,280.73886,10071.587}; azimut=-84.286667; id=94; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={5957.5986,281.06201,10074.074}; azimut=-84.286667; id=95; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={5957.9956,280.79547,10078.063}; azimut=-84.286667; id=96; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={5958.3955,280.54431,10082.034}; azimut=-84.286667; id=97; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={5958.792,280.30225,10086.021}; azimut=-84.286667; id=98; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={5959.1899,280.09036,10090.001}; azimut=-84.286667; id=99; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={5959.5942,279.87665,10093.969}; azimut=-84.286667; id=100; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=4; class Item0 { position[]={5779.8091,277.56201,10123.334}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={5862.1069,270.27518,10272.028}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={6024.8149,280.32339,10172.79}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={5952.3257,280.73886,10071.587}; id=94; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item33 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6072.3984,287.3009,10100.963}; azimut=491.77975; special="NONE"; id=102; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest6"; }; }; }; class Item34 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6242.3315,282.59326,10246.122}; azimut=484.22699; special="NONE"; id=104; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest7"; }; }; }; class Item35 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6024.8423,278.41302,10216.956}; azimut=474.771; special="NONE"; id=105; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; text="t4"; init="this setbehaviour ""SAFE"""; }; }; }; class Item36 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6059.314,266.99429,10367.533}; azimut=420.72601; special="NONE"; id=106; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; text="t5"; init="this setbehaviour ""SAFE"""; }; }; }; class Item37 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6193.6836,278.70285,10378.633}; azimut=200.48399; special="NONE"; id=107; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; text="t6"; init="this setbehaviour ""SAFE"""; }; }; }; class Item38 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5851.2739,278.82504,10084.115}; azimut=172.29401; special="NONE"; id=108; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; text="t3"; init="this setbehaviour ""SAFE"""; }; }; }; class Item39 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5293.8071,307.75385,10570.126}; azimut=217.998; special="NONE"; id=110; side="EAST"; vehicle="Ins_Lopotev"; leader=1; skill=0.60000002; text="boss"; init="this setbehaviour ""SAFE"""; }; }; class Waypoints { items=3; class Item0 { position[]={5293.6035,307.74564,10569.8}; speed="LIMITED"; combat="SAFE"; synchronizations[]={0}; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={5238.1748,306.38,10573.789}; id=124; type="GETIN"; speed="FULL"; expActiv="pommi=1; this exec ""bossoutro.sqs"""; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={4769.3623,339,9918.873}; class Effects { }; showWP="NEVER"; }; }; }; class Item40 { side="EAST"; class Vehicles { items=4; class Item0 { position[]={5358.4922,309.95972,10621.815}; azimut=145; special="NONE"; id=111; side="EAST"; vehicle="Ins_Bardak"; leader=1; skill=0.60000002; text="kuolo4"; }; class Item1 { position[]={5356.2305,309.91553,10626.814}; azimut=145; special="NONE"; id=112; side="EAST"; vehicle="Ins_Soldier_AT"; skill=0.60000002; text="kuolo1"; }; class Item2 { position[]={5355.8735,309.90417,10631.22}; azimut=145; special="NONE"; id=113; side="EAST"; vehicle="Ins_Soldier_GL"; skill=0.60000002; text="kuolo2"; }; class Item3 { position[]={5351.9443,309.74765,10632.054}; azimut=145; special="NONE"; id=114; side="EAST"; vehicle="Ins_Soldier_1"; skill=0.60000002; text="kuolo3"; }; }; class Waypoints { items=5; class Item0 { position[]={5399.9502,306.05399,10503.146}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={5264.1069,305.36703,10411.18}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={5117.1646,317.60193,10520.98}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={5250.0874,301.3302,10660.229}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item4 { position[]={5358.4922,309.95972,10621.815}; id=111; type="CYCLE"; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item41 { side="EAST"; class Vehicles { items=4; class Item0 { position[]={5146.2544,315.33157,10510.32}; azimut=354.75543; special="NONE"; id=115; side="EAST"; vehicle="Ins_Bardak"; leader=1; skill=0.60000002; }; class Item1 { position[]={5145.7305,315.45715,10504.858}; azimut=354.75543; special="NONE"; id=116; side="EAST"; vehicle="Ins_Soldier_AT"; skill=0.60000002; }; class Item2 { position[]={5143.8584,315.65448,10500.854}; azimut=354.755; special="NONE"; id=117; side="EAST"; vehicle="Ins_Soldier_Medic"; skill=0.60000002; }; class Item3 { position[]={5146.8584,315.44577,10498.184}; azimut=354.755; special="NONE"; id=118; side="EAST"; vehicle="Ins_Soldier_MG"; skill=0.60000002; }; }; class Waypoints { items=5; class Item0 { position[]={5169.1606,307.49985,10633.919}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={5332.7368,308.51587,10646.341}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={5405.8076,303.78537,10478.085}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={5221.3003,309.3877,10423.168}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item4 { position[]={5146.2544,315.33157,10510.32}; id=115; type="CYCLE"; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item42 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5314.4639,307.83765,10561.101}; azimut=468.77399; special="NONE"; id=120; side="EAST"; vehicle="Ins_Soldier_AT"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item43 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5288.6836,307.11444,10593.564}; azimut=354.755; special="NONE"; id=119; side="EAST"; vehicle="Ins_Soldier_MG"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item44 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5297.8657,306.96359,10536.953}; azimut=485.742; special="NONE"; id=121; side="EAST"; vehicle="Ins_Soldier_1"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item45 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5293.7402,307.76221,10567.255}; azimut=690.25818; special="NONE"; id=122; side="EAST"; vehicle="Ins_Commander"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item46 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5274.0786,313.70944,10555.065}; azimut=65; special="NONE"; id=123; side="EAST"; vehicle="Ins_Soldier_Sniper"; leader=1; skill=0.60000002; init="this setbehaviour ""combat"""; }; }; }; class Item47 { side="EAST"; class Vehicles { items=4; class Item0 { position[]={8405.6641,317.01227,10602.181}; azimut=145; special="NONE"; id=140; side="EAST"; vehicle="Ins_Bardak"; leader=1; skill=0.60000002; }; class Item1 { position[]={8403.4023,316.79422,10607.18}; azimut=145; special="NONE"; id=141; side="EAST"; vehicle="Ins_Soldier_AT"; skill=0.60000002; }; class Item2 { position[]={8403.0449,316.52075,10611.585}; azimut=145; special="NONE"; id=142; side="EAST"; vehicle="Ins_Soldier_GL"; skill=0.60000002; }; class Item3 { position[]={8399.1152,316.65533,10612.419}; azimut=145; special="NONE"; id=143; side="EAST"; vehicle="Ins_Soldier_1"; skill=0.60000002; }; }; class Waypoints { items=5; class Item0 { position[]={8447.1211,325.49054,10483.512}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={8311.2783,341.40109,10391.545}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={8164.3359,328.87265,10501.346}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={8297.2588,314.00833,10640.595}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item4 { position[]={8405.6641,317.01227,10602.181}; id=140; type="CYCLE"; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item48 { side="EAST"; class Vehicles { items=4; class Item0 { position[]={8332.3076,323.20584,10510.897}; azimut=145; special="NONE"; id=144; side="EAST"; vehicle="Ins_Bardak"; leader=1; skill=0.60000002; }; class Item1 { position[]={8330.0459,322.85074,10515.896}; azimut=145; special="NONE"; id=145; side="EAST"; vehicle="Ins_Soldier_AT"; skill=0.60000002; }; class Item2 { position[]={8329.6885,322.52863,10520.302}; azimut=145; special="NONE"; id=146; side="EAST"; vehicle="Ins_Soldier_GL"; skill=0.60000002; }; class Item3 { position[]={8325.7588,322.47803,10521.136}; azimut=145; special="NONE"; id=147; side="EAST"; vehicle="Ins_Soldier_1"; skill=0.60000002; }; }; class Waypoints { items=5; class Item0 { position[]={8340.0967,325.25095,10482.176}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={8299.7295,325.14276,10478.65}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={8263.2002,323.13126,10506.918}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={8276.7617,321.54489,10533.142}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item4 { position[]={8332.3076,323.20584,10510.897}; id=144; type="CYCLE"; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item49 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5916.772,274.3974,10209.586}; azimut=306.60703; id=150; side="EAST"; vehicle="T90"; leader=1; skill=0.60000002; text="t1"; }; }; }; class Item50 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6037.1196,266.98328,10364.495}; azimut=131.86099; id=151; side="EAST"; vehicle="T90"; leader=1; skill=0.60000002; text="t2"; }; }; }; class Item51 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={10834.207,236.37495,7959.4429}; azimut=-130.07637; id=155; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={10836.1,236.03914,7964.9551}; azimut=-130.07637; id=156; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={10833.519,235.2406,7968.0244}; azimut=-130.07637; id=157; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={10830.951,234.44682,7971.0781}; azimut=-130.07637; id=158; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={10828.369,233.69254,7974.1426}; azimut=-130.07637; id=159; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={10825.795,232.96944,7977.2026}; azimut=-130.07637; id=160; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={10823.232,232.25154,7980.2583}; azimut=-130.07637; id=161; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=4; class Item0 { position[]={10639.46,213.06505,7844.0884}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={10527.043,233.96176,8165.7773}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={10868.729,238.48094,8227.5732}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={10834.207,236.37495,7959.4429}; id=155; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item52 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={10609.979,221.65524,8190.6875}; azimut=-298.72217; id=162; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={10607.037,222.22932,8185.6592}; azimut=-298.72217; id=163; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={10608.964,222.01056,8182.1445}; azimut=-298.72217; id=164; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={10610.879,221.75121,8178.645}; azimut=-298.72217; id=165; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={10612.806,221.48663,8175.1313}; azimut=-298.72217; id=166; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={10614.729,221.1282,8171.6265}; azimut=-298.72217; id=167; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={10616.638,220.77312,8168.1196}; azimut=-298.72217; id=168; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=4; class Item0 { position[]={10823.622,240.06151,8265.4492}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={10870.507,246.04169,7927.9253}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={10523.342,197.8568,7934.6089}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={10609.979,221.65524,8190.6875}; id=162; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item53 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10445.414,236.45166,8349.9863}; azimut=50; special="NONE"; id=169; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; }; }; }; class Item54 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10227.916,260.61188,8559.8389}; azimut=50; special="NONE"; id=170; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; }; }; }; class Item55 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={9464.8535,303.05377,8745.0693}; azimut=-345.63925; special="NONE"; id=171; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; }; }; }; class Item56 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={9871.4619,281.41452,8697.4873}; azimut=-130.07637; id=172; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={9873.3545,282.56186,8702.999}; azimut=-130.07637; id=173; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={9870.7734,283.16763,8706.0684}; azimut=-130.07637; id=174; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={9868.2061,283.71527,8709.1221}; azimut=-130.07637; id=175; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={9865.624,284.20987,8712.1865}; azimut=-130.07637; id=176; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={9863.0498,284.69296,8715.2471}; azimut=-130.07637; id=177; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={9860.4873,285.05692,8718.3018}; azimut=-130.07637; id=178; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=4; class Item0 { position[]={9174.7617,324.44489,8798.623}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={9224.2354,347.55402,8929.6855}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={9868.625,282.51941,8869.8242}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={9871.4619,281.41452,8697.4873}; id=172; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item57 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={11024.844,253.56706,8295.8203}; azimut=320; special="NONE"; id=179; side="EAST"; vehicle="BMP3"; leader=1; skill=0.60000002; }; }; }; class Item58 { side="LOGIC"; class Vehicles { items=1; class Item0 { position[]={6869.2935,392.88266,11404.179}; id=194; side="LOGIC"; vehicle="AmbientCombatManager"; leader=1; skill=0.60000002; synchronizations[]={8}; }; }; }; class Item59 { side="LOGIC"; class Vehicles { items=1; class Item0 { position[]={8159.0747,466.51288,9224.1426}; id=195; side="LOGIC"; vehicle="AmbientCombatManager"; leader=1; skill=0.60000002; synchronizations[]={189}; }; }; }; class Item60 { side="LOGIC"; class Vehicles { items=1; class Item0 { position[]={6926.6211,392.01019,11454.595}; id=196; side="LOGIC"; vehicle="HighCommand"; leader=1; skill=0.60000002; synchronizations[]={198,7,197}; }; }; }; class Item61 { side="LOGIC"; class Vehicles { items=1; class Item0 { position[]={6927.3149,393.42874,11432.86}; id=197; side="LOGIC"; vehicle="HighCommandSubordinate"; leader=1; skill=0.60000002; synchronizations[]={8,196}; }; }; }; class Item62 { side="LOGIC"; class Vehicles { items=1; class Item0 { position[]={8151.0278,464.1843,9259.1279}; id=198; side="LOGIC"; vehicle="HighCommandSubordinate"; leader=1; skill=0.60000002; synchronizations[]={196,189}; }; }; }; class Item63 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={10405.224,118.96572,10043.312}; azimut=-298.72217; id=221; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={10402.281,119.42902,10038.284}; azimut=-298.72217; id=222; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={10404.208,119.41271,10034.769}; azimut=-298.72217; id=223; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={10406.123,119.41016,10031.27}; azimut=-298.72217; id=224; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={10408.05,119.4093,10027.756}; azimut=-298.72217; id=225; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={10409.973,119.42991,10024.251}; azimut=-298.72217; id=226; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={10411.882,119.4612,10020.744}; azimut=-298.72217; id=227; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=3; class Item0 { position[]={10906.257,78.787292,9887.915}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={10285.706,153.19612,9695.9014}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={10405.224,118.96572,10043.312}; id=221; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item64 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={10688.604,112.11733,9691.335}; azimut=-478.9718; id=228; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={10691.521,111.32056,9696.373}; azimut=-478.9718; id=229; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={10689.578,111.13763,9699.8809}; azimut=-478.9718; id=230; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={10687.649,110.97866,9703.374}; azimut=-478.9718; id=231; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={10685.71,110.87596,9706.8779}; azimut=-478.9718; id=232; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={10683.772,110.7998,9710.375}; azimut=-478.9718; id=233; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={10681.845,110.74616,9713.875}; azimut=-478.9718; id=234; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=3; class Item0 { position[]={10186.899,151.32571,9844.5479}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={10806.605,73.662674,10039.263}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={10688.604,112.11733,9691.335}; id=228; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item65 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={9902.915,166.13091,10525.174}; azimut=-261.55972; id=235; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={9897.5303,166.78172,10522.944}; azimut=-261.55972; id=236; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={9896.9434,166.89908,10518.979}; azimut=-261.55972; id=237; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={9896.3525,166.93896,10515.033}; azimut=-261.55972; id=238; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={9895.7656,167.0148,10511.07}; azimut=-261.55972; id=239; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={9895.1816,167.06429,10507.114}; azimut=-261.55972; id=240; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={9894.5859,167.13713,10503.17}; azimut=-261.55972; id=241; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=3; class Item0 { position[]={10188.204,143.06699,10378.875}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={9653.5332,191.94009,10360.759}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={9902.915,166.13091,10525.174}; id=235; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item66 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={9994.417,165.02692,10605.323}; azimut=245; special="NONE"; id=242; side="EAST"; vehicle="T72_RU"; leader=1; skill=0.60000002; }; }; }; class Item67 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10436.021,115.59618,10170.424}; azimut=-89.983887; special="NONE"; id=243; side="EAST"; vehicle="T72_RU"; leader=1; skill=0.60000002; }; }; }; class Item68 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10263.231,166.49649,9589.2275}; azimut=-43.415859; special="NONE"; id=247; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; }; }; }; class Item69 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10333.282,161.56329,9585.2012}; azimut=35.733124; special="NONE"; id=248; side="EAST"; vehicle="BTR90"; leader=1; skill=0.60000002; }; }; }; class Item70 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10438.14,119.26914,9964.3789}; azimut=-1.1725453; special="NONE"; id=250; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest8"; }; }; }; class Item71 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10580.89,130.30962,9681.2598}; azimut=-66.932137; special="NONE"; id=251; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item72 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10575.473,131.21378,9680.46}; azimut=16.452576; special="NONE"; id=252; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item73 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10575.332,132.49586,9660.1689}; azimut=-46.50135; special="NONE"; id=253; side="EAST"; vehicle="RU_Soldier_MG"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item74 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10547.142,125.94597,9723.4336}; azimut=256.7196; special="NONE"; id=254; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item75 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10070.785,151.29634,10333.039}; azimut=10; special="NONE"; id=255; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item76 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10070.154,151.16467,10335.341}; azimut=93.384697; special="NONE"; id=256; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item77 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10302.114,163.1956,9573.8574}; azimut=10; special="NONE"; id=257; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item78 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10294.624,163.95979,9571.458}; azimut=239.04037; special="NONE"; id=258; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item79 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10378.589,125.43732,9898.3477}; azimut=62.584824; special="NONE"; id=259; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item80 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10363.071,127.78321,9898.1211}; azimut=-6.0103102; special="NONE"; id=260; side="EAST"; vehicle="RU_Soldier_AR"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item81 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10362.857,127.33775,9887.5332}; azimut=10; special="NONE"; id=261; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item82 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={10362.227,127.55227,9889.835}; azimut=93.384697; special="NONE"; id=262; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item83 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5903.9912,271.70706,10225.84}; azimut=10; special="NONE"; id=263; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item84 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={5854.0771,275.84521,10145.206}; azimut=228.52298; special="NONE"; id=264; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item85 { side="GUER"; class Vehicles { items=10; class Item0 { position[]={8112.3984,469.95096,9250.5518}; azimut=316.67001; special="NONE"; id=266; side="GUER"; vehicle="GUE_Soldier_AT"; player="PLAY CDG"; skill=0.60000002; }; class Item1 { position[]={8105.9165,470.1008,9257.748}; azimut=-177.936; special="NONE"; id=189; side="GUER"; vehicle="GUE_Soldier_3"; player="PLAY CDG"; leader=1; rank="CAPTAIN"; skill=0.60000002; init="this addweapon ""Binocular"""; description="Team Field LEADER"; synchronizations[]={195,198}; }; class Item2 { position[]={8116.1738,469.62955,9255.666}; azimut=295; special="NONE"; id=192; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item3 { position[]={8115.3604,469.77551,9252.3447}; azimut=-445.71399; special="NONE"; id=187; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item4 { position[]={8109.8086,470.04376,9248.8574}; azimut=-20.746; special="NONE"; id=190; side="GUER"; vehicle="GUE_Soldier_AA"; player="PLAY CDG"; skill=0.60000002; }; class Item5 { position[]={8104.7671,470.12823,9245.4854}; azimut=-10.1723; special="NONE"; id=188; side="GUER"; vehicle="GUE_Soldier_AT"; player="PLAY CDG"; skill=0.60000002; }; class Item6 { position[]={8099.6167,470.10623,9243.9229}; azimut=32.042099; special="NONE"; id=185; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item7 { position[]={8096.3267,470.06815,9244.877}; azimut=32.042099; special="NONE"; id=265; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item8 { position[]={8093.145,470.02026,9245.1807}; azimut=53.327099; special="NONE"; id=186; side="GUER"; vehicle="GUE_Soldier_Sab"; player="PLAY CDG"; skill=0.60000002; }; class Item9 { position[]={8091.7427,470.04514,9249.1055}; azimut=58.953098; special="NONE"; id=191; side="GUER"; vehicle="GUE_Soldier_2"; player="PLAY CDG"; skill=0.60000002; }; }; }; class Item86 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7799.2041,258.297,10992.557}; azimut=10; special="NONE"; id=273; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item87 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7798.5732,258.33643,10994.858}; azimut=93.384697; special="NONE"; id=274; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item88 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7775.4106,258.25729,10986.929}; azimut=-146.8242; special="NONE"; id=275; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item89 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7775.0884,258.1795,10984.576}; azimut=-63.439476; special="NONE"; id=276; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item90 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7014.2803,344.1539,10564.103}; azimut=-286.94101; special="NONE"; id=277; side="EAST"; vehicle="D30_RU"; leader=1; skill=0.60000002; text="d2"; }; }; }; class Item91 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7027.6543,346.87793,10514.017}; azimut=-286.94101; special="NONE"; id=278; side="EAST"; vehicle="D30_RU"; leader=1; skill=0.60000002; text="d3"; }; }; }; class Item92 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6990.0483,340.78043,10650.771}; azimut=-286.94101; special="NONE"; id=279; side="EAST"; vehicle="D30_RU"; leader=1; skill=0.60000002; text="d1"; }; }; }; class Item93 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6141.8545,255.08257,11229.185}; azimut=446.90201; special="NONE"; id=281; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this moveingunner nest9"; }; }; }; class Item94 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={4588.0527,339,10501.178}; azimut=-143.37523; id=284; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={4588.624,339,10506.977}; azimut=-143.37523; id=285; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={4585.4194,339,10509.365}; azimut=-143.37523; id=286; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={4582.2095,339,10511.757}; azimut=-143.37523; id=287; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={4578.998,339,10514.138}; azimut=-143.37523; id=288; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={4575.7915,339,10516.523}; azimut=-143.37523; id=289; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={4572.5801,339,10518.909}; azimut=-143.37523; id=290; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=4; class Item0 { position[]={4444.5005,339,10424.771}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={4285.4336,339,10709.703}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={4437.8799,339,10771.497}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={4588.0527,339,10501.178}; id=284; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item95 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={4488.1587,339,10750.057}; azimut=-156.55029; special="NONE"; id=291; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item96 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={4490.0586,339,10746.821}; azimut=-73.165527; special="NONE"; id=292; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item97 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7121.7866,375.57397,9873.2383}; azimut=45; special="NONE"; id=293; side="EAST"; vehicle="RU_Soldier_Sniper"; leader=1; skill=0.60000002; init="this setbehaviour ""COMBAT"""; }; }; }; class Item98 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7028.6235,370.58597,9905.1484}; azimut=26.071239; special="NONE"; id=294; side="EAST"; vehicle="RU_Soldier_Sniper"; leader=1; skill=0.60000002; init="this setbehaviour ""COMBAT"""; }; }; }; class Item99 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7377.4355,401.40961,9862.6035}; azimut=-101.53492; special="NONE"; id=295; side="EAST"; vehicle="RU_Soldier_Sniper"; leader=1; skill=0.60000002; init="this setbehaviour ""COMBAT"""; }; }; }; class Item100 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7860.1475,254.86206,11095.865}; azimut=-15.743594; special="NONE"; id=296; side="EAST"; vehicle="RU_Soldier_Sniper"; leader=1; skill=0.60000002; init="this setbehaviour ""COMBAT"""; }; }; }; class Item101 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7794.1279,252.0509,11078.627}; azimut=-25.873486; special="NONE"; id=297; side="EAST"; vehicle="RU_Soldier_Sniper"; leader=1; skill=0.60000002; init="this setbehaviour ""COMBAT"""; }; }; }; class Item102 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7733.6079,250.87479,11017.741}; azimut=-73.05204; special="NONE"; id=298; side="EAST"; vehicle="RU_Soldier_Sniper"; leader=1; skill=0.60000002; init="this setbehaviour ""COMBAT"""; }; }; }; class Item103 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={6511.7666,145.69868,12546.076}; azimut=-261.55972; id=306; side="EAST"; vehicle="RU_Soldier_SL"; leader=1; rank="LIEUTENANT"; skill=0.59999996; }; class Item1 { position[]={6506.3818,145.21843,12543.847}; azimut=-261.55972; id=307; side="EAST"; vehicle="RU_Soldier_MG"; rank="SERGEANT"; skill=0.46666664; }; class Item2 { position[]={6505.7949,146.01224,12539.881}; azimut=-261.55972; id=308; side="EAST"; vehicle="RU_Soldier_LAT"; rank="CORPORAL"; skill=0.33333331; }; class Item3 { position[]={6505.2041,146.71088,12535.936}; azimut=-261.55972; id=309; side="EAST"; vehicle="RU_Soldier_Marksman"; rank="CORPORAL"; skill=0.33333331; }; class Item4 { position[]={6504.6172,147.45549,12531.973}; azimut=-261.55972; id=310; side="EAST"; vehicle="RU_Soldier_AT"; rank="CORPORAL"; skill=0.33333331; }; class Item5 { position[]={6504.0332,148.10464,12528.017}; azimut=-261.55972; id=311; side="EAST"; vehicle="RU_Soldier_LAT"; skill=0.2; }; class Item6 { position[]={6503.4375,148.74115,12524.072}; azimut=-261.55972; id=312; side="EAST"; vehicle="RU_Soldier"; skill=0.2; }; }; class Waypoints { items=3; class Item0 { position[]={7878.2588,110.3142,12634.465}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={7177.1499,162.6713,12434.674}; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={6511.7666,145.69868,12546.076}; id=306; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; }; }; }; class Item104 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={8541.7539,269.28836,10992.426}; azimut=85.482124; special="NONE"; id=313; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item105 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={8543.8203,269.0976,10993.612}; azimut=168.86682; special="NONE"; id=314; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item106 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={8592.8047,264.05841,11024.984}; azimut=-87.440056; special="NONE"; id=315; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item107 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={8529.3682,263.85007,11037.827}; azimut=-4.0553584; special="NONE"; id=316; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item108 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6606.0771,153.51164,12535.624}; azimut=-196.57321; special="NONE"; id=317; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item109 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={6607.6626,153.45105,12533.837}; azimut=-113.18845; special="NONE"; id=318; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item110 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7812.6924,112.57672,12608.671}; azimut=10; special="NONE"; id=319; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item111 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7812.0615,112.56491,12610.973}; azimut=93.384697; special="NONE"; id=320; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item112 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7904.8413,109.52888,12624.614}; azimut=-141.22099; special="NONE"; id=321; side="EAST"; vehicle="RU_Soldier_SniperH"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; class Item113 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={7766.7734,113.44143,12599.098}; azimut=-168.57048; special="NONE"; id=322; side="EAST"; vehicle="RU_Soldier"; leader=1; skill=0.60000002; init="this setbehaviour ""SAFE"""; }; }; }; }; class Vehicles { items=105; class Item0 { position[]={6903.5962,394.6391,11441.826}; id=0; side="EMPTY"; vehicle="Land_Shed_wooden"; skill=0.60000002; }; class Item1 { position[]={6904.9761,394.71463,11435.804}; id=1; side="EMPTY"; vehicle="Land_Pneu"; skill=0.60000002; }; class Item2 { position[]={6887.5103,394.14896,11452.216}; azimut=150; id=2; side="EMPTY"; vehicle="Ural_INS"; skill=0.60000002; fuel=0.37020287; ammo=0; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item3 { position[]={6890.8159,394.23288,11456.997}; azimut=150; id=9; side="EMPTY"; vehicle="Ural_INS"; skill=0.60000002; fuel=0.44786781; ammo=0; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item4 { position[]={6897.3687,374.63931,9876.8203}; azimut=215.321; special="NONE"; id=17; side="EMPTY"; vehicle="Offroad_DSHKM_Gue"; leader=1; skill=0.60000002; }; class Item5 { position[]={8118.1133,469.85635,9283.5732}; azimut=-304.867; special="NONE"; id=18; side="EMPTY"; vehicle="hilux1_civil_2_covered"; leader=1; skill=0.60000002; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item6 { position[]={6883.9712,394.01007,11446.442}; azimut=171.42673; special="NONE"; id=19; side="EMPTY"; vehicle="MMT_Civ"; leader=1; skill=0.60000002; }; class Item7 { position[]={6881.8145,393.90057,11445.737}; azimut=83.73629; special="NONE"; id=20; side="EMPTY"; vehicle="MMT_Civ"; leader=1; skill=0.60000002; }; class Item8 { position[]={6876.6675,393.71161,11445.218}; azimut=82.426651; special="NONE"; id=21; side="EMPTY"; vehicle="MMT_Civ"; leader=1; skill=0.60000002; }; class Item9 { position[]={8003.3979,220.67346,11313.621}; azimut=12.44099; special="NONE"; id=27; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item10 { position[]={7996.0664,221.03999,11312.935}; azimut=0.30576017; special="NONE"; id=28; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item11 { position[]={7994.1421,221.77094,11312.965}; azimut=0.37104371; special="NONE"; id=29; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item12 { position[]={7992.1748,221.77184,11312.963}; azimut=0.30576017; special="NONE"; id=30; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item13 { position[]={7990.2109,221.77184,11312.977}; azimut=0.30576017; special="NONE"; id=31; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item14 { position[]={7988.2866,221.77184,11313.01}; azimut=0.37104371; special="NONE"; id=32; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item15 { position[]={7988.2178,221.03999,11306.618}; azimut=-178.5285; special="NONE"; id=33; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item16 { position[]={7990.1729,221.03999,11306.563}; azimut=-178.5285; special="NONE"; id=34; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item17 { position[]={7992.1021,221.03999,11306.48}; azimut=-178.46323; special="NONE"; id=35; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item18 { position[]={7994.0693,221.03999,11306.457}; azimut=-178.5285; special="NONE"; id=36; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item19 { position[]={7996.0342,221.03999,11306.411}; azimut=-178.5285; special="NONE"; id=37; side="EMPTY"; vehicle="RUSpecialWeaponsBox"; leader=1; skill=0.60000002; }; class Item20 { position[]={8007.8354,219.75027,11307.667}; azimut=115.662; special="NONE"; id=43; side="EMPTY"; vehicle="Ural_CDF"; leader=1; skill=0.60000002; }; class Item21 { position[]={8036.8945,211.48882,11166.609}; azimut=25.259285; special="NONE"; id=45; side="EMPTY"; vehicle="Ural_CDF"; leader=1; skill=0.60000002; }; class Item22 { position[]={7826.7451,264.20236,11570.277}; azimut=160; special="NONE"; id=48; side="EMPTY"; vehicle="UAZ_RU"; leader=1; skill=0.60000002; }; class Item23 { position[]={7398.6836,300.52301,11547.409}; azimut=100; special="NONE"; id=49; side="AMBIENT LIFE"; vehicle="Cow04"; leader=1; skill=0.60000002; }; class Item24 { position[]={7580.7471,276.72079,11495.465}; azimut=100; special="NONE"; id=50; side="AMBIENT LIFE"; vehicle="Cow04"; leader=1; skill=0.60000002; }; class Item25 { position[]={7411.9307,293.5032,11446.149}; azimut=317.89017; special="NONE"; id=51; side="AMBIENT LIFE"; vehicle="Cow04"; leader=1; skill=0.60000002; }; class Item26 { position[]={7534.0942,285.8338,11594.401}; azimut=-142.73199; special="NONE"; id=52; side="AMBIENT LIFE"; vehicle="Cow03"; leader=1; skill=0.60000002; }; class Item27 { position[]={7002.9971,342.36264,10602.426}; azimut=-114.91538; special="NONE"; id=53; side="EMPTY"; vehicle="Land_GuardShed"; leader=1; skill=0.60000002; }; class Item28 { position[]={6990.3828,342.41257,10597.781}; azimut=355; special="NONE"; id=54; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest1"; }; class Item29 { position[]={5910.6582,238.70116,11359.85}; azimut=35.101944; special="NONE"; id=57; side="EMPTY"; vehicle="SkodaGreen"; leader=1; skill=0.60000002; }; class Item30 { position[]={5991.9419,264.59451,10833.614}; azimut=478.69937; special="NONE"; id=72; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest2"; }; class Item31 { position[]={5975.3013,261.49368,10979.215}; azimut=446.90201; special="NONE"; id=74; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest3"; }; class Item32 { position[]={6230.5225,266.06821,10807.549}; azimut=436.09164; special="NONE"; id=76; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest5"; }; class Item33 { position[]={6199.3262,256.53223,10962.423}; azimut=446.90201; special="NONE"; id=78; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest4"; }; class Item34 { position[]={6073.4243,287.35736,10101.054}; azimut=491.77975; special="NONE"; id=101; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest6"; }; class Item35 { position[]={6240.5811,282.51807,10245.914}; azimut=484.22699; special="NONE"; id=103; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest7"; }; class Item36 { position[]={5299.4341,307.84348,10566.065}; azimut=145; special="NONE"; id=109; side="EMPTY"; vehicle="Ural_INS"; leader=1; skill=0.60000002; }; class Item37 { position[]={5238.1748,306.38,10573.789}; azimut=145; special="NONE"; id=124; side="EMPTY"; vehicle="UH1Y"; leader=1; skill=0.60000002; text="kopu"; }; class Item38 { position[]={7788.0347,258.57761,10992.884}; special="NONE"; id=125; side="EMPTY"; vehicle="76n6ClamShell"; leader=1; skill=0.60000002; text="tar4"; }; class Item39 { position[]={7776.894,258.62158,10996.519}; azimut=17.652599; special="NONE"; id=126; side="EMPTY"; vehicle="Ural_CDF"; leader=1; skill=0.60000002; fuel=0.092828088; }; class Item40 { position[]={7782.2524,258.8364,11005.329}; azimut=41.337399; special="NONE"; id=127; side="EMPTY"; vehicle="Ural_CDF"; leader=1; skill=0.60000002; fuel=0.30733132; }; class Item41 { position[]={7782.6602,258.23895,10978.421}; special="NONE"; id=128; side="EMPTY"; vehicle="Land_CamoNet_EAST"; leader=1; skill=0.60000002; }; class Item42 { position[]={7795.1836,258.18637,10971.275}; azimut=-68.238503; special="NONE"; id=129; side="EMPTY"; vehicle="Land_CamoNet_EAST"; leader=1; skill=0.60000002; }; class Item43 { position[]={7795.1284,258.18826,10971.131}; azimut=150; special="NONE"; id=130; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item44 { position[]={7795.2202,258.17581,10972.59}; azimut=-0.251201; special="NONE"; id=131; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item45 { position[]={7783.2715,258.22995,10977.242}; azimut=97.5364; special="NONE"; id=132; side="EMPTY"; vehicle="RUBasicAmmunitionBox"; leader=1; skill=0.60000002; }; class Item46 { position[]={7782.1709,258.22607,10978.203}; azimut=-52.714802; special="NONE"; id=133; side="EMPTY"; vehicle="RULaunchersBox"; leader=1; skill=0.60000002; }; class Item47 { position[]={8296.0527,323.06052,10513.982}; special="NONE"; id=134; side="EMPTY"; vehicle="Land_CamoNetB_EAST"; leader=1; skill=0.60000002; }; class Item48 { position[]={8337.998,322.65228,10518.26}; azimut=305; special="NONE"; id=135; side="EMPTY"; vehicle="Ural_INS"; leader=1; skill=0.60000002; }; class Item49 { position[]={8278.1133,322.8291,10515.88}; azimut=370.79001; special="NONE"; id=136; side="EMPTY"; vehicle="Ural_INS"; leader=1; skill=0.60000002; }; class Item50 { position[]={8295.4482,323.05328,10514.087}; azimut=190; special="NONE"; id=137; side="EMPTY"; vehicle="ZSU_INS"; leader=1; lock="LOCKED"; skill=0.60000002; text="shi1"; }; class Item51 { position[]={8317.4326,323.99689,10499.887}; azimut=45.979111; special="NONE"; id=138; side="EMPTY"; vehicle="Land_CamoNetB_EAST"; leader=1; skill=0.60000002; }; class Item52 { position[]={8317.0703,323.96475,10500.386}; azimut=235.979; special="NONE"; id=139; side="EMPTY"; vehicle="ZSU_INS"; leader=1; lock="LOCKED"; skill=0.60000002; text="shi2"; }; class Item53 { position[]={6831.2734,389.02319,11361.336}; azimut=-203.51199; special="NONE"; id=148; side="EMPTY"; vehicle="MH60S"; leader=1; skill=0.60000002; ammo=0.092828088; init="xhandle = [this,5] execVM ""scripts\vehspawn.sqf"";"; }; class Item54 { position[]={6832.021,388.95117,11359.896}; azimut=-203.51237; special="NONE"; id=149; side="EMPTY"; vehicle="HeliH"; leader=1; skill=0.60000002; }; class Item55 { position[]={8040.2144,210.86298,11293.587}; azimut=-22.47728; special="NONE"; id=152; side="EMPTY"; vehicle="BTR90"; leader=1; skill=0.60000002; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item56 { position[]={8033.749,212.34108,11294.051}; azimut=-22.47728; special="NONE"; id=153; side="EMPTY"; vehicle="BTR90"; leader=1; skill=0.60000002; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item57 { position[]={10677.166,211.18434,7937.2432}; azimut=350; special="NONE"; id=154; side="EMPTY"; vehicle="76n6ClamShell"; leader=1; skill=0.60000002; text="tar7"; }; class Item58 { position[]={8060.7324,468.80212,9221.7217}; azimut=-0.30539584; id=180; side="EMPTY"; vehicle="UralRefuel_CDF"; skill=0.60000002; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item59 { position[]={8067.4897,469.14246,9221.627}; azimut=-0.30539584; id=181; side="EMPTY"; vehicle="UralRepair_CDF"; skill=0.60000002; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item60 { position[]={8074.6968,469.39093,9221.7207}; azimut=-0.30539584; id=182; side="EMPTY"; vehicle="UralReammo_CDF"; skill=0.60000002; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item61 { position[]={6905.6611,394.73074,11434.636}; azimut=51.251976; id=199; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item62 { position[]={6905.7915,394.75104,11432.801}; azimut=51.251976; id=200; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item63 { position[]={6905.8643,394.76456,11431.096}; azimut=51.251976; id=201; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item64 { position[]={6905.7583,394.7659,11429.461}; azimut=51.251976; id=202; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item65 { position[]={6905.8887,394.77271,11427.629}; azimut=51.251976; id=203; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item66 { position[]={6905.9644,394.77835,11425.924}; azimut=51.251976; id=204; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item67 { position[]={6904.123,394.73019,11433.918}; special="NONE"; id=205; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item68 { position[]={6904.1436,394.73776,11432.272}; special="NONE"; id=206; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item69 { position[]={6904.123,394.73978,11430.521}; special="NONE"; id=207; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item70 { position[]={6904.2466,394.74576,11428.689}; special="NONE"; id=208; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item71 { position[]={6904.2056,394.74948,11427.083}; special="NONE"; id=209; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item72 { position[]={8094.6113,469.87595,9231.4971}; azimut=144.18733; id=210; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item73 { position[]={8092.7725,469.8436,9231.4561}; azimut=144.18733; id=211; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item74 { position[]={8091.0635,469.81219,9231.4697}; azimut=144.18733; id=212; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item75 { position[]={8089.4351,469.78387,9231.6641}; azimut=144.18733; id=213; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item76 { position[]={8087.6035,469.74927,9231.625}; azimut=144.18733; id=214; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item77 { position[]={8085.8989,469.71753,9231.6328}; azimut=144.18733; id=215; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item78 { position[]={8093.8345,469.89172,9234.0469}; azimut=92.93541; special="NONE"; id=216; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item79 { position[]={8092.2197,469.87097,9234.6816}; azimut=92.93541; special="NONE"; id=217; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item80 { position[]={8090.4653,469.83228,9234.1855}; azimut=92.93541; special="NONE"; id=218; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item81 { position[]={8088.7734,469.8064,9234.6621}; azimut=92.93541; special="NONE"; id=219; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item82 { position[]={8087.0327,469.76556,9233.9668}; azimut=92.93541; special="NONE"; id=220; side="EMPTY"; vehicle="RUOrdnanceBox"; leader=1; skill=0.60000002; }; class Item83 { position[]={10368.708,126.64743,9892.3213}; azimut=320; special="NONE"; id=244; side="EMPTY"; vehicle="GRAD_RU"; leader=1; skill=0.60000002; text="g1"; }; class Item84 { position[]={10577.062,131.63593,9673.5615}; azimut=551.73346; special="NONE"; id=245; side="EMPTY"; vehicle="GRAD_RU"; leader=1; skill=0.60000002; text="g2"; }; class Item85 { position[]={10298.963,163.68527,9570.5293}; azimut=360.23199; special="NONE"; id=246; side="EMPTY"; vehicle="GRAD_RU"; leader=1; skill=0.60000002; text="g3"; }; class Item86 { position[]={10437.37,119.35048,9965.0586}; azimut=-1.1725453; special="NONE"; id=249; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest8"; }; class Item87 { position[]={8072.2109,469.69739,9252.5459}; azimut=-252.965; special="NONE"; id=269; side="EMPTY"; vehicle="MH60S"; leader=1; skill=0.60000002; ammo=0.092828088; init="xhandle = [this,5] execVM ""scripts\vehspawn.sqf"";"; }; class Item88 { position[]={8073.7905,469.72699,9252.1758}; azimut=-252.9657; special="NONE"; id=270; side="EMPTY"; vehicle="HeliH"; leader=1; skill=0.60000002; }; class Item89 { position[]={8108.9688,470.01401,9226.2598}; azimut=-29.693151; id=271; side="EMPTY"; vehicle="Ural_INS"; skill=0.60000002; fuel=0.37020287; ammo=0; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item90 { position[]={8105.6416,469.95184,9221.4941}; azimut=-29.693151; id=272; side="EMPTY"; vehicle="Ural_INS"; skill=0.60000002; fuel=0.44786781; ammo=0; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item91 { position[]={6140.5864,254.88397,11227.956}; azimut=446.90201; special="NONE"; id=280; side="EMPTY"; vehicle="Fort_Nest_M240"; leader=1; skill=0.60000002; text="nest9"; }; class Item92 { position[]={4483.7388,339,10762.271}; azimut=235.06284; special="NONE"; id=282; side="EMPTY"; vehicle="Su34"; leader=1; skill=0.60000002; }; class Item93 { position[]={4542.2939,339,10660.139}; azimut=235.06284; special="NONE"; id=283; side="EMPTY"; vehicle="Su34"; leader=1; skill=0.60000002; }; class Item94 { position[]={8537.1875,269.12955,10994.095}; special="NONE"; id=299; side="EMPTY"; vehicle="Land_radar"; leader=1; skill=0.60000002; text="rad1"; }; class Item95 { position[]={6612.1626,153.30731,12533.358}; special="NONE"; id=300; side="EMPTY"; vehicle="Land_radar"; leader=1; skill=0.60000002; text="rad2"; }; class Item96 { position[]={7804.7397,112.73548,12609.503}; special="NONE"; id=301; side="EMPTY"; vehicle="Land_radar"; leader=1; skill=0.60000002; text="rad3"; }; class Item97 { position[]={6890.542,394.02109,11412.105}; azimut=66.510719; id=302; side="EMPTY"; vehicle="Ural_INS"; skill=0.60000002; fuel=0.37020287; ammo=0; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item98 { position[]={6888.8369,394.02716,11416.915}; azimut=66.510719; id=303; side="EMPTY"; vehicle="Ural_INS"; skill=0.60000002; fuel=0.44786781; ammo=0; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item99 { position[]={8122.6934,469.87506,9225.9609}; azimut=-33.903835; id=304; side="EMPTY"; vehicle="Ural_INS"; skill=0.60000002; fuel=0.37020287; ammo=0; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item100 { position[]={8119.7246,469.99838,9220.9512}; azimut=-33.903835; id=305; side="EMPTY"; vehicle="Ural_INS"; skill=0.60000002; fuel=0.44786781; ammo=0; init="xhandle = [this,120] execVM ""scripts\vehspawn.sqf"""; }; class Item101 { position[]={6910.1045,394.76617,11423.303}; azimut=51.251976; id=323; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item102 { position[]={6909.9985,394.77777,11421.668}; azimut=51.251976; id=324; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item103 { position[]={6910.1289,394.79239,11419.836}; azimut=51.251976; id=325; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; class Item104 { position[]={6910.2046,394.78754,11418.131}; azimut=51.251976; id=326; side="EMPTY"; vehicle="GuerillaCacheBox"; leader=1; skill=0.60000002; description="Commander"; }; }; class Markers { items=16; class Item0 { position[]={7993.7241,221.03999,11309.915}; name="tar1"; text="Russian ammunition base"; type="mil_objective"; colorName="ColorRed"; }; class Item1 { position[]={6126.3203,249.61913,10853.151}; name="tar2b"; text="AA Defence line"; markerType="RECTANGLE"; type="Empty"; colorName="ColorRed"; a=20; b=500; angle=-10.6707; }; class Item2 { position[]={6123.1519,248.55698,10883.311}; name="tar2"; text="Destroy AA Defence line"; type="mil_destroy"; colorName="ColorRed"; }; class Item3 { position[]={5273.7881,312.30441,10565.486}; name="tar3"; text="Kill insurgent boss"; type="mil_destroy"; }; class Item4 { position[]={7787.9966,258.56372,10991.986}; name="tar4"; text="Destroy AA Radar"; type="mil_destroy"; colorName="ColorRed"; }; class Item5 { position[]={8304.4551,323.46664,10508.087}; name="tar5"; text="Insurgent camp"; type="mil_destroy"; }; class Item6 { position[]={6874.1812,393.45578,11433.913}; name="respawn_guerilla"; text="Basement"; type="mil_marker"; colorName="ColorGreen"; }; class Item7 { position[]={5959.4492,267.42368,10310.575}; name="tar6"; text="Clear from the enemy vehicles"; type="mil_destroy"; }; class Item8 { position[]={10677.928,211.18588,7935.3315}; name="tar7"; text="Destroy AA Radar"; type="mil_destroy"; }; class Item9 { position[]={8067.1323,469.11749,9220.8193}; name="Support"; text="Support"; type="waypoint"; colorName="ColorBlue"; angle=14.959666; }; class Item10 { position[]={10414.397,117.97373,9854.2002}; name="tar8"; text="Destroy three enemy BM-21 Grads"; type="mil_destroy"; }; class Item11 { position[]={7010.4165,341.81058,10597.421}; name="tar9b"; text="AA Defence line"; markerType="RECTANGLE"; type="Empty"; colorName="ColorRed"; a=20; b=200; angle=-10.6707; }; class Item12 { position[]={7008.4453,343.10718,10588.198}; name="tar9"; text="Destroy D-30 Defence line"; type="mil_destroy"; colorName="ColorRed"; }; class Item13 { position[]={8537.0986,269.04752,10994.744}; name="tar10a"; text="Enemy radar"; type="mil_destroy"; }; class Item14 { position[]={6612.1636,153.33652,12535.925}; name="tar10b"; text="Enemy radar"; type="mil_destroy"; }; class Item15 { position[]={7804.7407,112.7101,12612.069}; name="tar10c"; text="Enemy radar"; type="mil_destroy"; }; }; class Sensors { items=24; class Item0 { position[]={6899.6045,394.6604,11434.437}; a=50000; b=50000; activationBy="ANY"; interruptable=1; age="UNKNOWN"; class Effects { soundEnv="Meadows"; track="Track09_Movement_To_Contact"; }; }; class Item1 { position[]={5228.0654,307.96219,10570.031}; a=50000; b=50000; timeoutMin=23; timeoutMid=23; timeoutMax=23; interruptable=1; age="UNKNOWN"; expCond="pommi==1"; expActiv="kopu setdamage 1000"; class Effects { }; }; class Item2 { position[]={5223.7573,308.45209,10566.66}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive boss"; expActiv="hint ""Somebody had wired the insurgent boss's chopper and the chopper exploded. The boss is dead!""; deletemarker ""tar3""; tar3=1; objekti_3 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item3 { position[]={5273.939,313.11069,10560.182}; a=430; b=430; activationBy="GUER"; interruptable=1; age="UNKNOWN"; class Effects { track="Track12_The_Movement"; titleEffect="PLAIN DOWN"; }; synchronizations[]={0}; }; class Item4 { position[]={8311.1865,323.19376,10511.871}; activationBy="GUER"; interruptable=1; age="UNKNOWN"; expActiv="hint ""Insurgent base's shilkas must be destroyed"""; class Effects { }; }; class Item5 { position[]={8299.6582,323.97507,10500.078}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive shi1 && !alive shi2"; expActiv="hint ""Shilkas has been destyoed!""; deletemarker ""tar5""; tar5=1; objekti_5 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item6 { position[]={7799.6304,258.20001,10983.285}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive tar4"; expActiv="hint ""The anti-air radar has been destroyed!""; deletemarker ""tar4""; tar4=1; objekti_4 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item7 { position[]={7992.2759,221.03999,11309.871}; a=4; b=4; rectangular=1; activationBy="GUER"; interruptable=1; age="UNKNOWN"; expActiv="hint ""You have captured the russian ammunition base!""; deletemarker ""tar1""; tar1=1; objekti_1 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item8 { position[]={6301.6143,273.39435,10940.768}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive tung1 && !alive tung2"; expActiv="hint ""The anti-air line has been destroyed! Now it's safe to fly.""; deletemarker ""tar2""; deletemarker ""tar2b""; tar2=1; objekti_2 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item9 { position[]={13660.413,0.52757883,10061.373}; activationBy="ALPHA"; repeating=1; interruptable=1; age="UNKNOWN"; text="Basement South"; name="r1"; expActiv="""respawn_guerilla"" setMarkerPos [8112.53,9300.50]; hint ""Our basement has been moved to south"""; class Effects { }; }; class Item10 { position[]={13684.157,0.26470554,9961.2334}; activationBy="BRAVO"; repeating=1; interruptable=1; age="UNKNOWN"; text="Basement North"; expActiv="""respawn_guerilla"" setMarkerPos [6912.78,11382.60]; hint ""Our basement has been moved to north"""; class Effects { }; }; class Item11 { position[]={5944.4326,268.01556,10285.305}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive t1 && !alive t2 && !alive t3 && !alive t4 && !alive t5 && !alive t6"; expActiv="hint ""Grishno has been cleared from the enemy vehicles!""; deletemarker ""tar6""; tar6=1; objekti_6 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item12 { position[]={10743.802,222.68167,7948.332}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive tar7"; expActiv="hint ""Anti-air radar has been destroyed!""; deletemarker ""tar7""; tar7=1; objekti_7 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item13 { position[]={7990.3096,221.03999,11309.877}; activationBy="GUER"; interruptable=1; age="UNKNOWN"; expActiv="hint ""To capture the russian ammunition base, you must go inside the main building."""; class Effects { }; }; class Item14 { position[]={10178.733,146.79605,9985.3047}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive g1 && !alive g2 && !alive g3"; expActiv="hint ""You have destroyed the enemy BM-21 grads!""; deletemarker ""tar8""; tar8=1; objekti_8 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item15 { position[]={8861.5234,328.16269,10308.491}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="tar1==1 && tar2==1 && tar3==1 && tar4==1 && tar5==1 && tar6==1 && tar7==1 && tar8==1 && tar9==1 && tar10==1"; expActiv="end=1"; class Effects { track="Ambient06_Khe_Sanh_Riff"; }; }; class Item16 { position[]={8894.6768,308.80405,10355.238}; a=50000; b=50000; timeoutMin=4; timeoutMid=4; timeoutMax=4; interruptable=1; age="UNKNOWN"; expCond="end==1"; expActiv="end2=1"; class Effects { titleType="TEXT"; title="Mission by Raunhofer"; }; }; class Item17 { position[]={8945.165,297.91373,10328.838}; a=50000; b=50000; timeoutMin=4; timeoutMid=4; timeoutMax=4; interruptable=1; type="END1"; age="UNKNOWN"; expCond="end2==1"; class Effects { titleType="TEXT"; title="Mission by Raunhofer"; }; }; class Item18 { position[]={7067.2773,330.92291,10617.402}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive d1 && !alive d2 && !alive d3"; expActiv="hint ""The D-30 Defence line has been destroyed!""; tar9=1; deletemarker ""tar9""; deletemarker ""tar9b""; objekti_9 setTaskState ""SUCCEEDED"";"; class Effects { }; }; class Item19 { position[]={7470.6729,176.57727,12216.937}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive rad1 && !alive rad2 && !alive rad3"; expActiv="hint ""Enemy radio communication towers has been destroyed!""; tar10=1; deletemarker ""tar10a""; deletemarker ""tar10b""; deletemarker ""tar10c""; objekti_10 setTaskState ""SUCCEEDED"""; class Effects { }; }; class Item20 { position[]={13676.417,1.1414702,9868.3467}; activationBy="CHARLIE"; repeating=1; interruptable=1; age="UNKNOWN"; text="Our missions"; expActiv="hint ""OUR MISSION LIST\n\n1. Destroy 2 AA-Radars.\n2. Capture ammunition base.\n3. Destroy 3 BM-21 Grads.\n4. Cut down enemy radio communications.\n5. Clear Grishino from the vehicles.\n6. Kill insurgent Boss.\n7. Destroy AA Defence line.\n8. Destroy D-30 Defence line.\n9. Clear insurgent's camp."""; class Effects { }; }; class Item21 { position[]={8537.3701,268.78244,10996.735}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive rad1"; expActiv="hint ""Radar has been destroyed!""; deletemarker ""tar10a"""; class Effects { }; }; class Item22 { position[]={6612.7822,153.30751,12535.027}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive rad2"; expActiv="hint ""Radar has been destroyed!""; deletemarker ""tar10b"""; class Effects { }; }; class Item23 { position[]={7807.1802,112.65749,12612.124}; a=50000; b=50000; interruptable=1; age="UNKNOWN"; expCond="!alive rad3"; expActiv="hint ""Radar has been destroyed!""; deletemarker ""tar10c"""; class Effects { }; }; }; }; class Intro { addOns[]= { "chernarus" }; addOnsAuto[]= { "chernarus" }; randomSeed=8355591; class Intel { startWeather=0.25; forecastWeather=0.25; year=2008; month=10; day=11; hour=9; minute=20; }; }; class OutroWin { addOns[]= { "chernarus" }; addOnsAuto[]= { "chernarus" }; randomSeed=15999394; class Intel { startWeather=0.25; forecastWeather=0.25; year=2008; month=10; day=11; hour=9; minute=20; }; }; class OutroLoose { addOns[]= { "chernarus" }; addOnsAuto[]= { "chernarus" }; randomSeed=15828326; class Intel { startWeather=0.25; forecastWeather=0.25; year=2008; month=10; day=11; hour=9; minute=20; }; }; //Raungraph 1.0 ;light film grain "filmGrain" ppEffectEnable true; "filmGrain" ppEffectAdjust [0.01, 0.5, 0.5, 0.1, 0.5, false]; "filmGrain" ppEffectCommit 0; "radialBlur" ppEffectEnable false; "wetDistortion" ppEffectEnable false; "chromAberration" ppEffectEnable false; "dynamicBlur" ppEffectEnable false;_vehicle = _this select 0; _delay = _this select 1; _startpos = getpos _vehicle; _startdir = getdir _vehicle; _type = typeof _vehicle; _vehicle setVehicleInit "this addeventhandler [""getin"", {_this execVM ""scripts\commandercheck.sqf"";}]"; processInitCommands; waitUntil {!isNil "helispawn"}; if (!helispawn) exitWith {}; while {true} do { sleep (_delay + random 15); if (({alive _x} count (crew _vehicle)) == 0) then { _disabled = (if (damage _vehicle > 0.9) then {true} else {false}); if (_disabled || !(alive _vehicle)) then { clearVehicleInit _vehicle; deletevehicle _vehicle; sleep 0.5; _vehicle = _type createvehicle _startpos; _vehicle setpos _startpos; _vehicle setdir _startdir; _vehicle setVehicleInit "this addeventhandler [""getin"", {_this execVM ""scripts\commandercheck.sqf"";}]"; processInitCommands; }; }; }; _vehicle = _this select 0; _delay = _this select 1; _startpos = getpos _vehicle; _startdir = getdir _vehicle; _type = typeof _vehicle; _vehicle setVehicleInit "this addeventhandler [""getin"", {_this execVM ""scripts\pilotcheck.sqf"";}]"; processInitCommands; waitUntil {!isNil "helispawn"}; if (!helispawn) exitWith {}; while {true} do { sleep (_delay + random 15); if (({alive _x} count (crew _vehicle)) == 0) then { _disabled = (if (damage _vehicle > 0.9) then {true} else {false}); if (_disabled || !(alive _vehicle)) then { clearVehicleInit _vehicle; deletevehicle _vehicle; sleep 0.5; _vehicle = _type createvehicle _startpos; _vehicle setpos _startpos; _vehicle setdir _startdir; _vehicle setVehicleInit "this addeventhandler [""getin"", {_this execVM ""scripts\pilotcheck.sqf"";}]"; processInitCommands; }; }; }; // by Xeno private ["_config","_count","_i","_magazines","_object","_type","_type_name"]; _object = _this select 0; _type = typeof _object; if (_object isKindOf "ParachuteBase") exitWith {}; if (isNil "x_reload_time_factor") then {x_reload_time_factor = 1;}; //if (!local _object) exitWith {}; if (!alive _object) exitWith {}; _object setFuel 0; _object setVehicleAmmo 1; // Reload turrets / drivers magazine _type_name = typeOf _object; _object vehicleChat format ["Servicing %1... Please stand by...", _type]; _magazines = getArray(configFile >> "CfgVehicles" >> _type >> "magazines"); if (count _magazines > 0) then { _removed = []; { if (!(_x in _removed)) then { _object removeMagazines _x; _removed = _removed + [_x]; }; } forEach _magazines; { _object vehicleChat format ["Reloading %1", _x]; sleep x_reload_time_factor; if (!alive _object) exitWith {}; _object addMagazine _x; } forEach _magazines; }; _count = count (configFile >> "CfgVehicles" >> _type >> "Turrets"); if (_count > 0) then { for "_i" from 0 to (_count - 1) do { scopeName "xx_reload2_xx"; _config = (configFile >> "CfgVehicles" >> _type >> "Turrets") select _i; _magazines = getArray(_config >> "magazines"); _removed = []; { if (!(_x in _removed)) then { _object removeMagazines _x; _removed = _removed + [_x]; }; } forEach _magazines; { _object vehicleChat format ["Reloading %1", _x]; sleep x_reload_time_factor; if (!alive _object) then {breakOut "xx_reload2_xx"}; _object addMagazine _x; sleep x_reload_time_factor; if (!alive _object) then {breakOut "xx_reload2_xx"}; } forEach _magazines; // check if the main turret has other turrets _count_other = count (_config >> "Turrets"); // this code doesn't work, it's not possible to load turrets that are part of another turret :( // nevertheless, I leave it here if (_count_other > 0) then { for "_i" from 0 to (_count_other - 1) do { _config2 = (_config >> "Turrets") select _i; _magazines = getArray(_config2 >> "magazines"); _removed = []; { if (!(_x in _removed)) then { _object removeMagazines _x; _removed = _removed + [_x]; }; } forEach _magazines; { _object vehicleChat format ["Reloading %1", _x]; sleep x_reload_time_factor; if (!alive _object) then {breakOut "xx_reload2_xx"}; _object addMagazine _x; sleep x_reload_time_factor; if (!alive _object) then {breakOut "xx_reload2_xx"}; } forEach _magazines; }; }; }; }; _object setVehicleAmmo 1; // Reload turrets / drivers magazine sleep x_reload_time_factor; if (!alive _object) exitWith {}; _object vehicleChat "Repairing..."; _object setDamage 0; sleep x_reload_time_factor; if (!alive _object) exitWith {}; _object vehicleChat "Refueling..."; while {fuel _object < 0.99} do { //_object setFuel ((fuel _vehicle + 0.1) min 1); _object setFuel 1; sleep 0.01; }; sleep x_reload_time_factor; if (!alive _object) exitWith {}; _object vehicleChat format ["%1 is ready...", _type_name]; if (true) exitWith {}; if (!isServer) exitWith{}; _vehicle = _this select 0; _position = _this select 1; _enterer = _this select 2; _enterer_name = typeOf _enterer; if (_position == "driver") then { if (_enterer_name != "USMC_Soldier_officer") then { driver _vehicle action["Eject",_vehicle]; hint "Remember: Only squad leader can use HQ vehicles."; }; }; if (true) exitWith {};if (!isServer) exitWith{}; _vehicle = _this select 0; _position = _this select 1; _enterer = _this select 2; _enterer_name = typeOf _enterer; if (_position == "driver") then { if (_enterer_name != "GUE_Soldier_Pilot") then { driver _vehicle action["Eject",_vehicle]; hint "Remember: Only pilots can fly."; }; }; if (true) exitWith {};private ["_vehicle", "_delay", "_startpos", "_startdir", "_type", "_disabled", "_empty"]; if (!isServer) exitWith{}; _vehicle = _this select 0; _delay = _this select 1; _startpos = getpos _vehicle; _startdir = getdir _vehicle; _type = typeof _vehicle; while {true} do { sleep (_delay + random 15); if (({alive _x} count (crew _vehicle)) == 0) then { _disabled = (if (damage _vehicle > 0.9) then {true} else {false}); if (_disabled || !(alive _vehicle)) then { deletevehicle _vehicle; sleep 0.5; _vehicle = _type createvehicle _startpos; _vehicle setpos _startpos; _vehicle setdir _startdir; }; }; }; #define ReadAndWrite 0 #define ReadAndCreate 1 #define ReadOnly 2 #define ReadOnlyVerified 3 #define true 1 #define false 0 class KEGsRscText { access = ReadAndWrite; type = 0; idc = -1; style = 0; w = 0.1; h = 0.05; font = "TahomaB"; sizeEx = 0.04; colorBackground[] = {0, 0, 0, 0}; colorText[] = {1, 1, 1, 1}; text = ""; }; class KEGsRscListBox { access = ReadAndWrite; type = 5; style = 0; w = 0.4; h = 0.4; font = "TahomaB"; sizeEx = 0.04; rowHeight = 0; colorText[] = {1, 1, 1, 1}; colorScrollbar[] = {1, 1, 1, 1}; colorSelect[] = {0, 0, 0, 1}; colorSelect2[] = {1, 0.5, 0, 1}; colorSelectBackground[] = {0.6, 0.6, 0.6, 1}; colorSelectBackground2[] = {0.2, 0.2, 0.2, 1}; colorBackground[] = {0, 0, 0, 1}; soundSelect[] = {"", 0.1, 1}; period = 1; }; class KEGsRscActiveText { access = ReadAndWrite; type = 11; style = 2; h = 0.05; w = 0.15; font = "TahomaB"; sizeEx = 0.04; color[] = {1, 1, 1, 1}; colorActive[] = {1, 0.5, 0, 1}; soundEnter[] = {"", 0.1, 1}; soundPush[] = {"", 0.1, 1}; soundClick[] = {"", 0.1, 1}; soundEscape[] = {"", 0.1, 1}; text = ""; default = 0; }; class KEGsRscMapControl { access = ReadAndWrite; type = 101; idc = 51; style = 48; colorBackground[] = {1, 1, 1, 1}; colorText[] = {0, 0, 0, 1}; font = "TahomaB"; sizeEx = 0.04; colorSea[] = {0.56, 0.8, 0.98, 0.5}; colorForest[] = {0.6, 0.8, 0.2, 0.5}; colorRocks[] = {0.5, 0.5, 0.5, 0.5}; colorCountlines[] = {0.65, 0.45, 0.27, 0.5}; colorMainCountlines[] = {0.65, 0.45, 0.27, 1}; colorCountlinesWater[] = {0, 0.53, 1, 0.5}; colorMainCountlinesWater[] = {0, 0.53, 1, 1}; colorForestBorder[] = {0.4, 0.8, 0, 1}; colorRocksBorder[] = {0.5, 0.5, 0.5, 1}; colorPowerLines[] = {0, 0, 0, 1}; colorNames[] = {0, 0, 0, 1}; colorInactive[] = {1, 1, 1, 0.5}; colorLevels[] = {0, 0, 0, 1}; fontLabel = "Zeppelin32"; sizeExLabel = 0.027; fontGrid = "Zeppelin32"; sizeExGrid = 0.027; fontUnits = "Zeppelin32"; sizeExUnits = 0.027; fontNames = "Zeppelin32"; sizeExNames = 0.027; fontInfo = "Zeppelin32"; sizeExInfo = 0.027; fontLevel = "Zeppelin32"; sizeExLevel = 0.027; text = "#(argb,8,8,3)color(1,1,1,1)"; stickX[] = {0.2, {"Gamma", 1, 1.5}}; stickY[] = {0.2, {"Gamma", 1, 1.5}}; ptsPerSquareSea = 6; ptsPerSquareTxt = 8; ptsPerSquareCLn = 8; ptsPerSquareExp = 8; ptsPerSquareCost = 8; ptsPerSquareFor = "4.0f"; ptsPerSquareForEdge = "10.0f"; ptsPerSquareRoad = 2; ptsPerSquareObj = 10; class Bunker { icon = "\ca\ui\data\map_bunker_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 1.5 * 14 * 0.05; coefMin = 0.25; coefMax = 4; }; class Bush { icon = "\ca\ui\data\map_bush_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 0.2 * 14 * 0.05; coefMin = 0.25; coefMax = 4; }; class BusStop { icon = "\ca\ui\data\map_busstop_ca.paa"; color[] = {0, 0, 1, 1}; size = 10; importance = 1 * 10 * 0.05; coefMin = 0.25; coefMax = 4; }; class Cross { icon = "\ca\ui\data\map_cross_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 0.7 * 16 * 0.05; coefMin = 0.25; coefMax = 4; }; class Fortress { icon = "\ca\ui\data\map_bunker_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 2 * 16 * 0.05; coefMin = 0.25; coefMax = 4; }; class Fuelstation { icon = "\ca\ui\data\map_fuelstation_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 2 * 16 * 0.05; coefMin = 0.75; coefMax = 4; }; class Fountain { icon = "\ca\ui\data\map_fountain_ca.paa"; color[] = {0, 0.35, 0.7, 1}; size = 12; importance = 1 * 12 * 0.05; coefMin = 0.25; coefMax = 4; }; class Hospital { icon = "\ca\ui\data\map_hospital_ca.paa"; color[] = {0.78, 0, 0.05, 1}; size = 16; importance = 2 * 16 * 0.05; coefMin = 0.5; coefMax = 4; }; class Chapel { icon = "\ca\ui\data\map_chapel_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 1 * 16 * 0.05; coefMin = 0.9; coefMax = 4; }; class Church { icon = "\ca\ui\data\map_church_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 2 * 16 * 0.05; coefMin = 0.9; coefMax = 4; }; class Lighthouse { icon = "\ca\ui\data\map_lighthouse_ca.paa"; color[] = {0.78, 0, 0.05, 1}; size = 20; importance = 3 * 16 * 0.05; coefMin = 0.9; coefMax = 4; }; class Quay { icon = "\ca\ui\data\map_quay_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 2 * 16 * 0.05; coefMin = 0.5; coefMax = 4; }; class Rock { icon = "\ca\ui\data\map_rock_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 12; importance = 0.5 * 12 * 0.05; coefMin = 0.25; coefMax = 4; }; class Ruin { icon = "\ca\ui\data\map_ruin_ca.paa"; color[] = {0.78, 0, 0.05, 1}; size = 16; importance = 1.2 * 16 * 0.05; coefMin = 1; coefMax = 4; }; class SmallTree { icon = "\ca\ui\data\map_smalltree_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 0.6 * 12 * 0.05; coefMin = 0.25; coefMax = 4; }; class Stack { icon = "\ca\ui\data\map_stack_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 20; importance = 2 * 16 * 0.05; coefMin = 0.9; coefMax = 4; }; class Tree { icon = "\ca\ui\data\map_tree_ca.paa"; color[] = {0.55, 0.64, 0.43, 1}; size = 16; importance = 0.9 * 16 * 0.05; coefMin = 0.25; coefMax = 4; }; class Tourism { icon = "\ca\ui\data\map_tourism_ca.paa"; color[] = {0.78, 0, 0.05, 1}; size = 16; importance = 1 * 16 * 0.05; coefMin = 0.7; coefMax = 4; }; class Transmitter { icon = "\ca\ui\data\map_transmitter_ca.paa"; size = 20; color[] = {0, 0.35, 0.7, 1}; importance = 2 * 16 * 0.05; coefMin = 0.9; coefMax = 4; }; class ViewTower { icon = "\ca\ui\data\map_viewtower_ca.paa"; size = 16; color[] = {0, 0.35, 0.7, 1}; importance = 2.5 * 16 * 0.05; coefMin = 0.5; coefMax = 4; }; class Watertower { icon = "\ca\ui\data\map_watertower_ca.paa"; color[] = {0, 0.35, 0.7, 1}; size = 32; importance = 1.2 * 16 * 0.05; coefMin = 0.9; coefMax = 4; }; class Waypoint { icon = "\ca\ui\data\map_waypoint_ca.paa"; size = 16; color[] = {0, 0.35, 0.7, 1}; importance = 2.5 * 16 * 0.05; coefMin = 0.5; coefMax = 4; }; class WaypointCompleted { icon = "\ca\ui\data\map_waypoint_completed_ca.paa"; size = 16; color[] = {0, 0.35, 0.7, 1}; importance = 2.5 * 16 * 0.05; coefMin = 0.5; coefMax = 4; }; }; class KEGsRscControlsGroup { type = 15; idc = -1; style = 0; x = 0; y = 0; w = 1; h = 1; class VScrollbar { color[] = {1, 1, 1, 1}; width = 0.021; autoScrollRewind=0; autoScrollDelay=5; autoScrollSpeed=-1; }; class HScrollbar { color[] = {1, 1, 1, 1}; height = 0.028; }; class Controls {}; };// BAS f - waitForJIP // Version: 0-0-1 (2007-07-23) // Author(s): Raedor | zx64 // Thanks: zx64 for conversion to include format. // ==================================================================================== if ( (!isServer) && (player != player) ) then { waitUntil {player == player}; waitUntil {time > 10}; }; // JIP CHECK // Prevents the script executing until the player has synchronised correctly: #include "f_waitForJIP.sqf" // Spectating Script for Armed Assault // by Kegetys // Modifyed for Evoloution by KilJoy. //_player = _this select 0; _player = player; _killer = _this select 1; //_seagull = _this select 2; _seagull = vehicle player; // If seagull is valid we came from the respawn scene /* if(typeName _seagull != "string") then { _seagull setpos[-1000, -1000, 1000]; sleep 1.5; titleCut["","BLACK OUT", 1.5]; }; */ // Globals etc. if (isnil'spectate_events') then { spectate_events = compile preprocessFileLineNumbers "spect\specta_events.sqf"; }; //dwarden, time for preprocessing :) KEGsMouseButtons = [false, false]; KEGsMouseScroll = 0; KEGsMouseCoord = [0.5, 0.5]; KEGsUseNVG = false; KEGsMissileCamActive = false; KEGsUseMissileCam = false; KEGsMarkerNames = false; // True = display marker names and arrows KEGsMarkerType = 1; // 0 = disabled, 1 = names, 2 = types KEGsTags =false; // Particlesource tags KEGsAIfilter = true; // Filter AI units (only players displayed) KEGsFORMLfilter = true; KEGsClientAddonPresent = false; // Is client-side addon present? KEGsMarkerSize = 0.8; // Full map marker size KEGsMinimapZoom = 0.5; // Minimap zoom KEGsSelect = 0; // Used to change selected target KEGs1stGunner = false; // Gunner view on 1st person camera? KEGsDroppedCamera = false; // Free camera dropped (non-targeted with free motion)? KEGsCamForward = false; KEGsCamBack = false; KEGsCamLeft = false; KEGsCamRight = false; KEGsNeedUpdateLB = false; _mouseDeltaX = 0; _mouseDeltaY = 0; _sdistance = 1; // camera distance _fangle = 0; // Free camera angle _fangleY = 15; _flybydst = 35; // Distance of flyby camera (adjusted based on target speed) _szoom = 0.976; _markers = []; // Map markers showing positions of all units KEGsTagSources = []; // Particle sources for tags _lastTgt = 0; _nameCache = []; // Used to store valid names since name command cannot be trusted _maxDistance = 50; // Maximum distance for camera _maxZoom = 0.05; // Maximum zoom level _minZoom = 2; // Unit sides shown - Show all if sides not set if(format["%1", KEGsShownSides] == "scalar bool array string 0xe0ffffef") then { if(debug) then {KEGsShownSides = [west, east, resistance, civilian, sideEnemy, sideFriendly, sideLogic,sideUnknown]}else{KEGsShownSides = [west]}; }; if ((name player) in admins) then { KEGsShownSides = [west, east, resistance, civilian, sideEnemy, sideFriendly, sideLogic,sideUnknown]; } else {KEGsShownSides = [(side player)]}; // format ["DwDebug#KEGsShownSides: %1",KEGsShownSides] createVehicleLocal [0,0,0]; deathCam = []; _ehVehicles = []; // Used to keep track of added eventhandlers KEGsAllUnits = []; // Create trigger for retrieving all vehicles _t = createTrigger["EmptyDetector", getpos _player]; _t setTriggerType "NONE"; _t setTriggerStatements ["this", "KEGsAllUnits = thislist", ""]; _t setTriggerArea[50000, 50000, 0, false]; _t setTriggerActivation["ANY", "PRESENT", false]; // Wait until trigger assigns the array waitUntil{count KEGsAllUnits > 0}; if(typeName _seagull != "string") then { sleep 1; titleCut ["","BLACK IN", 8]; } else { titleText["","BLACK IN", 0]; }; // Create dialog & assign keyboard handler createDialog "rscSpectate"; disableSerialization; //Disable saving of script containing this command. After this, script can work with the data types which do not support serialization (UI types). _disp = (findDisplay 55001); _disp displaySetEventHandler["KeyDown", "[""KeyDown"",_this] call spectate_events"]; _disp displaySetEventHandler["KeyUp", "[""KeyUp"",_this] call spectate_events"]; // Hide menus by default ["ToggleCameraMenu",0] call spectate_events; ["ToggleTargetMenu",0] call spectate_events; ["ToggleHelp",0] call spectate_events; ["ToggleMap",1] call spectate_events; // IDC's from rsc _cCamera = 55002; _cTarget = 55003; _cName = 55004; _cLBCameras = 55005; _cLBTargets = 55006; _cCamerasBG = 55007; _cTargetsBG = 55008; _cMap = 55013; _cMapFull = 55014; _cDebug = 55100; _nearest = objNull; // Create cameras _pos = [(getpos _player select 0)-1+random 2, (getpos _player select 1)-1+random 2, 2]; KEGscam_static = "camera" camCreate _pos; KEGscam_target = "camera" camCreate _pos; // "Dummy" target camera for smooth transitions KEGscam_free = "camera" camCreate _pos; KEGscam_flyby = "camera" camCreate _pos; KEGscam_topdown = "camera" camCreate _pos; KEGscam_1stperson = "camera" camCreate _pos; // Dummy camera KEGscam_missile = "camera" camCreate _pos; // Missile camera KEGscam_fullmap = "camera" camCreate _pos; // Full map view camera _cameras = [KEGscam_free, KEGscam_static, KEGscam_flyby, KEGscam_topdown, KEGscam_1stperson]; _cameraNames = ["Free", "Chase", "Flyby", "Top-down", "1st person"]; _dummy = "helihempty" createVehicleLocal [0,0,0]; // Dummy object for distance command KEGscameras = _cameras; // Hack to allow access from events.sqf // Add cameras to listbox lbClear _cLBCameras; {lbAdd[_cLBCameras, _x]} foreach _cameraNames; // Add separator & toggles //_cLbSeparator = lbAdd[_cLBCameras, "---"]; //lbSetColor[_cLBCameras, _cLbSeparator, [0.5, 0.5, 0.5, 0.5]]; _cLbMissileCam = lbAdd[_cLBCameras, "Missile camera"]; _cLbToggleNVG = lbAdd[_cLBCameras, "Night vision"]; _cLbToggleTags = lbAdd[_cLBCameras, "Unit tags"]; _cLbToggleAiFilter = lbAdd[_cLBCameras, "Filter AI"]; _cLbToggleFORMLFilter = lbAdd[_cLBCameras, "FORM Leader"]; KEGs_tgtIdx = 0; KEGs_cameraIdx = 0; showcinemaborder false; lbClear _cLBTargets; onMapSingleClick "[""MapClick"",_pos] call spectate_events"; ["EventLogAdd",["Initialize",[1,1,1,1]]] call spectate_events; /* dwarden, was disabled*/ // Check for client side addon _foo = "KEGsAddon10" createVehicleLocal[-1000,-1000,0]; // //_foo = "KEGspect_bar_yellow" createVehicleLocal[-1000,-1000,0]; //dwarden,was disbled x2 if(!isNull _foo) then { deletevehicle _foo; KEGsClientAddonPresent = true; }; /* ^^ was disabled*/ // Spawn thread to display help reminder after a few seconds [] spawn {sleep(3);if(dialog) then {cutText["\n\n\n\n\nPress F1 for help","PLAIN DOWN", 0.75]}}; _camSelLast = 0; _tgtSelLast = 0; _mouseLastX = 0.5; _mouseLastY = 0.5; _nNoDialog = 0; _lastCheckNewUnits = -100; _lastUpdateMarkers = -100; _lastUpdateMarkerTypes = -100; _lastUpdateTags = -100; _lastAutoUpdateLB = time; KEGsCamPos = [0,0,0]; _cxpos = 0; _cypos = 0; _czpos = 0; _cspeedx = 0; _cspeedy = 0; _tbase = 0.1; _h = 2; // Main loop - Ugly double loop to avoid exit after 10000 iterations while{dialog} do { while{dialog} do { call { // Check for listbox selections if(_camSelLast != lbCurSel _cLBCameras) then { _cs = lbCurSel _cLBCameras; //if(_cs == _cLbSeparator) then {_cs = _camSelLast}; // Special for toggling missile camera if(_cs == _cLbMissileCam) then { KEGsUseMissileCam = !KEGsUseMissileCam; _cs = _camSelLast; }; // Special for toggling NVG if(_cs == _cLbToggleNVG) then { KEGsUseNVG = !KEGsUseNVG; _cs = _camSelLast; }; // Special for toggling tags if(_cs == _cLbToggleTags) then { KEGsTags = !KEGsTags; ["ToggleTags", [KEGsTags, (_cameras select KEGs_cameraIdx)]] call spectate_events; _cs = _camSelLast; }; // Special for toggling AI filter if(_cs == _cLbToggleAiFilter) then { KEGsAIfilter = !KEGsAIfilter; _cs = _camSelLast; KEGsNeedUpdateLB = true; // Request listbox update }; // Special for toggling FORMATION LEADER filter if(_cs == _cLbToggleFORMLFilter) then { KEGsFORMLfilter = !KEGsFORMLfilter; _cs = _camSelLast; KEGsNeedUpdateLB = true; // Request listbox update }; if(_cs != _camSelLast) then { // Selected another camera - disable dropped cam KEGsDroppedCamera = false; }; KEGs_cameraIdx = _cs; }; if(lbCurSel _cLBTargets > lbSize _cLBTargets) then { lbSetCurSel[_cLBTargets, lbSize _cLBTargets]; // Selection outside listbox size }; // Update selected target from listbox if(KEGsSelect != 0) then { lbSetCurSel[_cLBTargets, ((lbCurSel _cLBTargets)+KEGsSelect)]; KEGsSelect = 0; }; if(_tgtSelLast != lbCurSel _cLBTargets) then { KEGsDroppedCamera = false; KEGs_tgtIdx = lbValue[_cLBTargets, (lbCurSel _cLBTargets)]; }; // Process mouse movement _mouseDeltaX = _mouseLastX - (KEGsMouseCoord select 0); _mouseDeltaY = _mouseLastY - (KEGsMouseCoord select 1); if(!(KEGsMouseButtons select 0) and (KEGsMouseButtons select 1)) then { // Right mouse button - Adjust position _fangle = _fangle - (_mouseDeltaX*360); _fangleY=_fangleY + (_mouseDeltaY*180); if(_fangleY > 89) then {_fangleY = 89}; if(_fangleY < -89) then {_fangleY = -89}; }; if((KEGsMouseButtons select 0) and !(KEGsMouseButtons select 1)) then { // Left mouse button - Adjust distance _sdistance = _sdistance - (_mouseDeltaY*10); if(_sdistance > _maxDistance) then {_sdistance = _maxDistance}; if(_sdistance < -_maxDistance) then {_sdistance = -_maxDistance}; }; if(KEGsMouseScroll != 0) then { // Mouse scroll wheel - Adjust distance _sdistance = _sdistance - (KEGsMouseScroll*0.11); KEGsMouseScroll = KEGsMouseScroll * 0.75; if(_sdistance > _maxDistance) then {_sdistance = _maxDistance}; if(_sdistance < -_maxDistance) then {_sdistance = -_maxDistance}; }; if((KEGsMouseButtons select 0) and (KEGsMouseButtons select 1)) then { // Both mousebuttons - Adjust zoom _szoom = _szoom - (_mouseDeltaY*3); if(_szoom > _minZoom) then {_szoom = _minZoom}; if(_szoom < _maxZoom) then {_szoom = _maxZoom}; }; // Check for new units every 2 seconds if(time - _lastCheckNewUnits > 3) then { //dwarden-changed to 3 _lastCheckNewUnits = time; _allUnits = []; _allVehicles = []; // Avoid game logics _foo = []; {if(side _x != sideLogic) then {_foo = _foo + [_x]}} foreach KEGsAllUnits; {_allUnits = _allUnits + (crew _x);_allVehicles = _allVehicles + [_x]} foreach _foo; _newUnits = _allUnits - deathCam; _newVehicles = _allVehicles - _ehVehicles; if(count _newVehicles > 0) then { // Add event handlers to new vehicles _ehVehicles = _ehVehicles + _newVehicles; { // Add fired eventhandler for map indication _fh = _x addeventhandler["fired", {["UnitFired",_this] call spectate_events}]; // _kh = _x addeventhandler["killed", {["UnitKilled",_this] call spectate_events}]; //dwarden, was disabled _x setVariable["KEGsEHfired", _fh]; // _x setVariable["KEGsEHkilled", _kh]; //dwarden,was disabled } foreach _newVehicles; }; if(count _newUnits > 0) then { // Add new units to end of list deathCam = deathCam + _newUnits; // Request listbox update KEGsNeedUpdateLB = true; // Create markers { // Create marker _m = createMarkerLocal[format["KEGsMarker%1", count _markers], getpos _player]; _m setMarkerTypeLocal "Dot"; _m setMarkerSizeLocal[0.4, 0.4]; _markers = _markers + [_m]; // Set marker color if(side _x == west) then {_m setMarkerColorLocal "ColorBlue";}; if(side _x == east) then {_m setMarkerColorLocal "ColorRed";}; if(side _x == resistance) then {_m setMarkerColorLocal "ColorGreen";}; if(side _x == civilian) then {_m setMarkerColorLocal "ColorWhite";}; if(_x in (units group _player)) then {_m setMarkerColorLocal "ColorYellow";}; // Create particle source _s_pos=_x modelToWorld [0,0,0]; _s = "#particlesource" createvehiclelocal _s_pos; //_s = "#particlesource" createvehiclelocal (getpos _x); KEGsTagSources = KEGsTagSources + [[_x, _s]]; // If tags are on, turn them off and back again to include new units if(KEGsTags) then { ["ToggleTags",[false, (_cameras select KEGs_cameraIdx)]] call spectate_events; ["ToggleTags",[true, (_cameras select KEGs_cameraIdx)]] call spectate_events; }; } foreach _newUnits; }; }; // Request listbox update every 4 seconds to update dead units or jip player names if(time - _lastAutoUpdateLB > 4) then { _lastAutoUpdateLB = time; KEGsNeedUpdateLB = true; }; if(KEGsNeedUpdateLB) then { // Clear and re-fill targets listbox lbClear _cLBTargets; for "_idx" from 0 to ((count deathCam)-1) do { _x = deathCam select _idx; _name = ""; if(alive _x) then { // Unit is alive, use name command _name = name _x; _nameCache set[_idx, _name]; } else { // Dead unit, use cached name //_name = _nameCache select _idx; //tmp fix _name = "Unknown"; }; if((!KEGsAIfilter or isPlayer _x) and ((side _x) in KEGsShownSides)) then { _i = lbAdd[_cLBTargets, _name]; lbSetValue[_cLBTargets, _i, _idx]; // Value used to id unit /* if(side _x == east) then {lbSetColor[_cLBTargets, _i, [1,0.8,0.8,1]]}; if(side _x == west) then {lbSetColor[_cLBTargets, _i, [0.8,0.8,1,1]]}; if(side _x == resistance) then {lbSetColor[_cLBTargets, _i, [0.8,1,0.8,1]]}; if(side _x == civilian) then {lbSetColor[_cLBTargets, _i, [1,1,1,1]]}; */ if(side _x == west) then {lbSetColor[_cLBTargets, _i, [0,0,1,1]]}; //if((isFormationLeader _x) and (side _x == west)) then {lbSetColor[_cLBTargets, _i, [0.25,0.25,1,1]]}; if(side _x == east) then {lbSetColor[_cLBTargets, _i, [1,0,0,1]]}; //if((isFormationLeader _x) and (side _x == east)) then {lbSetColor[_cLBTargets, _i, [1,0.25,0.25,1]]}; if(side _x == resistance) then {lbSetColor[_cLBTargets, _i, [0,1,0,1]]}; //if((isFormationLeader _x) and (side _x == resistance)) then {lbSetColor[_cLBTargets, _i, [0.25,1,0.25,1]]}; if(side _x == civilian) then {lbSetColor[_cLBTargets, _i, [0.5,0.5,0.5,1]]}; //if((isFormationLeader _x) and (side _x == civilian)) then {lbSetColor[_cLBTargets, _i, [0.75,0.75,0.75,1]]}; if(_x in (units group _player)) then {lbSetColor[_cLBTargets, _i, [1,1,0,1]]}; // Your group members, yellow if((isPlayer _x) and (_x in (units group _player))) then {lbSetColor[_cLBTargets, _i, [1,0,1,1]]}; // Your group player members, magenta if(_x == _player) then {lbSetColor[_cLBTargets, _i, [0,1,1,1]]}; //yourself,cyan if(not alive _x) then { // Whoops, unit is dead, change color lbSetColor[_cLBTargets, _i, [0.25,0.25,0.25,1]]; }; //if(_x == KEGs_target) then { // Select target // Not a good idea //lbSetCurSel[_cLBTargets, _i]; //}; }; /* experimental formation leader filter */ if((!KEGsFORMLfilter and isFormationLeader _x) and ((side _x) in KEGsShownSides)) then { _i = lbAdd[_cLBTargets, _name]; lbSetValue[_cLBTargets, _i, _idx]; // Value used to id unit //if(side _x == west) then {lbSetColor[_cLBTargets, _i, [0,0,1,1]]}; if((isFormationLeader _x) and (side _x == west)) then {lbSetColor[_cLBTargets, _i, [0.33,0.33,1,1]]}; //if(side _x == east) then {lbSetColor[_cLBTargets, _i, [1,0,0,1]]}; if((isFormationLeader _x) and (side _x == east)) then {lbSetColor[_cLBTargets, _i, [1,0.33,0.33,1]]}; //if(side _x == resistance) then {lbSetColor[_cLBTargets, _i, [0,1,0,1]]}; if((isFormationLeader _x) and (side _x == resistance)) then {lbSetColor[_cLBTargets, _i, [0.33,1,0.33,1]]}; //if(side _x == civilian) then {lbSetColor[_cLBTargets, _i, [0.5,0.5,0.5,1]]}; if((isFormationLeader _x) and (side _x == civilian)) then {lbSetColor[_cLBTargets, _i, [0.75,0.75,0.75,1]]}; //if(_x in (units group player)) then {lbSetColor[_cLBTargets, _i, [1,1,0,1]]}; // Your group members, yellow //if((isPlayer _x) and (_x in (units group player))) then {lbSetColor[_cLBTargets, _i, [1,0,1,1]]}; // Your group player members, magenta //if(_x == _player) then {lbSetColor[_cLBTargets, _i, [0,1,1,1]]}; //yourself,cyan /* if(not alive _x) then { // Whoops, unit is dead, change color lbSetColor[_cLBTargets, _i, [0.25,0.25,0.25,1]]; }; */ }; }; KEGsNeedUpdateLB = false; }; // Check limits if(KEGs_tgtIdx >= count deathCam) then {KEGs_tgtIdx = (count deathCam)-1;}; if(KEGs_tgtIdx < 0) then {KEGs_tgtIdx = 0}; if(KEGs_cameraIdx < 0) then {KEGs_cameraIdx = 0}; if(KEGs_cameraIdx >= count _cameras) then {KEGs_cameraIdx = (count _cameras)-1;}; // Select camera, get target if(!KEGsMissileCamActive) then { (_cameras select KEGs_cameraIdx) cameraEffect["internal", "BACK"]; KEGs_target = deathCam select KEGs_tgtIdx; }; lbSetCurSel[_cLBCameras, KEGs_cameraIdx]; if(lbValue[_cLBTargets, (lbCurSel _cLBTargets)] != KEGs_tgtIdx) then { // Find listbox element with matching value for "_idx" from 0 to (lbSize _cLBTargets) do { if(lbValue[_cLBTargets, (lbCurSel _cLBTargets)] == KEGs_tgtIdx) then { lbSetCurSel[_cLBTargets, _idx]; _found = true; }; }; }; //if(lbCurSel _cLBTargets != KEGs_tgtIdx) then { // lbSetCurSel[_cLBTargets, KEGs_tgtIdx]; // }; camUseNVG KEGsUseNVG; if(ctrlVisible _cMapFull) then { KEGscam_fullmap cameraEffect["internal", "BACK"]; }; //ctrlSetText[_cDebug, format["%1", count _markers]]; // Update tag particlesources if(time - _lastUpdateTags > (1/5)) then { _lastUpdateTags = time; if(KEGsTags) then { ["ToggleTags", [true, (_cameras select KEGs_cameraIdx)]] call spectate_events; }; }; // Update markers 10fps _rate = 30; if(count _markers > 100) then {_rate = 15}; // Update large number of markers less often if(count _markers > 200) then {_rate = 7.5}; // Update very large number of markers less often if(time - _lastUpdateMarkers > (1/_rate)) then { _lastUpdateMarkers = time; // setMarkerTypeLocal is very slow, call it only once per second _doMarkerTypes = false; if(time - _lastUpdateMarkerTypes > 1) then { _lastUpdateMarkerTypes = time; _doMarkerTypes = true; // Allow update marker types }; if(ctrlVisible _cMapFull) then { // Position camera in the middle of full map, for sound and // smoother marker motion (distant objects appear less smooth) _mapFull = _disp displayctrl _cMapFull; _mappos = _mapFull posScreenToWorld[0.5, 0.5]; KEGscam_fullmap camsettarget _mappos; KEGscam_fullmap camsetrelpos [0, -1, 150]; KEGscam_fullmap camcommit 0; }; _markedVehicles = []; // Keep track of vehicles with markers to avoid multiple markers for one vehicle for "_i" from 0 to ((count _markers)-1) do { _m = _markers select _i; _u = (deathCam select _i); _m setMarkerPosLocal (getpos vehicle _u); if(!((side _u) in KEGsShownSides)) then { // We arent' supposed to show this side unit - hide marker if(_doMarkerTypes) then {_m setMarkerTypeLocal "empty"}; } else { if(KEGsMarkerNames or KEGsMinimapZoom < 0.15) then { // Set full screen map marker types - Also zoomed minimap if(ctrlVisible _cMapFull) then { switch(KEGsMarkerType) do { case 0: { // No text _m setMarkerTextLocal ""; }; case 1: { // Names if(alive (vehicle _u)) then { if(name (vehicle _u) != "Error: no unit") then {_m setMarkerTextLocal name ( _u)}; }; }; case 2: { // Types _m setMarkerTextLocal getText (configFile >> "CfgVehicles" >> format["%1", typeOf (vehicle _u)] >> "DisplayName"); }; }; } else { // Minimap with detailed icons but no text _m setMarkerTextLocal ""; }; if(KEGsClientAddonPresent) then { // With client side addon use better icons _type = getText(configFile >> "CfgVehicles" >> format["%1", typeOf (vehicle _u)] >> "simulation"); _icon = "Arrow"; switch(_type) do { case "tank": {_icon = "KEGsTank"}; case "car": {_icon = "KEGsCar"}; case "soldier": {_icon = "KEGsMan"}; case "ship": {_icon = "KEGsShip"}; case "airplane": {_icon = "KEGsPlane"}; case "helicopter": {_icon = "KEGsHelicopter"}; case "motorcycle": {_icon = "KEGsMotorcycle"}; case "parachute": {_icon = "KEGsParachute"}; }; if(_doMarkerTypes) then {_m setMarkerTypeLocal _icon}; _m setMarkerSizeLocal[0.42*KEGsMarkerSize, 0.42*KEGsMarkerSize]; } else { // No client side addon - basic markers if(_doMarkerTypes) then {_m setMarkerTypeLocal "Arrow"}; if(_u == vehicle _u) then { _m setMarkerSizeLocal[0.33*KEGsMarkerSize, 0.27*KEGsMarkerSize]; } else { _m setMarkerSizeLocal[0.42*KEGsMarkerSize, 0.42*KEGsMarkerSize]; }; }; _m setMarkerDirLocal (getdir (vehicle _u)); } else { _m setMarkerTextLocal ""; if(_doMarkerTypes) then {_m setMarkerTypeLocal "Dot"}; _m setMarkerSizeLocal[0.4,0.4]; }; }; if(not alive _u) then { if(KEGsClientAddonPresent) then { // Switch to darker color, cant use side since the unit is already dead if(getMarkerColor _m == "ColorBlue") then {_m setMarkerColorLocal "KEGsDarkBlue"}; if(getMarkerColor _m == "ColorRed") then {_m setMarkerColorLocal "KEGsDarkRed"}; if(getMarkerColor _m == "ColorGreen") then {_m setMarkerColorLocal "KEGsDarkGreen"}; if(getMarkerColor _m == "ColorWhite") then {_m setMarkerColorLocal "KEGsGrey"}; } else { _m setMarkerColorLocal "ColorBlack" }; }; if(vehicle _u in _markedVehicles) then { // This vehicle was already marked, hide marker _m setMarkerTypeLocal "Empty"; } else { _markedVehicles = _markedVehicles + [vehicle _u]; }; }; // Follow target with small map _map = _disp displayctrl _cMap; ctrlMapAnimClear _map; if(KEGsDroppedCamera) then { // Center on dropped camera position _map ctrlMapAnimAdd[0.3, KEGsMinimapZoom, [_cxpos, _cypos,0]]; } else { // Center on target _map ctrlMapAnimAdd[0.3, KEGsMinimapZoom, getpos KEGs_target]; }; ctrlMapAnimCommit _map; }; // Check if target changed and center main map if(KEGs_tgtIdx != _lastTgt) then { _map = _disp displayctrl _cMapFull; ctrlMapAnimClear _map; _map ctrlMapAnimAdd [0.2, 1.0, getpos (deathcam select KEGs_tgtIdx)]; ctrlMapAnimCommit _map; }; if((_cameras select KEGs_cameraIdx) == KEGscam_1stperson) then { // 1st person view if(KEGs1stGunner) then { (vehicle KEGs_target) switchCamera "GUNNER"; } else { (vehicle KEGs_target) switchCamera "INTERNAL"; }; (vehicle KEGs_target) cameraEffect ["terminate","FRONT"]; }; // Get target properties _dir = getdir vehicle KEGs_target; _bb = boundingBox vehicle KEGs_target; //_h = ((_bb select 1) select 2) - ((_bb select 0) select 2); // Height //dwarden,was disabled _foo = ((_bb select 1) select 2) - ((_bb select 0) select 2); // Height _l = ((_bb select 1) select 1) - ((_bb select 0) select 1); // Length _w = ((_bb select 1) select 0) - ((_bb select 0) select 0); // Width _hstr = 0.15; _h = (_foo*_hstr)+(_h*(1-_hstr)); // Set UI texts _role = ""; if(vehicle KEGs_target != KEGs_target) then { /* if(KEGs_target == driver vehicle KEGs_target) then {_role = "(Driver)"}; if(KEGs_target == gunner vehicle KEGs_target) then {_role = "(1st Gunner)"}; //first gunner if(KEGs_target == commander vehicle KEGs_target) then {_role = "(Commander)"}; */ /* added by dwarden */ // _role = AssignedVehicleRole KEGs_target; /* [] - Not assigned to any vehicle ["Driver"] - Assigned as driver ["Cargo"] - Assigned as cargo ["TURRET", [turret path]] - Assigned to a turret ["TURRET", [[0]] - 1st Gunner ["TURRET", [[1]] - 2nd Gunner ["TURRET", [0,0]] - Commander */ _role0 = AssignedVehicleRole KEGs_target; //player groupchat format ["Role: %1",_role0]; //array with gunners and commanders if( _role0 select 0 == "TURRET" ) then { _gunners = _role0 select 1; _gunner = _gunners select 0; _gunnersc = count _gunners; if (_gunnersc==1) then { if (_gunner == 0)then { _role= "(Gunner)"; if (isFormationLeader KEGs_target) then { _role = _role + "(Form.Ldr)"; }; if (Leader KEGs_target == KEGs_Target) then { _role = _role + "(Grp.Ldr)"; }; } else { _role= format ["(Gunner 'position: %1')",(_gunner+1)] ; if (isFormationLeader KEGs_target) then { _role = _role + "(Form.Ldr)"; }; if (Leader KEGs_target == KEGs_Target) then { _role = _role + "(Grp.Ldr)"; }; }; } else { if (_gunnersc == 2) then { _commander = _gunners select 1; if (_commander == 0) then { _role= "(Commander)"; if (isFormationLeader KEGs_target) then { _role = _role + "(Form.Ldr)"; }; if (Leader KEGs_target == KEGs_Target) then { _role = _role + "(Grp.Ldr)"; }; } else { _role= format ["(Commander 'position: %1')",(_commander+1)] ; if (isFormationLeader KEGs_target) then { _role = _role + "(Form.Ldr)"; }; if (Leader KEGs_target == KEGs_Target) then { _role = _role + "(Grp.Ldr)"; }; }; }; }; }; /* if( _role0 select 0 == "TURRET" ) then { if (_gunner == 0) then { _role= "(Gunner)" } else { _role= format ["(Gunner 'position: %1')",(_gunner+1)] }; }; if( _role0 select 0 == "TURRET" ) then { if (_commander == 0) then { _role= "(Commander)" } else { _role= format ["(Commander 'position: %1')",(_commander+1)] }; }; */ if( _role0 select 0 == "Driver" ) then { if( (vehicle KEGs_target) isKindOf "Air" ) then { _altASL = round ((getposAsl (vehicle KEGs_target)) select 2); _objz = "Misc01" createVehicle[ 0,0,0 ]; _objz setPos[ ( getPos (vehicle KEGs_target) )select 0,(getPos (vehicle KEGs_target) )select 1,0 ]; _altAGL = round ((vehicle KEGs_target) distance _objz); deleteVehicle _objz; _role = "(Pilot)" ; if (isFormationLeader KEGs_target) then { _role = _role + "(Form.Ldr)"; }; if (Leader KEGs_target == KEGs_Target) then { _role = _role + "(Grp.Ldr)"; }; _role = format ["%1,altitude(ASL: %2)(AGL: %3)",_role,_altASL,_altAGL]; } else { _role = "(Driver)"; if (isFormationLeader KEGs_target) then { _role = _role + "(Form.Ldr)"; }; if (Leader KEGs_target == KEGs_Target) then { _role = _role + "(Grp.Ldr)"; }; }; }; if( _role0 select 0 == "Cargo" ) then { _role = "(Passenger)"; if (isFormationLeader KEGs_target) then { _role = _role + "(Form.Ldr)"; }; if (Leader KEGs_target == KEGs_Target) then { _role = _role + "(Grp.Ldr)"; }; }; //format ["#Role %1 /+/ In Vehicle: %2 unit got this role: %3",date,(vehicle KEGs_target),(AssignedVehicleRole KEGs_target)] createVehicleLocal [0,0,0]; /* */ }; _name = "Unknown"; if(alive KEGs_target) then { _name = name KEGs_target; if(_name == "Error: no unit") then {_name = "Unknown"}; }; if(KEGsDroppedCamera and isNull _nearest) then { // Dropped camera mode - no target _name = ""; _role = ""; }; if ((vehicle KEGs_target == KEGs_target) and (isFormationLeader KEGs_target)) then { _role = _role + "(Form.Ldr)"; }; if ((vehicle KEGs_target == KEGs_target) and (Leader KEGs_target == KEGs_Target)) then { _role = _role + "(Grp.Ldr)"; }; _healthstatus = damage KEGs_target; /* if ( _damagestatus < 0.0001 ) then { _damagestatus = 0; } ; if ( (_damagestatus < 0.1 ) AND (_damagestatus > 0 ) ) then { _damagestatus = 100*(_damagestatus); }; if ((damage (vehicle KEGs_target) ) > 0.1 ) then { _damagestatus = round (100*(_damagestatus)); }; */ _role = format ["%1,health:(%2)",_role,_healthstatus]; if(vehicle KEGs_target != KEGs_target) then { _fuelstatus = fuel (vehicle KEGs_target); if ( _fuelstatus < 0.0001 ) then { _fuelstatus = 0; } ; if ( (_fuelstatus < 0.1 ) AND (_fuelstatus > 0 ) ) then { _fuelstatus = 100*(_fuelstatus); }; if ((fuel (vehicle KEGs_target) ) > 0.1 ) then { _fuelstatus = round (100*(_fuelstatus)); }; _speed = round (speed (vehicle KEGs_target)); _damagestatus = damage (vehicle KEGs_target); /* if ( _damagestatus < 0.0001 ) then { _damagestatus = 0; } ; if ( (_damagestatus < 0.1 ) AND (_damagestatus > 0 ) ) then { _damagestatus = 100*(_damagestatus); }; if ((damage (vehicle KEGs_target) ) > 0.1 ) then { _damagestatus = round (100*(_damagestatus)); }; */ _role = format ["%1,fuel:(%2),spd:(%3),dmg:(%4)",_role,_fuelstatus,_speed,_damagestatus]; }; if(vehicle KEGs_target != KEGs_target) then { _vwArray = weapons (vehicle KEGs_target); _role = format ["%1,vw:(%2)",_role,_vwArray]; }; _iwArray = weapons KEGs_target; _role = format ["%1,iw:(%2)",_role,_iwArray]; ctrlSetText[_cName, format["%1 %2", _name, _role]]; ctrlSetText[_cCamera, format["Camera: %1", _cameraNames select KEGs_cameraIdx]]; // Set name color to gray if dropped cam _ccName = _disp displayctrl _cName; if(KEGsDroppedCamera) then { _ccName ctrlSetTextColor[0.6, 0.6, 0.6, 1]; } else { _ccName ctrlSetTextColor[1, 1, 1, 1]; }; // Set toggle text color for camera menu if(KEGsUseMissileCam) then {lbSetColor[_cLBCameras, _cLbMissileCam, [1, 0.5, 0, 1]]} else {lbSetColor[_cLBCameras, _cLbMissileCam, [1,1,1,0.33]]}; if(KEGsUseNVG) then {lbSetColor[_cLBCameras, _cLbToggleNVG, [1, 0.5, 0, 1]]} else {lbSetColor[_cLBCameras, _cLbToggleNVG, [1,1,1,0.33]]}; if(KEGsTags) then {lbSetColor[_cLBCameras, _cLbToggleTags, [1, 0.5, 0, 1]]} else {lbSetColor[_cLBCameras, _cLbToggleTags, [1,1,1,0.33]]}; if(KEGsAIfilter) then {lbSetColor[_cLBCameras, _cLbToggleAiFilter, [1, 0.5, 0, 1]]} else {lbSetColor[_cLBCameras, _cLbToggleAiFilter, [1,1,1,0.33]]}; if(KEGsFORMLfilter) then {lbSetColor[_cLBCameras, _cLbToggleFORMLFilter, [1, 0.5, 0, 1]]} else {lbSetColor[_cLBCameras, _cLbToggleFORMLFilter, [1,1,1,0.33]]}; if(KEGsDroppedCamera) then { // Dropped free camera, moved with WSAD keys if(KEGs_cameraIdx != 0) then { // User changed camera KEGsDroppedCamera = false; }; // Adjust speed from buttons held down _spd = (_sdistance max 1)*20; if(KEGsCamForward) then { _cspeedx = _cspeedx + ((_spd*_tbase)*sin _fangle); _cspeedy = _cspeedy + ((_spd*_tbase)*cos _fangle); }; if(KEGsCamBack) then { _cspeedx = _cspeedx + ((-_spd*_tbase)*sin _fangle); _cspeedy = _cspeedy + ((-_spd*_tbase)*cos _fangle); }; if(KEGsCamLeft) then { _cspeedx = _cspeedx + ((_spd*_tbase)*sin (_fangle-90)); _cspeedy = _cspeedy + ((_spd*_tbase)*cos (_fangle-90)); }; if(KEGsCamRight) then { _cspeedx = _cspeedx + ((-_spd*_tbase)*sin (_fangle-90)); _cspeedy = _cspeedy + ((-_spd*_tbase)*cos (_fangle-90)); }; // Move camera _cxpos = _cxpos + (_cspeedx*_tbase); _cypos = _cypos + (_cspeedy*_tbase); _czpos = 0; //_h = 2; // Static camera height _l = 2.2; // Slow down _bstr = 5; _cspeedx = _cspeedx * ((1.0-(_tbase*_bstr)) max 0); _cspeedy = _cspeedy * ((1.0-(_tbase*_bstr)) max 0); // Check for nearby targets _dummy setpos[_cxpos, _cypos, 1.5]; _objs = [_cxpos, _cypos, 1.5] nearObjects 5; _nearest = objNull; _dist = 10; { { _d = _dummy distance _x; if(_d < _dist and _x in deathCam and alive _x) then {_nearest = _x;_dist = _d;}; } foreach crew _x; } foreach _objs; if(!isNull _nearest) then {KEGs_tgtIdx = deathCam find _nearest}; } else { // Set targets for all cameras /* _cxpos = getpos vehicle KEGs_target select 0; _cypos = getpos vehicle KEGs_target select 1; _czpos = getpos vehicle KEGs_target select 2; */ _c_pos=(vehicle KEGs_target) modelToWorld [0,0,0]; _cxpos = _c_pos select 0; _cypos = _c_pos select 1; _czpos = _c_pos select 2; }; KEGscam_target camSetPos[_cxpos, _cypos, _czpos+(_h*0.7)]; KEGscam_static camSetTarget KEGscam_target; KEGscam_free camSetTarget[_cxpos, _cypos, _czpos+(_h*0.6)]; KEGscam_flyby camSetTarget KEGscam_target; KEGscam_topdown camSetTarget[_cxpos, _cypos, _czpos+(_h*0.6)]; {_x camSetFov _szoom} foreach _cameras; // Static camera, follows unit from behind KEGscam_static camSetRelPos[sin(_dir)*(-(_l*_sdistance)), cos(_dir)*(-(_l*_sdistance)), 0.6*abs _sdistance]; // Free camera, user rotates camera around target _d = (-(_l*(0.3 max _sdistance))); _z = sin(_fangleY)*(_l*(0.3 max _sdistance)); KEGscam_free camSetRelPos[(sin(_fangle)*_d)*cos(_fangleY), (cos(_fangle)*_d)*cos(_fangleY), _z]; KEGscam_free camCommit 0; // Flyby camera, no user control except zoom if(KEGs_target distance KEGscam_flyby > (_flybydst*1.1)) then { _flybydst = 20+(speed vehicle KEGs_target); KEGscam_flyby camSetRelPos[sin(_dir)*_flybydst, cos(_dir)*_flybydst, 1+((random _h)*1.5)]; KEGscam_flyby camCommit 0; KEGscam_target camCommit 0; }; // Top-down camera KEGscam_topdown camSetRelPos[0.0, -0.01, 2+((0 max _sdistance)*15)]; KEGscam_topdown camCommit 0; // Commit static and flyby cameras _comSpeed = 1.0 - ((speed vehicle KEGs_target)/70); if(_comSpeed < 0.0) then {_comSpeed = 0.0;}; if((vehicle KEGs_target) distance KEGscam_static > 650) then {_comSpeed = 0}; // Jump immediately to distant target KEGscam_static camCommit _comSpeed/2; KEGscam_target camCommit _comSpeed/3; KEGscam_flyby camCommit _comSpeed; _mouseLastX = KEGsMouseCoord select 0; _mouseLastY = KEGsMouseCoord select 1; _camSelLast = lbCurSel _cLBCameras; _tgtSelLast = lbCurSel _cLBTargets; _lastTgt = KEGs_tgtIdx; }; // Wait a moment. 150fps ought to be enough for everyone :-) _tt = time; sleep(1/180);//1/150 _tbase = time-_tt; }}; // Dialog closed with esc key titleText["","BLACK IN", 0.5]; // Destroy cameras, markers, particlesources, etc. {camDestroy _x} foreach _cameras; deletevehicle KEGscam_target; deletevehicle KEGscam_missile; deletevehicle KEGscam_fullmap; {deletemarkerlocal _x} foreach _markers; deletevehicle _t; camUseNVG false; KEGsTags = false; onMapSingleClick ""; {deletevehicle (_x select 1)} foreach KEGsTagSources; KEGsTagSources = []; // Remove eventhandlers TODO: does this work properly? { _fh = _x getVariable "KEGsEHfired"; // _kh = _x getVariable "KEGsEHkilled"; //dwarden,was disabled if(typeName _fh == "SCALAR") then {_x removeEventHandler["fired", _fh]}; // if(typeName _kh == "SCALAR") then {_x removeEventHandler["killed", _kh]}; //dwarden, was disabled } foreach _ehVehicles; /* // Create a butterfly for player to fly with _bpos = [(getpos (vehicle KEGs_target) select 0)-5+random 10, (getpos (vehicle KEGs_target) select 1)-5+random 10, 1]; _bird = "ButterFly" createVehicle _bpos; _bird setvelocity[0,0,5]; _bird setpos _bpos; _bird switchCamera "INTERNAL"; _bird cameraEffect["terminate","FRONT"]; _bird camCommand "manual on"; KEGsBird = _bird; onMapSingleClick "KEGsBird setpos [_pos select 0, _pos select 1, 2];KEGsBird setvelocity[0,0,5];"; cutText["\n\n\n\n\nLand on ground to return to spectating\nClick at map to jump to location","PLAIN DOWN", 0.75]; // Wait until landed, delete bird & restart script waitUntil{getpos _bird select 2 < 0.05 and speed _bird < 1}; */ _seagull switchCamera "INTERNAL"; _seagull cameraEffect["terminate","FRONT"]; [] call EVO_ResetClick;// // Spectating Script for Armed Assault // by Kegetys // #include "common.hpp" #define BORDERSIZE 0.06 #define BORDERXSIZE 0.015 #define CMENUWIDTH 0.1575 // Camera menu width #define TMENUWIDTH 0.200 // Target menu width #define MENUHEIGHT 0.25 #define MAPWIDTH 0.3 #define MAPHEIGHT 0.28 #define MAPTXTSIZE 0.02 #define ELOGWIDTH 0.900 //#define ELOGHEIGHT 0.1525 #define ELOGHEIGHT 0.0 #define IDC_MAIN 55001 #define IDC_CAMERA 55002 #define IDC_TARGET 55003 #define IDC_NAME 55004 #define IDC_MENUCAM 55005 #define IDC_MENUTGT 55006 #define IDC_MENUCAMB 55007 #define IDC_MENUTGTB 55008 #define IDC_BG1 55009 #define IDC_BG2 55010 #define IDC_TITLE 55011 #define IDC_HELP 55012 #define IDC_MAP 55013 #define IDC_MAPFULL 55014 #define IDC_MAPFULLBG 55015 #define IDC_EVENTLOG 50016 #define IDC_DEBUG 55100 #define COL_ORANGE {1, 0.5, 0, 1} #define COL_GRAY {0.2, 0.2, 0.2, 1} class rscSpectate { idd = IDC_MAIN; movingEnable = false; class controls { class mouseHandler: KEGsRscControlsGroup { class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; onMouseMoving = "[""MouseMoving"",_this] call spectate_events"; onMouseButtonDown = "[""MouseButtonDown"",_this] call spectate_events"; onMouseButtonUp = "[""MouseButtonUp"",_this] call spectate_events"; onMouseZChanged = "[""MouseZChanged"",_this] call spectate_events"; idc = 123; x = 0.0; y = 0.0; w = 1.0; h = 1.0; colorBackground[] = {0.2, 0.0, 0.0, 0.0}; }; // Borders and title text class BackgroundTop: KEGsRscText { idc = IDC_BG1; x = -3.0; y = -1.0; w = 7.0; h = BORDERSIZE+1; colorBackground[] = {0.0, 0.0, 0.0, 1.0}; }; class BackgroundBottom: BackgroundTop { idc = IDC_BG2; y = 1.0-BORDERSIZE; }; class title : BackgroundTop { idc = IDC_TITLE; colorBackground[] = {0.0, 0.0, 0.0, 0.0}; text = "SPECTATING"; style = 2; sizeEx = 0.035; colorText[] = {1.0, 0.0, 0.0, 1.0}; shadow = true; y = 0.0; h = BORDERSIZE; font = "Zeppelin32"; } // Camera menu class menuCameras : KEGsRscText { idc = IDC_MENUCAMB; style = ST_HUD_BACKGROUND; x = BORDERXSIZE; y = BORDERSIZE; w = CMENUWIDTH; h = MENUHEIGHT; text = ; colorBackground[] = {0, 0, 0, 0.7}; }; class menuCamerasLB : KEGsRscListBox { class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; autoScrollRewind=0; autoScrollDelay=5; autoScrollSpeed=-1; maxHistoryDelay=1; idc = IDC_MENUCAM; x = BORDERXSIZE; y = BORDERSIZE; w = CMENUWIDTH; h = MENUHEIGHT; colorSelect[] = COL_ORANGE; colorSelect2[] = COL_ORANGE; colorSelectBackground[] = COL_GRAY; colorSelectBackground2[] = COL_GRAY; sizeEx = 0.025; } // Targets menu class menuTargets : KEGsRscText { idc = IDC_MENUTGTB; style = ST_HUD_BACKGROUND; x = 1.0-BORDERXSIZE-TMENUWIDTH; y = BORDERSIZE; w = TMENUWIDTH; h = MENUHEIGHT; text = ; colorBackground[] = {0, 0, 0, 0.7}; }; class menuTargetsLB : KEGsRscListBox { class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; autoScrollRewind=0; autoScrollDelay=5; autoScrollSpeed=-1; maxHistoryDelay=1; idc = IDC_MENUTGT; x = 1.0-BORDERXSIZE-TMENUWIDTH; y = BORDERSIZE; w = TMENUWIDTH; h = MENUHEIGHT; colorSelect[] = COL_ORANGE; colorSelect2[] = COL_ORANGE; colorSelectBackground[] = COL_GRAY; colorSelectBackground2[] = COL_GRAY; colorScrollbar[] = COL_ORANGE; colorText[] = {1, 1, 1, 1}; sizeEx = 0.025; period = 0; } // Top texts class tCamera : KEGsRscActiveText { idc = IDC_CAMERA; x = BORDERXSIZE; y = 0.0; w = 1.0-(2*BORDERXSIZE); h = BORDERSIZE; text = "Camera"; style = 0; sizeEx = 0.025; color[] = {1.0, 1.0, 1.0, 0.9}; shadow = true; font = "Zeppelin32"; onMouseButtonUp = "[""ToggleCameraMenu"",0] call spectate_events"; } class tTarget : tCamera { idc = IDC_TARGET; text = "Target"; style = 1; onMouseButtonUp = "[""ToggleTargetMenu"",0] call spectate_events"; } // Bottom texts class tName : KEGsRscText { idc = IDC_NAME; x = BORDERXSIZE;y= 1.0-BORDERSIZE; w = 1.0-(BORDERXSIZE); h = BORDERSIZE; text = "Unknown"; style = 0; sizeEx = 0.015; //0.030 colorText[] = {1.0, 1.0, 1.0, 0.9}; font = "Zeppelin32"; } // Help text class tHelp : KEGsRscText { type = 13; idc = IDC_HELP; x = BORDERXSIZE*3;y=BORDERSIZE*3; w = 1-(2*BORDERXSIZE*3); h = 1.0-(2*BORDERSIZE*2); text = "Spectating Script v1.01 by Kegetys

Click at the camera/target text at the top to open camera/target menus.
Units on the map can be clicked to target them

Keyboard controls:
A/D - Previous/Next target
W/S - Previous/Next camera
1-5 - Direct camera change
N - 3D view: Toggle night vision on/off
N - Full map: Toggle marker text off/names/types
T - Toggle unit tags on/off
F - Toggle AI filter on/off
G - Toggle Group/Formation Leader filter on/off
Tab - Toggle UI on/off
M - Toggle map on/full/off
Numpad plus/minus - Increase/decrease full map marker size
Space - Drop camera (W,S,A,D keys = movement)
Space - Toggle gunsight (1st person view)
Esc - Butterfly mode

Mouse controls:
Right button - Rotate camera (free camera mode only)
Left button - Move camera
Left and right button - Zoom

Download the client-side addon from
http://www.kegetys.net for enhanced functionality
Improvement modifications by Dwarden
"; style = 2; sizeEx = 0.025; size = 0.025; colorText[] = {1.0, 1.0, 1.0, 1.0}; color[] = {0.0, 0.0, 0.0, 1.0}; font = "LucidaConsoleB"; class Attributes{ font = "Bitstream"; color = "#ffffff"; align = "left"; shadow = true; }; } // Debug text class tDebug : tCamera { idc = IDC_DEBUG; text = ""; style = 2; x = 0; y = 0; w = 1; h = 1; action =""; } // Map class map : KEGsRscMapControl { colorOutside[] = {0,0,0,1}; colorRailWay[] = {0,0,0,1}; maxSatelliteAlpha = 0; alphaFadeStartScale = 1; alphaFadeEndScale = 1.1; class Task { icon = "\ca\ui\data\map_waypoint_ca.paa"; size = 20; color[] = {0,0.9,0,1}; importance = "1.2 * 16 * 0.05"; coefMin = 0.9; coefMax = 4; }; class CustomMark { icon = "\ca\ui\data\map_waypoint_ca.paa"; color[] = {0,0,1,1}; size = 18; importance = 1; coefMin = 1; coefMax = 1; }; idc = IDC_MAP; x = 1.0-MAPWIDTH;y=1.0-MAPHEIGHT; w = MAPWIDTH; h = MAPHEIGHT; colorBackground[] = {0.7, 0.7, 0.7, 0.75}; //sizeEx = 0.02; sizeExLabel = MAPTXTSIZE; sizeExGrid = MAPTXTSIZE; sizeExUnits = MAPTXTSIZE; sizeExNames = MAPTXTSIZE; sizeExInfo = MAPTXTSIZE; sizeExLevel = MAPTXTSIZE; showCountourInterval = "false"; onMouseZChanged = "[""MouseZChangedminimap"",_this] call spectate_events"; class Command { icon = "#(argb,8,8,3)color(1,1,1,1)"; color[] = {0, 0, 0, 1}; size = 18; importance = 1; coefMin = 1; coefMax = 1; }; class ActiveMarker { color[] = {0.3, 0.1, 0.9, 1}; size = 50; }; } // Fullscreen map class mapFullBG : BackgroundTop { idc = IDC_MAPFULLBG; x = -3;y=-3; w = 9;h=9; colorBackground[] = {0.0, 0.0, 0.0, 1.0}; } class mapFull : map { colorOutside[] = {0,0,0,1}; colorRailWay[] = {0,0,0,1}; maxSatelliteAlpha = 0; alphaFadeStartScale = 1; alphaFadeEndScale = 1.1; showCountourInterval = "true"; idc = IDC_MAPFULL; x = 0;y=BORDERSIZE; w = 1;h=1.0-(BORDERSIZE*2); colorBackground[] = {0.85, 0.85, 0.85, 1.0}; } // Fullscreen event log class mapFullEventLog : KEGsRscListBox { class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; autoScrollRewind=0; autoScrollDelay=5; autoScrollSpeed=-1; maxHistoryDelay=1; idc = IDC_EVENTLOG; x = 0; y = 1-ELOGHEIGHT; w = ELOGWIDTH; h = ELOGHEIGHT; colorText[] = {1, 1, 1, 0}; colorSelect[] = {1, 1, 1, 0}; colorSelect2[] = {1, 1, 1, 0}; colorSelectBackground[] = {1, 1, 1, 0}; colorSelectBackground2[] = {1, 1, 1, 0}; colorBackground[] = {0, 0, 0, 0.5}; colorScrollbar[] = {1, 1, 1, 0}; sizeEx = 0.021; } // Dummy element for retrieving mouse events } }comment "for Spectating Script"; comment "Handles events such as keyboard keypresses"; comment "by Kegetys "; _type = _this select 0; _param = _this select 1; _cCamera = 55002; _cTarget = 55003; _cName = 55004; _cLBCameras = 55005; _cLBTargets = 55006; _cCamerasBG = 55007; _cTargetsBG = 55008; _cBG1 = 55009; _cBG2 = 55010; _cTitle = 55011; _cHelp = 55012; _cMap = 55013; _cMapFull = 55014; _cMapFullBG = 55015; _cEventLog = 50016; _cDebug = 55100; _UI = [_cCamera, _cTarget, _cName, _cLBCameras, _cLBTargets, _cCamerasBG, _cTargetsBG, _cBG1, _cBG2, _cTitle, _cHelp]; switch (_type) do { comment "User clicked map, find nearest unit"; case "MapClick": { _dummy = "helihempty" createVehicleLocal _param; _closest = 250; _id = -1; for "_i" from 0 to ((count deathCam)-1) do { if((side (deathCam select _i)) in KEGsShownSides) then { _d = _dummy distance (deathCam select _i); if(_d < _closest) then {_id = _i;_closest = _d}; }; }; if(_id != -1) then { KEGs_tgtIdx = _id; KEGsDroppedCamera = false; if(ctrlVisible _cMapFull) then { comment "Full map -> Small map"; [] spawn {sleep(0.25);["ToggleMap",0] call spectate_events;["ToggleMap",0] call spectate_events;}; } }; deletevehicle _dummy; }; case "KeyDown": { _key = _param select 1; comment "WSAD keys: camera movement in dropped mode"; switch(_key) do { case 32: { KEGsCamRight = true; }; case 30: { KEGsCamLeft = true; }; case 17: { KEGsCamForward = true; }; case 31: { KEGsCamBack = true; }; }; }; comment "Key up - process keypress"; case "KeyUp": { _key = _param select 1; switch(_key) do { case 32: { comment "D = Next target"; if(!KEGsDroppedCamera) then {KEGsSelect = 1}; KEGsCamRight = false; }; case 30: { comment "A = Previous target"; if(!KEGsDroppedCamera) then {KEGsSelect = -1}; KEGsCamLeft = false; }; case 17: { comment "W = Previous camera"; if(!KEGsDroppedCamera) then {KEGs_cameraIdx = KEGs_cameraIdx - 1}; KEGsCamForward = false; }; case 31: { comment "S = Next camera"; if(!KEGsDroppedCamera) then {KEGs_cameraIdx = KEGs_cameraIdx + 1}; KEGsCamBack = false; }; case 20: { comment "T = Toggle tags"; KEGsTags = !KEGsTags; if(!KEGsTags) then { ["ToggleTags", [false, objNull]] call spectate_events; }; }; case 33: { comment "F = Toggle filter"; KEGsAIfilter = !KEGsAIfilter; KEGsNeedUpdateLB = true; }; case 34: { comment "G = Toggle Group/Formation Leader"; KEGsFORMLfilter = !KEGsFORMLfilter; KEGsNeedUpdateLB = true; }; case 57: { comment "Space - drop camera or toggle 1stperson/gunner"; if(KEGscameras select KEGs_cameraIdx == KEGscam_1stperson) then { KEGs1stGunner = !KEGs1stGunner; } else { KEGsDroppedCamera = !KEGsDroppedCamera; if(KEGsDroppedCamera) then { KEGs_cameraIdx = 0; }; }; }; comment "Direct camera change with number keys"; case 2: {KEGs_cameraIdx = 0}; case 3: {KEGs_cameraIdx = 1}; case 4: {KEGs_cameraIdx = 2}; case 5: {KEGs_cameraIdx = 3}; case 6: {KEGs_cameraIdx = 4}; comment "Toggle NVG or map text type"; case 49: { if(ctrlVisible _cMapFull) then { KEGsMarkerType = KEGsMarkerType + 1; if(KEGsMarkerType > 2) then {KEGsMarkerType=0;}; } else { KEGsUseNVG = !KEGsUseNVG; }; }; case 50: {["ToggleMap",0] call spectate_events;}; case 15: {["ToggleUI",0] call spectate_events;}; case 59: {["ToggleHelp",0] call spectate_events;}; comment "Numpad + / -"; case 78: {if(KEGsMarkerSize < 1.7) then {KEGsMarkerSize = KEGsMarkerSize * 1.15}}; case 74: {if(KEGsMarkerSize > 0.7) then {KEGsMarkerSize = KEGsMarkerSize * (1/1.15)}}; } }; comment "Mouse events"; case "MouseMoving": { _x = _param select 1; _y = _param select 2; KEGsMouseCoord = [_x, _y]; }; case "MouseButtonDown": { _x = _param select 2; _y = _param select 3; _button = _param select 1; KEGsMouseButtons set[_button, true]; }; case "MouseButtonUp": { _x = _param select 2; _y = _param select 3; _button = _param select 1; KEGsMouseButtons set[_button, false]; }; case "MouseZChanged": { KEGsMouseScroll = KEGsMouseScroll + (_param select 1); }; case "MouseZChangedminimap": { KEGsMinimapZoom = KEGsMinimapZoom + ((_param select 1)*0.066); if(KEGsMinimapZoom > 0.5) then {KEGsMinimapZoom=0.5}; if(KEGsMinimapZoom < 0.05) then {KEGsMinimapZoom=0.05}; }; case "ToggleCameraMenu": { comment "Hide/unhide camera menu"; if(ctrlVisible _cLBCameras) then { ctrlShow[_cLBCameras, false]; ctrlShow[_cCamerasBG, false]; } else { ctrlShow[_cLBCameras, true]; ctrlShow[_cCamerasBG, true]; }; }; case "ToggleTargetMenu": { comment "Hide/unhide targets menu"; if(ctrlVisible _cLBTargets) then { ctrlShow[_cLBTargets, false]; ctrlShow[_cTargetsBG, false]; } else { ctrlShow[_cLBTargets, true]; ctrlShow[_cTargetsBG, true]; }; }; case "ToggleUI": { comment "Hide/unhide UI"; if(ctrlVisible _cName) then { {ctrlShow[_x, false]} foreach _UI; } else { {ctrlShow[_x, true]} foreach _UI; ctrlShow[_cHelp, false]; ctrlShow[_cLBTargets, false]; ctrlShow[_cTargetsBG, false]; ctrlShow[_cLBCameras, false]; ctrlShow[_cCamerasBG, false]; }; }; case "ToggleHelp": { comment "Hide/unhide Help text"; if(ctrlVisible _cHelp) then { ctrlShow[_cHelp, false]; } else { ctrlShow[_cHelp, true]; }; }; case "ToggleMap": { comment "Hide/unhide Map"; if(ctrlVisible _cMap and ctrlVisible _cMapFull) then { comment "Beginning, hide both"; ctrlShow[_cMap, false]; ctrlShow[_cMapFull, false]; ctrlShow[_cMapFullBG, false]; }; if(ctrlVisible _cMap) then { ctrlShow[_cMap, false]; ctrlShow[_cMapFull, true]; ctrlShow[_cMapFullBG, true]; KEGsMarkerNames = true; KEGsSoundVolume = soundVolume; 0.5 fadeSound 0.2; } else { KEGsMarkerNames = false; if(ctrlVisible _cMapFull) then { ctrlShow[_cMapFull, false]; ctrlShow[_cMapFullBG, false]; 0.5 fadeSound KEGsSoundVolume; } else { ctrlShow[_cMap, true]; }; }; }; comment "Toggle particlesource tags"; case "ToggleTags": { if(_param select 0) then { comment "turn on"; _lifeTime = 1.00; _dropPeriod = 0.05; _size = 1.0; _cam = _param select 1; //_part = "\Ca\Data\ParticleEffects\FireAndSmokeAnim\FireAnim.p3d"; _part = "\Ca\Data\ParticleEffects\Universal\Universal.p3d"; { _u = _x select 0; _s = _x select 1; _size = 1.33 min (((vehicle _u) distance _cam)/100); _color = [1,1,1,1]; /* if(side _u == west) then {_color = [0,0,1,1]}; if(side _u == east) then {_color = [1,0,0,1]}; if(side _u == resistance) then {_color = [0,1,0,1]}; */ if(side _u == west) then {_color = [0,0,1,1]}; if((isFormationLeader _u) and (side _u == west)) then {_color = [0.08,0.08,1,1]}; if(side _u == east) then {_color = [1,0,0,1]}; if((isFormationLeader _u) and (side _u == east)) then {_color = [1,0.08,0.08,1]}; if(side _u == resistance) then {_color = [0,1,0,1]}; if((isFormationLeader _u) and (side _u == resistance)) then {_color = [0.08,1,0.08,1]}; if(side _u == civilian) then {_color = [0.25,0.25,0.25,1]}; if((isFormationLeader _u) and (side _u == civilian)) then {_color = [0.5,0.5,0.5,1]}; //ok if(_u in (units group player)) then {_color = [1,1,0,1]}; // Your group AI members, yellow if((isPlayer _u) and (_u in (units group player))) then {_color = [1,0,1,1]}; // Your group player members, magenta if(_u == player) then {_color = [0,1,1,1]}; //yourself,cyan if(alive _u) then { _colorB = [_color select 0, _color select 1, _color select 2, 0]; _s setParticleParams[[_part,8,4,1], "", "billboard", 1, _lifeTime, [0, 0, 2], [0,0,0], 1, 1, 0.784, 0.1, [_size*2, _size*0.85], [_color, _color, _color, _color, _colorB], [1], 10.0, 0.0, "", "", vehicle _u]; _s setDropInterval _dropPeriod; } else { //let's see dead ones too _colorB = [0.05,0.05,0.05,0]; _s setParticleParams[[_part,8,4,1], "", "billboard", 1, _lifeTime, [0, 0, 2], [0,0,0], 1, 1, 0.784, 0.1, [_size*2, _size*0.85], [_color, _color, _color, _color, _colorB], [1], 10.0, 0.0, "", "", vehicle _u]; _s setDropInterval _dropPeriod; // _s setDropInterval 0; //default }; } foreach KEGsTagSources; } else { comment "turn off"; { _s = _x select 1; _s setDropInterval 0; } foreach KEGsTagSources; }; }; comment "Add string to event log"; case "EventLogAdd": { _txt = _param select 0; _color = _param select 1; _i = lbAdd[_cEventLog, _txt]; lbSetColor[_cEventLog, _i, _color]; lbSetCurSel[_cEventLog, _i]; }; comment "Killed eventhandler, add to log"; case "UnitKilled": { _killed = _param select 0; _killer = _param select 1; _txt = format["%1 (%2) was killed by %3 (%4) (%5m)", _killed, side _killed, _killer, side _killer, _killed distance _killer]; ["EventLogAdd",[_txt,[1,1,1,1]]] call spectate_events; }; comment "Fired eventhandler, display as marker in map"; comment "Also missile camera is handled here"; case "UnitFired": { if(KEGsTags and KEGsClientAddonPresent) then { comment "Bullet path bar"; _u = _param select 0; _w = _param select 1; _a = _param select 4; _o = (_u modelToWorld [0,0,0]) nearestObject _a; //_o = (getpos _u) nearestObject _a; _type = getText(configFile >> "CfgAmmo" >> format["%1", typeOf _o] >> "simulation"); if(_type == "shotBullet") then { _bar = "KEGspect_bar_yellow"; if(side _u == west) then {_bar = "KEGspect_bar_red"}; if(side _u == east) then {_bar = "KEGspect_bar_green"}; _bars = []; for "_i" from 0 to 300 step 5 do { _pos = _o modelToWorld[0,_i+2.5,0]; _b = _bar createVehicleLocal _pos; _b setVectorDir(vectorDir _o); _b setVectorUp(vectorUp _o); _bars = _bars + [_b]; }; _bars spawn {sleep 1.5;{deletevehicle _x} foreach _this}; }; }; if(ctrlVisible _cMapFull) then { _u = _param select 0; _w = _param select 1; _a = _param select 4; _o = (_u modelToWorld [0,0,0]) nearestObject _a; //_o = (getpos _u) nearestObject _a; _len = (speed _o)/15; _dir = getdir _o; comment "Marker for shot effect (stationary circle)"; _m2 = createMarkerLocal[format["KEGsMarkerFired%1", random 10000], getpos _o]; _m2 setMarkerColorLocal "ColorYellow"; _m2 setMarkerSizeLocal[0.45, 0.45]; _m2 setMarkerTypeLocal "Select"; _type = getText(configFile >> "CfgAmmo" >> format["%1", typeOf _o] >> "simulation"); _name = getText(configFile >> "CfgWeapons" >> format["%1", _w] >> "displayName"); comment "Marker for round itself, for bullet display line, everything else a named marker"; if(_type == "shotMissile" OR _type == "shotRocket" OR _type == "shotShell" OR _type == "shotTimeBomb" OR _type == "shotPipeBomb" OR _type == "shotMine" OR _type == "shotSmoke") then { _m = createMarkerLocal[format["KEGsMarkerFired%1", random 10000], [(getpos _o select 0)+(sin _dir)*_len, (getpos _o select 1)+(cos _dir)*_len, 0]]; _m setMarkerTypeLocal "Dot"; _m setMarkerColorLocal "ColorWhite"; _m setMarkerSizeLocal[0.25,0.5]; _m setMarkerTextLocal _name; _m2 spawn {sleep(2);deleteMarkerLocal _this}; [_m, _o] spawn { _m = _this select 0; _o = _this select 1; while{!isNull _o} do { _m setMarkerPosLocal getpos _o; _m setMarkerDirLocal getdir _o; sleep(1/50); }; _m setMarkerColorLocal "ColorBlack"; sleep(3); deleteMarkerLocal _m; }; } else { _m = createMarkerLocal[format["KEGsMarkerFired%1", random 10000], [(getpos _o select 0)+(sin _dir)*_len, (getpos _o select 1)+(cos _dir)*_len, 0]]; _m setMarkerShapeLocal "RECTANGLE"; _m setMarkerSizeLocal[0.25,_len]; _m setMarkerDirLocal (getdir _o); if(KEGsClientAddonPresent) then { _m setMarkerColorLocal "KEGsDarkYellow"; [_m2, _m] spawn {sleep(1.0);(_this select 1) setMarkerColorLocal "KEGsYellowAlpha";sleep(1);deletemarkerLocal (_this select 1);deletemarkerLocal (_this select 0);}; } else { _m setMarkerColorLocal "ColorYellow"; [_m2, _m] spawn {sleep(1.0);(_this select 1) setmarkerbrushLocal "grid";sleep(1);deletemarkerLocal (_this select 1);deletemarkerLocal (_this select 0);}; }; } }; comment "Missile camera"; if(KEGsUseMissileCam and !KEGsDroppedCamera) then { _u = _param select 0; _w = _param select 1; _a = _param select 4; _o = (_u modelToWorld [0,0,0]) nearestObject _a; //_o = (getpos _u) nearestObject _a; _type = getText(configFile >> "CfgAmmo" >> format["%1", typeOf _o] >> "simulation"); _name = getText(configFile >> "CfgWeapons" >> format["%1", _w] >> "displayName"); if(_u == vehicle KEGs_target and (_type == "shotMissile" or _type == "shotRocket") and !KEGsMissileCamActive) then { KEGsMissileCamActive = true; cutText[_name,"PLAIN DOWN", 0.10]; KEGscam_missile switchCamera "INTERNAL"; KEGscam_missile cameraEffect["internal", "BACK"]; KEGscam_missile camsettarget _o; KEGscam_missile camsetrelpos[0,0,0]; KEGscam_missile camSetFov 0.5; KEGscam_missile camCommit 0; KEGscam_missile camSetFov 1.25; KEGscam_missile camCommit 2; _o spawn { while{!isNull _this and speed _this > 1} do { KEGscam_missile camsettarget _this; KEGscam_missile camsetrelpos[0,-0.1,0.20]; KEGscam_missile camCommit 0; sleep(0.01); }; sleep(3); KEGsMissileCamActive = false; }; } }; }; default { hint "Unknown event"; }; } // JIP CHECK // Prevents the script executing until the player has synchronised correctly: #include "f_waitForJIP.sqf" // Connect handler for spectating script, check if camera on seagull for first 10 seconds and launch spectating script for "_i" from 0 to 20 do { scopeName "SpectaLoop"; if(typeof cameraOn == "SeaGull") then {[cameraOn,cameraOn,cameraOn] execVM "spect\specta.sqf";breakOut "SpectaLoop"}; sleep 0.5; };\V'!"k:I|&x