sreVartillery\art.sqs�۶HUartillery\fire.sqsLܶH�artillery\setfire.sqsN۶Hubriefing.html�n�HS counting.sqsd[�H�description.ext^[�H,init.sqs��H�markers.sqsv�Hmission.sqm�|�HF�res1.sqs=[�Hres10.sqs=[�Hres11.sqs=[�Hres12.sqs=[�Hres2.sqs=[�H res3.sqs=[�H res4.sqs=[�H res5.sqs=[�H res6.sqs=[�H res7.sqs=[�H res8.sqs=[�H res9.sqs=[�H respawn.sqsI[�HY showreserve.sqsI[�Huups.sqfO[�HivplaySound "Firedirection"; ~10 ;+ + + Fire + + + [cannon1,arttarget] exec "artillery\fire.sqs" [cannon2,arttarget] exec "artillery\fire.sqs" [cannon3,arttarget] exec "artillery\fire.sqs" [cannon4,arttarget] exec "artillery\fire.sqs" [cannon5,arttarget] exec "artillery\fire.sqs" ;[cannon6,arttarget] exec "artillery\fire.sqs" exit _K = _this select 0; _Z = _this select 1; _X = getPos _Z select 0; _Y = getPos _Z select 1; _K doWatch [_X,_Y,5000] ; _A =_K Ammo "M119"; ~5 _K fire "M119"; @ _A > _K Ammo "M119"; ~2 _N = nearestObject [_K,"HeatM119"]; _X = _X+((random 70)-40) ; _Y = _Y+((random 70)-40) ; _H = "HeliHEmpty" createVehicle [_X,_Y] ; ~1 _H say "Ari"; ;~1 _N setPos [_X,_Y,0]; "SH_125_HE" createVehicle [_X,_Y,0] ; deleteVehicle _H; exit;?(local Server) : goto "skip" setfire=true; titleText ["Click on the map to set your firedirection","plain down"]; onMapSingleClick "arttarget setPos _pos; setfire=false"; @!setfire; "firepoint" setMarkerPos getPos arttarget; onMapSingleClick ""; [] exec "artillery\art.sqs"; titleText ["", "plain down"]; ~15 "firepoint" setMarkerPos [0,0] ; #SKIP exit; Trainers Surprise

You and your team are in the army boot camp receiving your training. The instructors have received some motion detection alarms nearby the training facility. Some farmer at the main gate reported also unfamiliar engine noises coming from the training camp.

You are to check out the situation on the double.

Mission created by Spec - Oulu Bad Boys
v1.05

www.spectrick.com


You need to investigate the area near the training facility. In case of you encounter unauthorised persons you are authorised to use lethal force and neutralise them.

You are starting your mission from the main boot camp.
There are some vehicles and weapons to choose. Unfortunately we are a bit low on budget due to presidency campaigns consuming most of the funds thus ammo is limited in the vehicles.


Advance to the camp and secure the area. You will find supplies from the small camp. Once you secure it you will receive reinforcements through the main base.


Proceed to Training Facility and secure it.




Victory


Training facility secured. Job well done!




Failure


Tsk-tsk Reckless...didn't you know that enemy bullets hurt?




Failure


So close but still so far from the target... You need to improve a bit.


#counting hint format["Reserves left: %1 ",reserve]; #passing ~60 goto "counting"; ;? (Param2 == 2) : goto "countend"; ;#countend ;exit;respawn="BASE"; respawndelay=5; onLoadMission="Get Ready...to be surprised"; disabledAI = false; titleParam1="Time Of Day"; valuesParam1[]={5,8,11,14,17,20,23,2}; defvalueParam1=8; textsParam1[]={"06:00","09:00","12:00","15:00","18:00","21:00","24:00","03:00"}; //titleParam2 = "Respawn"; //valuesParam2[] = {1, 2}; //defValueParam2 = 1 //textsParam2[] = {"Yes", "No"}; class CfgSounds { sounds[] = {Ari,Firedirection,F14,Bumm}; class Ari {name="Ari";sound[]={\sounds\ari.ogg,db+30,1.0};titles[] = {}; }; class Firedirection {name="Firedirection";sound[]={\sounds\firedirection.ogg,db+17,1.0};titles[] = {}; }; class F14 {name="F14";sound[]={\sounds\f14.ogg,db+17,1.0};titles[] = {}; }; class Bumm {name="Bumm";sound[]={\sounds\bumm.ogg,db+15,1.0};titles[] = {}; }; }; class Header { gameType = COOP; //DM, Team, Coop, CTI minPlayers = 3; //min # of players the mission supports maxPlayers = 12; //Max # of players the mission supports playerCountMultipleOf = 1; //OFP:Elite option. }; ?!(local Server) : goto "skip" #SKIP setdate [2007,8, 22, param1, 00] crateusa2 addWeaponCargo ["NVGoggles",20]; cratesov1 addWeaponCargo ["NVGoggles",25]; crateusa2 addWeaponCargo ["Stinger",1]; crateusa3 addMagazineCargo ["Stinger",4]; ?(param2 < 8):goto "night" ?(param2 > 17):goto "night" goto "ending" #NIGHT P1 addWeapon "NVGoggles"; P2 addWeapon "NVGoggles"; P3 addWeapon "NVGoggles"; P4 addWeapon "NVGoggles"; P5 addWeapon "NVGoggles"; P6 addWeapon "NVGoggles"; P7 addWeapon "NVGoggles"; P8 addWeapon "NVGoggles"; P9 addWeapon "NVGoggles"; P10 addWeapon "NVGoggles"; P11 addWeapon "NVGoggles"; P12 addWeapon "NVGoggles"; #ENDING [] exec "markers.sqs" _markerobj = createMarker["traintarget",[2136.934082,1877.541992]]; _markerobj setMarkerShape "FLAG"; "traintarget" setMarkerType "RECTANGLE"; "traintarget" setMarkerSize [100, 100]; _markerobj = createMarker["camptarget",[2466.549316,1750.012329]]; _markerobj setMarkerShape "FLAG"; "camptarget" setMarkerType "ELLIPSE"; "camptarget" setMarkerSize [200, 130]; _markerobj = createMarker["test",[2190.454102,1725.315918]]; _markerobj setMarkerShape "FLAG"; "test" setMarkerType "RECTANGLE"; "test" setMarkerSize [10, 10]; version=11; class Mission { addOns[]= { "cacharacters", "lddk_isle", "CATracked", "CAWheeled3_M1030", "CAWheeled", "caweapons", "WarfareBuildings_TOW_Tripod", "m2hd_mini", "CABuildings", "dshkm_mini", "CAAir", "camisc" }; addOnsAuto[]= { "cacharacters", "WarfareBuildings_TOW_Tripod", "caweapons", "CATracked", "CAAir", "dshkm_mini", "CAWheeled", "CAWheeled3_M1030", "m2hd_mini", "CABuildings", "camisc", "lddk_isle" }; randomSeed=4833283; class Intel { briefingName="co 12 Trainers Surprise"; briefingDescription="Training with real bullets..."; startWeather=0.955337; startFog=0.500000; forecastWeather=0.838823; forecastFog=0.022324; year=2008; month=8; day=8; hour=13; }; class Groups { items=45; class Item0 { side="WEST"; class Vehicles { items=12; class Item0 { position[]={2800.894775,8.000000,1830.314697}; azimut=180.000000; special="NONE"; id=0; side="WEST"; vehicle="SquadLeaderW"; player="PLAYER COMMANDER"; leader=1; rank="LIEUTENANT"; skill=0.600000; text="P1"; init="this exec ""res1.sqs"""; }; class Item1 { position[]={2792.375488,8.000000,1825.325439}; special="NONE"; id=86; side="WEST"; vehicle="SoldierWAT"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P2"; init="this exec ""res2.sqs""; dostop this"; }; class Item2 { position[]={2795.591797,8.000000,1825.324951}; special="NONE"; id=87; side="WEST"; vehicle="SoldierWMG"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P3"; init="this exec ""res3.sqs""; dostop this"; }; class Item3 { position[]={2798.809082,8.000000,1825.539917}; special="NONE"; id=88; side="WEST"; vehicle="SoldierWMedic"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P4"; init="this exec ""res4.sqs""; dostop this"; }; class Item4 { position[]={2801.811523,8.000000,1825.539795}; special="NONE"; id=89; side="WEST"; vehicle="SoldierWSniper"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P5"; init="this exec ""res5.sqs""; dostop this"; }; class Item5 { position[]={2790.766846,8.000000,1822.215576}; special="NONE"; id=91; side="WEST"; vehicle="SoldierWG"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P7"; init="this exec ""res7.sqs""; dostop this"; }; class Item6 { position[]={2793.447510,8.000000,1822.322754}; special="NONE"; id=92; side="WEST"; vehicle="SoldierWMG"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P8"; init="this exec ""res8.sqs""; dostop this"; }; class Item7 { position[]={2799.238281,8.000000,1822.429932}; special="NONE"; id=94; side="WEST"; vehicle="SoldierWSniper"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P10"; init="this exec ""res10.sqs""; dostop this"; }; class Item8 { position[]={2802.240723,8.000000,1822.215576}; special="NONE"; id=95; side="WEST"; vehicle="SoldierWB"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P11"; init="this exec ""res11.sqs""; dostop this"; }; class Item9 { position[]={2805.028809,8.000000,1822.430176}; special="NONE"; id=96; side="WEST"; vehicle="TeamLeaderW"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P12"; init="this exec ""res12.sqs""; dostop this"; }; class Item10 { position[]={2804.814209,8.000000,1825.432373}; special="NONE"; id=90; side="WEST"; vehicle="SoldierWB"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P6"; init="this exec ""res6.sqs""; dostop this"; }; class Item11 { position[]={2796.450195,8.000000,1822.430176}; special="NONE"; id=93; side="WEST"; vehicle="SoldierWAT"; player="PLAY CDG"; rank="SERGEANT"; skill=0.600000; text="P9"; init="this exec ""res9.sqs""; dostop this"; }; }; }; class Item1 { side="WEST"; class Vehicles { items=13; class Item0 { position[]={2785.783936,13.056890,1821.344604}; azimut=270.000000; special="NONE"; id=17; side="WEST"; vehicle="SoldierWB"; leader=1; lock="LOCKED"; rank="SERGEANT"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Middle"""; }; class Item1 { position[]={2784.881348,13.056890,1805.830933}; azimut=265.000000; special="NONE"; id=18; side="WEST"; vehicle="SoldierWB"; lock="LOCKED"; rank="CORPORAL"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Middle"";"; }; class Item2 { position[]={2784.663818,13.056890,1878.922485}; azimut=340.000000; special="NONE"; id=19; side="WEST"; vehicle="SoldierWMG"; lock="LOCKED"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Middle"""; }; class Item3 { position[]={2784.181641,13.056890,1712.216309}; azimut=220.000000; special="NONE"; id=20; side="WEST"; vehicle="SoldierWMG"; lock="LOCKED"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Middle"";"; }; class Item4 { position[]={2934.407471,13.133422,1878.420654}; azimut=45.000000; special="NONE"; id=22; side="WEST"; vehicle="SoldierWB"; lock="LOCKED"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Middle"";"; }; class Item5 { position[]={2934.825684,13.056890,1711.895996}; azimut=135.000000; special="NONE"; id=21; side="WEST"; vehicle="SoldierWB"; lock="LOCKED"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Middle"";"; }; class Item6 { position[]={2766.746582,11.971786,1819.432251}; azimut=270.000000; special="NONE"; id=38; side="WEST"; vehicle="SoldierWMG"; lock="LOCKED"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Down"";"; }; class Item7 { position[]={2765.400879,12.563241,1806.918335}; azimut=245.000000; special="NONE"; id=39; side="WEST"; vehicle="SoldierWMG"; lock="LOCKED"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Down"";"; }; class Item8 { position[]={2798.790527,8.000000,1833.707886}; azimut=180.000000; special="NONE"; id=40; side="WEST"; vehicle="OfficerW"; lock="LOCKED"; rank="SERGEANT"; skill=0.600000; init="this disableAI ""MOVE""; this setUnitPos ""UP""; removeallweapons this; "; }; class Item9 { position[]={2769.456055,8.823529,1824.454590}; azimut=270.000000; special="NONE"; id=41; side="WEST"; vehicle="SoldierWB"; lock="LOCKED"; rank="CORPORAL"; skill=0.500000; init="this setPos ((position this nearestobject 1271) buildingPos 1); this disableAI ""MOVE""; this setUnitPos ""Middle"";"; }; class Item10 { position[]={2794.077637,8.000000,1814.222900}; azimut=270.000000; special="NONE"; id=42; side="WEST"; vehicle="TOW_TriPod"; lock="UNLOCKED"; skill=0.500000; }; class Item11 { position[]={2774.564209,8.447653,1821.953613}; azimut=345.000000; special="NONE"; id=43; side="WEST"; vehicle="M2StaticMG"; lock="UNLOCKED"; skill=0.500000; }; class Item12 { position[]={2776.508789,8.310631,1802.836182}; azimut=195.000000; special="NONE"; id=44; side="WEST"; vehicle="M2StaticMG"; lock="UNLOCKED"; skill=0.500000; }; }; }; class Item2 { side="LOGIC"; class Vehicles { items=1; class Item0 { position[]={3826.205322,4.016278,1969.767090}; special="NONE"; id=49; side="LOGIC"; vehicle="Logic"; leader=1; lock="UNLOCKED"; skill=0.500000; text="respawntemp"; }; }; }; class Item3 { side="LOGIC"; class Vehicles { items=1; class Item0 { position[]={2798.193848,8.000000,1818.856445}; special="NONE"; id=50; side="LOGIC"; vehicle="Logic"; leader=1; skill=0.600000; text="SpawnBase"; }; }; }; class Item4 { side="EAST"; class Vehicles { items=5; class Item0 { position[]={1156.012695,15.529411,2430.693115}; azimut=95.000000; special="NONE"; id=52; side="EAST"; vehicle="T72"; leader=1; rank="CAPTAIN"; skill=0.733333; text="T1"; }; class Item1 { position[]={1128.879150,14.590716,2423.403564}; azimut=95.000000; special="NONE"; id=53; side="EAST"; vehicle="T72"; rank="LIEUTENANT"; skill=0.600000; }; class Item2 { position[]={1161.625732,14.787234,2403.672852}; azimut=95.000000; special="NONE"; id=54; side="EAST"; vehicle="T72"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={1143.312866,14.833641,2456.513184}; azimut=95.000000; special="NONE"; id=385; side="EAST"; vehicle="T72"; rank="CAPTAIN"; skill=0.733333; }; class Item4 { position[]={1128.879028,13.393360,2489.400391}; azimut=105.000000; special="NONE"; id=401; side="EAST"; vehicle="KA50"; rank="SERGEANT"; skill=0.500000; }; }; class Waypoints { items=3; class Item0 { position[]={1346.121460,17.607552,2396.681152}; placement=50.000000; combatMode="RED"; speed="NORMAL"; combat="COMBAT"; class Effects { }; timeoutMin=10.000000; timeoutMid=15.000000; timeoutMax=20.000000; showWP="NEVER"; }; class Item1 { position[]={2066.541992,5.538208,1759.468018}; placement=120.000000; type="SAD"; speed="NORMAL"; expActiv="nul=[T1,""traintarget""] execVM ""ups.sqf"""; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={2333.546875,8.823529,1810.860596}; placement=125.000000; type="SAD"; class Effects { }; showWP="NEVER"; }; }; }; class Item5 { side="EAST"; class Vehicles { items=16; class Item0 { position[]={2117.173340,7.700000,1887.495483}; azimut=143.537994; special="NONE"; id=55; side="EAST"; vehicle="SoldierESaboteurPipe"; rank="SERGEANT"; skill=0.566667; init="nul=[this,""traintarget"",""random""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2111.789307,7.700000,1889.734619}; azimut=143.538147; special="NONE"; id=56; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2110.179688,7.700000,1888.544189}; azimut=143.538147; special="NONE"; id=57; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={2108.572021,7.700000,1887.356689}; azimut=143.538147; special="NONE"; id=58; side="EAST"; vehicle="SoldierESaboteurMarksman"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={2111.996338,7.700000,1884.633423}; azimut=143.537994; special="NONE"; id=59; side="EAST"; vehicle="SoldierEMedic"; rank="CORPORAL"; skill=0.513534; }; class Item5 { position[]={2114.350830,7.700000,1891.533813}; azimut=143.537994; special="NONE"; id=60; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.466667; }; class Item6 { position[]={2111.960205,7.700000,1892.441040}; azimut=143.538147; special="NONE"; id=61; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.466667; }; class Item7 { position[]={2110.015381,7.700000,1891.195068}; azimut=143.538147; special="NONE"; id=62; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.466667; }; class Item8 { position[]={2137.464844,7.700000,1918.434692}; special="NONE"; id=172; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item9 { position[]={2097.784180,7.700000,1911.427612}; azimut=335.000000; special="NONE"; id=174; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item10 { position[]={2139.916748,7.700000,1919.761353}; special="NONE"; id=182; side="EAST"; vehicle="TOW_TriPod_East"; rank="CORPORAL"; skill=0.500000; }; class Item11 { position[]={2084.892334,7.700000,1907.498779}; azimut=300.000000; special="NONE"; id=186; side="EAST"; vehicle="TOW_TriPod_East"; rank="CORPORAL"; skill=0.500000; }; class Item12 { position[]={2132.213379,7.700000,1896.196533}; azimut=90.000000; special="NONE"; id=187; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item13 { position[]={2105.469238,7.700000,1867.508301}; azimut=180.000000; special="NONE"; id=256; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.500000; }; class Item14 { position[]={2123.647949,7.700000,1884.079224}; azimut=180.000000; special="NONE"; id=258; side="EAST"; vehicle="OfficerE"; leader=1; rank="MAJOR"; skill=0.800000; text="Enemy1"; }; class Item15 { position[]={2118.923096,7.700000,1894.096680}; azimut=180.000000; special="NONE"; id=262; side="EAST"; vehicle="SoldierEAT"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item6 { side="EAST"; class Vehicles { items=14; class Item0 { position[]={2161.916016,7.700000,1885.019043}; azimut=-206.715363; special="NONE"; id=63; side="EAST"; vehicle="SoldierESaboteurPipe"; leader=1; rank="SERGEANT"; skill=0.566667; init="nul=[this,""traintarget"",""random""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2155.201172,7.700000,1887.238892}; azimut=-206.715363; special="NONE"; id=65; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.533333; }; class Item2 { position[]={2156.988770,7.700000,1888.137085}; azimut=-206.715363; special="NONE"; id=64; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.533333; }; class Item3 { position[]={2153.414307,7.700000,1886.339355}; azimut=-206.715363; special="NONE"; id=66; side="EAST"; vehicle="SoldierESaboteurMarksman"; rank="CORPORAL"; skill=0.533333; }; class Item4 { position[]={2160.989014,7.700000,1887.609863}; azimut=143.537994; special="NONE"; id=67; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.466667; }; class Item5 { position[]={2158.329346,7.700000,1884.224609}; azimut=143.537994; special="NONE"; id=68; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.466667; }; class Item6 { position[]={2158.571289,7.700000,1889.181519}; azimut=143.537994; special="NONE"; id=69; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.466667; }; class Item7 { position[]={2155.548584,7.700000,1884.224609}; azimut=143.537994; special="NONE"; id=70; side="EAST"; vehicle="SoldierEMedic"; rank="CORPORAL"; skill=0.466667; }; class Item8 { position[]={2179.533203,7.700000,1912.842041}; special="NONE"; id=173; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item9 { position[]={2188.983398,7.700000,1876.842041}; azimut=90.000000; special="NONE"; id=179; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item10 { position[]={2195.510010,7.700000,1903.096313}; azimut=90.000000; special="NONE"; id=180; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item11 { position[]={2189.062744,7.700000,1890.294922}; azimut=90.000000; special="NONE"; id=183; side="EAST"; vehicle="TOW_TriPod_East"; rank="CORPORAL"; skill=0.500000; }; class Item12 { position[]={2174.562988,7.700000,1884.696655}; azimut=180.000000; special="NONE"; id=261; side="EAST"; vehicle="SoldierEAT"; rank="SERGEANT"; skill=0.600000; }; class Item13 { position[]={2149.202148,7.700000,1903.225098}; azimut=170.000000; special="NONE"; id=312; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; }; }; class Item7 { side="EAST"; class Vehicles { items=14; class Item0 { position[]={2157.464355,7.700000,1852.229004}; azimut=-204.065994; special="NONE"; id=71; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.566667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2152.685547,7.700000,1855.571289}; azimut=-204.065994; special="NONE"; id=72; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.533333; }; class Item2 { position[]={2150.859375,7.700000,1854.755005}; azimut=-204.065994; special="NONE"; id=73; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item3 { position[]={2149.033691,7.700000,1853.940430}; azimut=-204.065994; special="NONE"; id=74; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.533333; }; class Item4 { position[]={2147.208008,7.700000,1853.124268}; azimut=-204.065994; special="NONE"; id=75; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item5 { position[]={2145.381592,7.700000,1852.308838}; azimut=-204.065994; special="NONE"; id=76; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.633333; }; class Item6 { position[]={2143.555176,7.700000,1851.492920}; azimut=-204.065994; special="NONE"; id=77; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item7 { position[]={2155.380615,7.700000,1855.925293}; azimut=165.000000; special="NONE"; id=105; side="EAST"; vehicle="SoldierEMedic"; rank="CORPORAL"; skill=0.500000; }; class Item8 { position[]={2150.828125,7.700000,1823.570801}; azimut=135.000000; special="NONE"; id=108; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item9 { position[]={2149.712891,7.700000,1857.804199}; azimut=60.000000; special="NONE"; id=142; side="EAST"; vehicle="SoldierESniper"; rank="CORPORAL"; skill=0.333333; }; class Item10 { position[]={2186.975586,7.700000,1840.661865}; azimut=90.000000; special="NONE"; id=178; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item11 { position[]={2178.904785,7.700000,1832.351685}; azimut=180.000000; special="NONE"; id=181; side="EAST"; vehicle="TOW_TriPod_East"; rank="CORPORAL"; skill=0.500000; }; class Item12 { position[]={2179.390137,7.700000,1840.235596}; azimut=180.000000; special="NONE"; id=260; side="EAST"; vehicle="SoldierEAT"; rank="SERGEANT"; skill=0.600000; }; class Item13 { position[]={2143.403564,7.700000,1856.275635}; azimut=145.000000; special="NONE"; id=381; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item8 { side="EAST"; class Vehicles { items=14; class Item0 { position[]={2074.821777,7.949275,1870.072144}; azimut=155.000000; special="NONE"; id=78; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.666667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2071.176270,8.299753,1875.080933}; azimut=155.000000; special="NONE"; id=80; side="EAST"; vehicle="SoldierEG"; rank="CORPORAL"; skill=0.533333; }; class Item2 { position[]={2069.363525,8.393353,1874.235596}; azimut=155.000000; special="NONE"; id=81; side="EAST"; vehicle="SoldierEB"; rank="CORPORAL"; skill=0.633333; }; class Item3 { position[]={2067.551025,8.555424,1873.390381}; azimut=155.000000; special="NONE"; id=82; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.533333; }; class Item4 { position[]={2065.738281,8.778112,1872.545166}; azimut=155.000000; special="NONE"; id=83; side="EAST"; vehicle="SoldierEMG"; skill=0.600000; }; class Item5 { position[]={2063.925781,9.034007,1871.699951}; azimut=155.000000; special="NONE"; id=84; side="EAST"; vehicle="SoldierEB"; rank="CORPORAL"; skill=0.600000; }; class Item6 { position[]={2062.113037,9.289924,1870.854736}; azimut=155.000000; special="NONE"; id=85; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item7 { position[]={2065.599121,8.982808,1879.643799}; azimut=60.000000; special="NONE"; id=144; side="EAST"; vehicle="SoldierESniper"; rank="CORPORAL"; skill=0.333333; }; class Item8 { position[]={2086.358887,7.700000,1895.329956}; azimut=270.000000; special="NONE"; id=175; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item9 { position[]={2085.596680,7.700000,1869.380493}; azimut=270.000000; special="NONE"; id=176; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item10 { position[]={2085.207031,7.700000,1850.274414}; azimut=225.000000; special="NONE"; id=184; side="EAST"; vehicle="TOW_TriPod_East"; rank="CORPORAL"; skill=0.500000; }; class Item11 { position[]={2085.992676,7.700000,1884.546143}; azimut=275.000000; special="NONE"; id=185; side="EAST"; vehicle="TOW_TriPod_East"; rank="CORPORAL"; skill=0.500000; }; class Item12 { position[]={2063.582520,9.082455,1876.356445}; azimut=110.000000; id=356; side="EAST"; vehicle="SoldierEMedic"; skill=0.200000; }; class Item13 { position[]={2069.577393,8.529751,1878.742065}; azimut=145.000000; special="NONE"; id=382; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item9 { side="EAST"; class Vehicles { items=18; class Item0 { position[]={2123.041748,7.700000,1849.464111}; azimut=165.000000; special="NONE"; id=97; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="LIEUTENANT"; skill=0.527068; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2118.849854,7.700000,1853.517212}; azimut=165.000000; special="NONE"; id=98; side="EAST"; vehicle="SoldierEMG"; rank="SERGEANT"; skill=0.533333; }; class Item2 { position[]={2116.917969,7.700000,1852.999634}; azimut=165.000000; special="NONE"; id=99; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item3 { position[]={2114.986084,7.700000,1852.481934}; azimut=165.000000; special="NONE"; id=100; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.533333; }; class Item4 { position[]={2113.054199,7.700000,1851.964355}; azimut=165.000000; special="NONE"; id=101; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item5 { position[]={2111.122314,7.700000,1851.446655}; azimut=165.000000; special="NONE"; id=102; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.533333; }; class Item6 { position[]={2109.190430,7.700000,1850.929077}; azimut=165.000000; special="NONE"; id=103; side="EAST"; vehicle="SoldierEB"; rank="CORPORAL"; skill=0.500000; }; class Item7 { position[]={2121.580566,7.700000,1852.938232}; azimut=165.000000; special="NONE"; id=104; side="EAST"; vehicle="SoldierEMedic"; rank="CORPORAL"; skill=0.500000; }; class Item8 { position[]={2139.525391,7.700000,1815.413696}; azimut=180.000000; special="NONE"; id=106; side="EAST"; vehicle="TOW_TriPod_East"; rank="CORPORAL"; skill=0.500000; }; class Item9 { position[]={2130.287354,7.700000,1814.593262}; azimut=180.000000; special="NONE"; id=107; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item10 { position[]={2112.344727,7.700000,1848.462524}; azimut=60.000000; special="NONE"; id=143; side="EAST"; vehicle="SoldierESniper"; rank="CORPORAL"; skill=0.333333; }; class Item11 { position[]={2095.897949,7.700000,1833.766113}; azimut=180.000000; special="NONE"; id=177; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item12 { position[]={2131.742188,7.700000,1855.950928}; azimut=90.000000; special="NONE"; id=188; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item13 { position[]={2105.307861,7.700000,1856.045898}; azimut=135.000000; special="NONE"; id=253; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item14 { position[]={2116.148438,7.700000,1832.963501}; azimut=180.000000; special="NONE"; id=254; side="EAST"; vehicle="DSHkM_Mini_TriPod"; rank="CORPORAL"; skill=0.500000; }; class Item15 { position[]={2092.104980,7.700000,1840.660645}; azimut=180.000000; special="NONE"; id=255; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.500000; }; class Item16 { position[]={2119.567139,7.700000,1868.126465}; azimut=180.000000; special="NONE"; id=257; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.500000; }; class Item17 { position[]={2131.625977,7.700000,1823.467773}; azimut=180.000000; special="NONE"; id=259; side="EAST"; vehicle="SoldierEAT"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item10 { side="EAST"; class Vehicles { items=3; class Item0 { position[]={1973.394043,18.309404,1675.308350}; azimut=135.000000; special="NONE"; id=109; side="EAST"; vehicle="BMP2"; leader=1; rank="SERGEANT"; skill=0.500000; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={1981.838623,17.154011,1683.430786}; azimut=135.000000; special="NONE"; id=110; side="EAST"; vehicle="BMP2"; rank="CORPORAL"; skill=0.500000; }; class Item2 { position[]={1964.087769,19.330530,1668.075317}; azimut=135.000000; special="NONE"; id=111; side="EAST"; vehicle="BMP2"; rank="CORPORAL"; skill=0.500000; }; }; }; class Item11 { side="EAST"; class Vehicles { items=12; class Item0 { position[]={2447.298340,6.986298,1737.945068}; azimut=110.000000; special="NONE"; id=112; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.566667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2441.573730,6.947156,1736.836060}; azimut=110.000000; special="NONE"; id=113; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.526900; }; class Item2 { position[]={2440.889648,6.880824,1734.956665}; azimut=110.000000; special="NONE"; id=114; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item3 { position[]={2440.205811,6.814491,1733.077271}; azimut=110.000000; special="NONE"; id=115; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.533333; }; class Item4 { position[]={2439.521729,6.748164,1731.197876}; azimut=110.000000; special="NONE"; id=116; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item5 { position[]={2438.837646,6.705883,1729.318481}; azimut=110.000000; special="NONE"; id=117; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.533333; }; class Item6 { position[]={2438.153564,6.705883,1727.439087}; azimut=110.000000; special="NONE"; id=118; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item7 { position[]={2442.253906,7.052253,1739.813843}; azimut=110.000000; special="NONE"; id=119; side="EAST"; vehicle="SoldierEMedic"; skill=0.500000; }; class Item8 { position[]={2444.203857,7.058824,1741.940918}; azimut=110.000000; special="NONE"; id=120; side="EAST"; vehicle="SoldierEAT"; skill=0.600000; }; class Item9 { position[]={2436.281738,6.914472,1735.910034}; azimut=60.000000; id=141; side="EAST"; vehicle="SoldierESniper"; rank="CORPORAL"; skill=0.333333; }; class Item10 { position[]={2445.361816,6.784618,1732.230835}; azimut=115.000000; special="NONE"; id=378; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.600000; }; class Item11 { position[]={2437.955322,7.047245,1739.671875}; special="NONE"; id=396; side="EAST"; vehicle="SoldierEG"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item12 { side="EAST"; class Vehicles { items=12; class Item0 { position[]={2544.787354,8.117647,1770.039063}; azimut=65.000000; id=121; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget"",""random""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2541.523682,8.117647,1765.207153}; azimut=65.000000; id=122; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2542.368896,8.117647,1763.394531}; azimut=65.000000; id=123; side="EAST"; vehicle="SoldierEB"; skill=0.200000; }; class Item3 { position[]={2543.214111,8.117647,1761.581909}; azimut=65.000000; id=124; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={2544.059326,8.117647,1759.769287}; azimut=65.000000; id=125; side="EAST"; vehicle="SoldierEB"; skill=0.200000; }; class Item5 { position[]={2544.904541,8.117647,1757.956665}; azimut=65.000000; id=126; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2545.750000,8.117647,1756.144043}; azimut=65.000000; id=127; side="EAST"; vehicle="SoldierEB"; skill=0.200000; }; class Item7 { position[]={2538.992188,8.046505,1768.407593}; azimut=65.000000; id=128; side="EAST"; vehicle="SoldierEMedic"; rank="SERGEANT"; skill=0.466667; }; class Item8 { position[]={2536.127686,7.844314,1764.110352}; azimut=65.000000; id=129; side="EAST"; vehicle="SoldierEAT"; rank="SERGEANT"; skill=0.466667; }; class Item9 { position[]={2540.354736,8.040226,1758.548340}; azimut=60.000000; id=140; side="EAST"; vehicle="SoldierESniper"; rank="CORPORAL"; skill=0.333333; }; class Item10 { position[]={2536.272705,7.854546,1760.051025}; azimut=45.000000; special="NONE"; id=380; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.600000; }; class Item11 { position[]={2541.938232,7.814801,1753.771362}; special="NONE"; id=397; side="EAST"; vehicle="SoldierEG"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item13 { side="EAST"; class Vehicles { items=12; class Item0 { position[]={2497.858887,6.622812,1689.787354}; azimut=60.000000; id=130; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2491.028809,6.389255,1691.617432}; azimut=60.000000; id=131; side="EAST"; vehicle="UAZMG"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2496.028809,6.352941,1682.957275}; azimut=60.000000; id=132; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={2497.028809,6.352941,1681.225220}; azimut=60.000000; id=133; side="EAST"; vehicle="SoldierEG"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={2503.687500,6.705883,1686.441895}; azimut=60.000000; id=134; side="EAST"; vehicle="UAZMG"; rank="CORPORAL"; skill=0.333333; }; class Item5 { position[]={2490.360352,6.365662,1677.103271}; azimut=60.000000; id=135; side="EAST"; vehicle="UAZMG"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2492.986816,6.352941,1685.177612}; azimut=60.000000; id=136; side="EAST"; vehicle="SoldierEMedic"; rank="CORPORAL"; skill=0.333333; }; class Item7 { position[]={2489.192871,6.352941,1683.037109}; azimut=60.000000; id=137; side="EAST"; vehicle="SoldierESniper"; rank="CORPORAL"; skill=0.333333; }; class Item8 { position[]={2489.679443,6.352941,1687.220459}; azimut=60.000000; id=138; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.333333; }; class Item9 { position[]={2491.819580,6.352941,1682.161865}; azimut=60.000000; id=139; side="EAST"; vehicle="SoldierEB"; rank="CORPORAL"; skill=0.333333; }; class Item10 { position[]={2501.746582,6.414588,1679.820801}; azimut=45.000000; special="NONE"; id=379; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.600000; }; class Item11 { position[]={2496.776611,6.556145,1674.242554}; special="NONE"; id=398; side="EAST"; vehicle="SoldierEG"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item14 { side="EAST"; class Vehicles { items=11; class Item0 { position[]={2045.597168,13.934187,1685.667236}; azimut=150.000000; id=145; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2040.499023,13.694749,1688.497314}; azimut=150.000000; id=146; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2038.767090,13.941726,1687.497314}; azimut=150.000000; id=147; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={2037.034912,14.153503,1686.497314}; azimut=150.000000; id=148; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={2035.302979,14.365281,1685.497314}; azimut=150.000000; id=149; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={2033.570801,14.577026,1684.497314}; azimut=150.000000; id=150; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2031.838867,14.788804,1683.497314}; azimut=150.000000; id=151; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={2030.106689,15.000549,1682.497314}; azimut=150.000000; id=152; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={2028.374756,15.212327,1681.497314}; azimut=150.000000; id=153; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={2031.984619,13.582926,1689.191650}; azimut=150.000000; id=154; side="EAST"; vehicle="SoldierEMedic"; rank="SERGEANT"; skill=0.466667; }; class Item10 { position[]={2036.189453,13.478232,1689.686035}; azimut=150.000000; id=155; side="EAST"; vehicle="SoldierEAT"; rank="SERGEANT"; skill=0.466667; }; }; }; class Item15 { side="EAST"; class Vehicles { items=8; class Item0 { position[]={2333.796387,6.850988,1730.314941}; azimut=145.000000; id=156; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2335.024170,7.058824,1737.278564}; azimut=145.000000; id=157; side="EAST"; vehicle="UAZMG"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2326.832764,6.872121,1731.542725}; azimut=145.000000; id=158; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={2325.194336,6.889456,1730.395630}; azimut=145.000000; id=159; side="EAST"; vehicle="SoldierEG"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={2329.628418,6.834713,1733.278564}; azimut=145.000000; id=160; side="EAST"; vehicle="SoldierEAT"; rank="SERGEANT"; skill=0.466667; }; class Item5 { position[]={2332.207275,6.930655,1734.161133}; azimut=145.000000; id=161; side="EAST"; vehicle="SoldierEMedic"; rank="SERGEANT"; skill=0.466667; }; class Item6 { position[]={2328.474365,6.983239,1736.332764}; azimut=145.000000; special="NONE"; id=162; side="EAST"; vehicle="SoldierESniper"; rank="SERGEANT"; skill=0.466667; }; class Item7 { position[]={2329.153076,6.735772,1726.830811}; azimut=145.000000; id=163; side="EAST"; vehicle="UAZMG"; rank="CORPORAL"; skill=0.333333; }; }; }; class Item16 { side="EAST"; class Vehicles { items=8; class Item0 { position[]={2350.110840,6.848365,1645.962891}; azimut=72.042900; id=164; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2343.812988,6.516519,1649.178345}; azimut=72.042915; id=165; side="EAST"; vehicle="UAZMG"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2346.895508,6.949256,1639.665283}; azimut=72.042900; id=166; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={2347.511963,6.971014,1637.762573}; azimut=72.042915; id=167; side="EAST"; vehicle="SoldierEG"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={2338.700195,6.811820,1635.698730}; azimut=80.000000; id=168; side="EAST"; vehicle="UAZMG"; rank="CORPORAL"; skill=0.333333; }; class Item5 { position[]={2342.648682,6.687954,1643.156738}; azimut=72.042900; id=169; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2340.235596,6.691816,1640.634155}; azimut=72.042900; id=170; side="EAST"; vehicle="SoldierEMedic"; rank="CORPORAL"; skill=0.333333; }; class Item7 { position[]={2337.493652,6.478912,1643.924561}; azimut=72.042900; id=171; side="EAST"; vehicle="SoldierESniper"; rank="CORPORAL"; skill=0.333333; }; }; }; class Item17 { side="EAST"; class Vehicles { items=10; class Item0 { position[]={2120.078613,7.411765,1943.203491}; azimut=90.000000; id=189; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2115.078613,7.759159,1940.203491}; azimut=90.000000; id=190; side="EAST"; vehicle="SoldierEMedic"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2115.078613,7.810938,1938.203491}; azimut=90.000000; id=191; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={2115.078613,7.868588,1936.203491}; azimut=90.000000; id=192; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={2115.078613,7.875557,1934.203491}; azimut=90.000000; id=193; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={2115.078613,7.792029,1932.203491}; azimut=90.000000; id=194; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2115.078613,7.708501,1930.203491}; azimut=90.000000; id=195; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={2115.078613,7.700000,1928.203491}; azimut=90.000000; id=196; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={2115.078613,7.700000,1926.203491}; azimut=90.000000; id=197; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={2116.199707,7.680014,1943.357544}; azimut=145.000000; special="NONE"; id=384; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item18 { side="EAST"; class Vehicles { items=11; class Item0 { position[]={2201.233154,7.664454,1863.396118}; azimut=105.653244; id=198; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2195.608643,7.700000,1861.856934}; azimut=105.653244; id=199; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2195.070313,7.700000,1859.930786}; azimut=105.653244; id=200; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={2194.529297,7.700000,1858.004150}; azimut=105.653244; id=201; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={2193.989746,7.700000,1856.078735}; azimut=105.653244; id=202; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={2193.450439,7.700000,1854.153320}; azimut=105.653244; id=203; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2192.910645,7.700000,1852.227295}; azimut=105.653244; id=204; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={2192.370850,7.700000,1850.301636}; azimut=105.653244; id=205; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={2191.831299,7.653182,1848.375610}; azimut=105.653244; id=206; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={2190.609619,7.700000,1854.258423}; azimut=110.000000; id=357; side="EAST"; vehicle="SoldierEMedic"; skill=0.200000; }; class Item10 { position[]={2196.218750,7.700000,1864.565186}; azimut=145.000000; special="NONE"; id=383; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item19 { side="EAST"; class Vehicles { items=4; class Item0 { position[]={2083.915283,7.833478,1822.428955}; azimut=150.000000; id=207; side="EAST"; vehicle="SoldierESaboteurPipe"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2078.817139,7.961265,1825.259033}; azimut=150.000000; id=208; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2077.085205,8.130606,1824.259033}; azimut=150.000000; id=209; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={2075.353027,8.201186,1823.259033}; azimut=150.000000; id=210; side="EAST"; vehicle="SoldierESaboteurMarksman"; rank="CORPORAL"; skill=0.333333; }; }; }; class Item20 { side="EAST"; class Vehicles { items=8; class Item0 { position[]={2227.329102,5.811466,1665.817139}; azimut=85.000000; id=211; side="EAST"; vehicle="SoldierESaboteurPipe"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2222.609619,5.831090,1662.392822}; azimut=84.999992; id=212; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2222.783936,5.971737,1660.400391}; azimut=84.999992; id=213; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={2222.958252,6.056187,1658.407959}; azimut=84.999992; id=214; side="EAST"; vehicle="SoldierESaboteurMarksman"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={2222.290527,5.478526,1667.387451}; azimut=75.000000; special="NONE"; id=265; side="EAST"; vehicle="SoldierEB"; skill=0.500000; }; class Item5 { position[]={2224.577148,5.617212,1671.452393}; azimut=60.000000; special="NONE"; id=266; side="EAST"; vehicle="SoldierEMG"; skill=0.500000; }; class Item6 { position[]={2223.267578,6.156970,1656.142334}; azimut=80.730797; id=362; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item7 { position[]={2218.523926,5.294117,1670.713867}; special="NONE"; id=400; side="EAST"; vehicle="SoldierEG"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item21 { side="EAST"; class Vehicles { items=10; class Item0 { position[]={2600.130859,8.470589,1833.756348}; azimut=95.000000; id=215; side="EAST"; vehicle="SquadleaderE"; leader=1; rank="SERGEANT"; skill=0.466667; }; class Item1 { position[]={2594.888428,8.650990,1831.203613}; azimut=95.000000; id=216; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2594.714111,8.657151,1829.211182}; azimut=95.000000; id=217; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={2594.539795,8.663301,1827.218750}; azimut=95.000000; id=218; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={2594.365479,8.669452,1825.226440}; azimut=95.000000; id=219; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={2594.191162,8.675602,1823.234009}; azimut=95.000000; id=220; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2594.016846,8.681752,1821.241577}; azimut=95.000000; id=221; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={2593.842529,8.687913,1819.249268}; azimut=95.000000; id=222; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={2593.668213,8.694063,1817.256836}; azimut=95.000000; id=223; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={2593.846680,8.687762,1834.007813}; id=233; side="EAST"; vehicle="SoldierEMedic"; skill=0.600000; }; }; }; class Item22 { side="EAST"; class Vehicles { items=10; class Item0 { position[]={2420.571533,6.332767,1699.366699}; azimut=135.000000; id=224; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget"", ""random""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2414.598633,6.447370,1702.675415}; azimut=135.000000; id=225; side="EAST"; vehicle="SoldierEMedic"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2413.500244,6.352941,1699.366699}; azimut=135.000000; id=226; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={2412.086182,6.352941,1697.952515}; azimut=135.000000; id=227; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={2410.671875,6.352941,1696.538208}; azimut=135.000000; id=228; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={2409.257813,6.379136,1695.124023}; azimut=135.000000; id=229; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2407.843506,6.429054,1693.709839}; azimut=135.000000; id=230; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={2406.429199,6.478966,1692.295654}; azimut=135.000000; id=231; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={2405.015137,6.528879,1690.881348}; azimut=135.000000; id=232; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={2405.791992,6.501456,1700.899048}; special="NONE"; id=399; side="EAST"; vehicle="SoldierEG"; rank="SERGEANT"; skill=0.600000; }; }; }; class Item23 { side="EAST"; class Vehicles { items=10; class Item0 { position[]={2176.437744,20.476543,2356.522217}; azimut=120.000000; id=234; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2170.607666,20.985922,2356.424316}; azimut=120.000000; id=235; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2169.607666,21.002983,2354.692139}; azimut=120.000000; id=236; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={2168.607666,20.977150,2352.960205}; azimut=120.000000; id=237; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={2167.607666,20.951317,2351.228271}; azimut=120.000000; id=238; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={2166.607666,20.889910,2349.496094}; azimut=120.000000; id=239; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2165.607666,20.741795,2347.763916}; azimut=120.000000; id=240; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={2164.607666,20.593699,2346.031982}; azimut=120.000000; id=241; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={2163.607666,20.593311,2344.300049}; azimut=120.000000; id=242; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={2164.970703,21.198267,2355.588135}; azimut=110.000000; id=358; side="EAST"; vehicle="SoldierEMedic"; skill=0.200000; }; }; }; class Item24 { side="EAST"; class Vehicles { items=4; class Item0 { position[]={1521.312378,9.116687,3413.006104}; azimut=135.000000; special="NONE"; id=243; side="EAST"; vehicle="BRDM2"; leader=1; rank="LIEUTENANT"; skill=0.533333; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={1516.274658,8.153266,3433.907471}; azimut=135.000000; special="NONE"; id=244; side="EAST"; vehicle="BRDM2"; rank="CORPORAL"; skill=0.533333; }; class Item2 { position[]={1506.879639,7.606379,3427.121826}; azimut=135.000000; special="NONE"; id=245; side="EAST"; vehicle="BRDM2"; rank="CORPORAL"; skill=0.533333; }; class Item3 { position[]={1496.440430,7.160501,3417.204590}; azimut=135.000000; special="NONE"; id=246; side="EAST"; vehicle="BRDM2"; rank="CORPORAL"; skill=0.533333; }; }; class Waypoints { items=3; class Item0 { position[]={1773.035889,18.373060,3213.875488}; placement=25.000000; combatMode="RED"; speed="LIMITED"; combat="COMBAT"; class Effects { }; timeoutMin=1.000000; timeoutMid=2.000000; timeoutMax=5.000000; showWP="NEVER"; }; class Item1 { position[]={2142.449707,7.555632,1979.588257}; placement=200.000000; speed="NORMAL"; expCond="OBJ_1 == 1"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={2361.956299,7.107050,1731.366455}; placement=200.000000; type="SAD"; class Effects { }; showWP="NEVER"; }; }; }; class Item25 { side="EAST"; class Vehicles { items=2; class Item0 { position[]={2462.205322,7.465906,1743.301025}; azimut=335.000000; special="NONE"; id=263; side="EAST"; vehicle="SoldierEMG"; leader=1; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Down"""; }; class Item1 { position[]={2461.920410,7.465906,1747.352539}; azimut=270.000000; special="NONE"; id=264; side="EAST"; vehicle="SoldierEB"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""Down"""; }; }; }; class Item26 { side="EAST"; class Vehicles { items=9; class Item0 { position[]={2041.749146,10.052065,2049.944092}; azimut=130.000000; id=268; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2035.990601,10.346456,2050.859863}; azimut=130.000000; id=269; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2034.704956,10.422174,2049.327637}; azimut=130.000000; id=270; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={2033.419434,10.467547,2047.795654}; azimut=130.000000; id=271; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={2032.133911,10.512919,2046.263550}; azimut=130.000000; id=272; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={2030.848267,10.558297,2044.731445}; azimut=130.000000; id=273; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2029.562744,10.603664,2043.199341}; azimut=130.000000; id=274; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={2028.277100,10.649042,2041.667236}; azimut=130.000000; id=275; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={2026.991577,10.694415,2040.135254}; azimut=130.000000; id=276; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; }; }; class Item27 { side="EAST"; class Vehicles { items=10; class Item0 { position[]={2160.173340,8.470589,2028.190796}; azimut=95.881897; id=277; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2154.892334,8.470589,2025.718628}; azimut=95.881882; id=278; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2154.686768,8.470589,2023.728882}; azimut=95.881882; id=279; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={2154.482422,8.470589,2021.739868}; azimut=95.881882; id=280; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={2154.277832,8.470589,2019.750122}; azimut=95.881882; id=281; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={2154.072266,8.470589,2017.761353}; azimut=95.881882; id=282; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={2153.867188,8.457841,2015.771606}; azimut=95.881882; id=283; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={2153.662598,8.380393,2013.781860}; azimut=95.881882; id=284; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={2153.457275,8.302939,2011.792603}; azimut=95.881882; id=285; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={2154.949219,8.470589,2029.490356}; azimut=110.000000; id=359; side="EAST"; vehicle="SoldierEMedic"; skill=0.200000; }; }; }; class Item28 { side="EAST"; class Vehicles { items=10; class Item0 { position[]={1798.749390,32.382481,1769.973145}; azimut=100.000000; id=286; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={1793.304321,33.535561,1767.886963}; azimut=100.000000; id=287; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={1792.957031,33.569378,1765.917358}; azimut=100.000000; id=288; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={1792.609741,33.561150,1763.947754}; azimut=100.000000; id=289; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={1792.262451,33.552921,1761.978149}; azimut=100.000000; id=290; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={1791.915161,33.544693,1760.008545}; azimut=100.000000; id=291; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={1791.567871,33.536461,1758.038940}; azimut=100.000000; id=292; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={1791.220581,33.528233,1756.069336}; azimut=100.000000; id=293; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={1790.873291,33.520004,1754.099731}; azimut=100.000000; id=294; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={1793.263184,33.544254,1771.808472}; azimut=110.000000; id=363; side="EAST"; vehicle="SoldierEMedic"; skill=0.200000; }; }; }; class Item29 { side="EAST"; class Vehicles { items=10; class Item0 { position[]={1969.451172,21.587526,1872.287720}; azimut=110.000000; id=295; side="EAST"; vehicle="SquadLeaderE"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={1963.726685,22.193649,1871.178711}; azimut=109.999992; id=296; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={1963.042603,22.266077,1869.299316}; azimut=109.999992; id=297; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={1962.358521,22.338507,1867.419922}; azimut=109.999992; id=298; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={1961.674561,22.410919,1865.540527}; azimut=109.999992; id=299; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={1960.990479,22.483364,1863.661133}; azimut=109.999992; id=300; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={1960.306396,22.555794,1861.781738}; azimut=109.999992; id=301; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={1959.622437,22.614883,1859.902466}; azimut=109.999992; id=302; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={1958.938354,22.663170,1858.023071}; azimut=110.000000; id=303; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; class Item9 { position[]={1959.277466,22.613735,1870.881348}; azimut=110.000000; id=355; side="EAST"; vehicle="SoldierEMedic"; skill=0.200000; }; }; }; class Item30 { side="EAST"; class Vehicles { items=6; class Item0 { position[]={2033.196777,12.925873,1954.176270}; azimut=80.730797; id=304; side="EAST"; vehicle="SoldierESaboteurPipe"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2028.745239,13.574422,1950.410278}; azimut=80.730797; id=305; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2029.067383,13.598613,1948.436401}; azimut=80.730843; id=306; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={2029.389526,13.622800,1946.462646}; azimut=80.730843; id=307; side="EAST"; vehicle="SoldierESaboteurMarksman"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={2028.147461,13.551851,1953.441162}; azimut=80.730797; id=360; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item5 { position[]={2030.130005,13.634216,1943.307129}; azimut=80.730797; id=361; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; }; }; class Item31 { side="EAST"; class Vehicles { items=5; class Item0 { position[]={1839.819702,13.758346,1591.505371}; azimut=120.000000; id=308; side="EAST"; vehicle="SoldierESaboteurPipe"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={1833.989624,13.552578,1591.407349}; azimut=120.000000; id=309; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={1832.989624,13.517282,1589.675293}; azimut=120.000000; id=310; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={1831.989624,13.484356,1587.943237}; azimut=120.000000; id=311; side="EAST"; vehicle="SoldierESaboteurMarksman"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={1823.552490,13.411765,1597.024902}; azimut=145.000000; special="NONE"; id=429; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.500000; }; }; }; class Item32 { side="CIV"; class Vehicles { items=1; class Item0 { position[]={2758.057861,8.823529,1814.195801}; azimut=90.000000; special="NONE"; id=313; side="CIV"; vehicle="Civil_Undead_4"; leader=1; skill=0.600000; text="unitx"; }; }; }; class Item33 { side="WEST"; class Vehicles { items=21; class Item0 { position[]={3785.606201,4.490673,1967.235718}; azimut=270.000000; id=346; side="WEST"; vehicle="SquadleaderW"; leader=1; rank="SERGEANT"; skill=0.466667; }; class Item1 { position[]={3790.606201,4.588235,1970.235718}; azimut=270.000000; id=347; side="WEST"; vehicle="TeamLeaderW"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={3790.606201,4.588235,1972.235718}; azimut=270.000000; id=348; side="WEST"; vehicle="SoldierWG"; skill=0.200000; }; class Item3 { position[]={3790.606201,4.588235,1974.235718}; azimut=270.000000; id=349; side="WEST"; vehicle="SoldierWAR"; skill=0.200000; }; class Item4 { position[]={3790.606201,4.588235,1976.235718}; azimut=270.000000; id=350; side="WEST"; vehicle="SoldierWAT"; skill=0.200000; }; class Item5 { position[]={3790.606201,4.588235,1978.235718}; azimut=270.000000; id=351; side="WEST"; vehicle="TeamLeaderW"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={3790.606201,4.579915,1980.235718}; azimut=270.000000; id=352; side="WEST"; vehicle="SoldierWG"; skill=0.200000; }; class Item7 { position[]={3790.606201,4.509328,1982.235718}; azimut=270.000000; id=353; side="WEST"; vehicle="SoldierWAR"; skill=0.200000; }; class Item8 { position[]={3790.606201,4.438741,1984.235718}; azimut=270.000000; id=354; side="WEST"; vehicle="SoldierWSniper"; skill=0.200000; }; class Item9 { position[]={3828.183105,3.946472,1955.591431}; azimut=270.000000; special="NONE"; id=364; side="WEST"; vehicle="M119"; skill=0.500000; ammo=0.097575; text="cannon1"; }; class Item10 { position[]={3834.007813,3.599444,1960.781006}; azimut=270.000000; special="NONE"; id=365; side="WEST"; vehicle="M119"; skill=0.500000; ammo=0.089518; text="cannon2"; }; class Item11 { position[]={3842.539307,3.086846,1963.511963}; special="NONE"; id=395; side="WEST"; vehicle="OfficerW"; rank="SERGEANT"; skill=0.600000; }; class Item12 { position[]={3838.105469,3.310202,1968.252686}; azimut=270.000000; special="NONE"; id=423; side="WEST"; vehicle="M119"; skill=0.500000; ammo=0.089518; text="cannon3"; }; class Item13 { position[]={3840.685059,3.152290,1974.400391}; azimut=270.000000; special="NONE"; id=424; side="WEST"; vehicle="M119"; skill=0.500000; ammo=0.097575; text="cannon4"; }; class Item14 { position[]={3840.933594,3.143522,1981.355225}; azimut=270.000000; special="NONE"; id=425; side="WEST"; vehicle="M119"; skill=0.500000; ammo=0.097575; text="cannon5"; }; class Item15 { position[]={3814.172607,4.440965,1981.691406}; azimut=310.000000; special="NONE"; id=430; side="WEST"; vehicle="SoldierWAA"; rank="SERGEANT"; skill=0.600000; }; class Item16 { position[]={3837.155518,3.882353,1947.516479}; azimut=190.000000; special="NONE"; id=431; side="WEST"; vehicle="SoldierWAA"; rank="SERGEANT"; skill=0.600000; }; class Item17 { position[]={3849.076660,2.921276,1942.662354}; azimut=310.000000; special="NONE"; id=432; side="WEST"; vehicle="SoldierWMG"; rank="CORPORAL"; skill=0.600000; }; class Item18 { position[]={3839.930420,3.882353,2002.621460}; azimut=310.000000; special="NONE"; id=433; side="WEST"; vehicle="SoldierWMG"; rank="CORPORAL"; skill=0.600000; }; class Item19 { position[]={3854.919922,3.134076,2001.859375}; azimut=310.000000; special="NONE"; id=434; side="WEST"; vehicle="SoldierWMedic"; rank="CORPORAL"; skill=0.600000; }; class Item20 { position[]={3798.263672,4.526960,1988.139893}; azimut=310.000000; special="NONE"; id=435; side="WEST"; vehicle="SoldierWMedic"; rank="CORPORAL"; skill=0.600000; }; }; class Waypoints { items=1; class Item0 { position[]={3810.073975,4.585618,1976.026123}; placement=60.000000; type="GUARD"; class Effects { }; showWP="NEVER"; }; }; }; class Item34 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={2161.023193,8.195042,1661.579102}; azimut=50.000000; special="NONE"; id=267; side="EAST"; vehicle="T72"; leader=1; rank="SERGEANT"; skill=0.500000; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; }; }; class Item35 { side="EAST"; class Vehicles { items=3; class Item0 { position[]={1697.719849,46.653854,1898.140625}; azimut=115.000000; special="NONE"; id=366; side="EAST"; vehicle="D30"; skill=0.600000; }; class Item1 { position[]={1699.972656,47.130939,1884.623413}; azimut=115.000000; special="NONE"; id=367; side="EAST"; vehicle="D30"; skill=0.600000; }; class Item2 { position[]={2457.962646,6.703857,1729.942627}; azimut=115.000000; special="NONE"; id=368; side="EAST"; vehicle="OfficerE"; leader=1; rank="LIEUTENANT"; skill=0.600000; }; }; }; class Item36 { side="EAST"; class Vehicles { items=9; class Item0 { position[]={1692.133179,46.857536,1892.369873}; azimut=157.418488; id=369; side="EAST"; vehicle="SquadleaderE"; leader=1; rank="SERGEANT"; skill=0.466667; }; class Item1 { position[]={1704.916626,46.367756,1901.330200}; azimut=157.418488; id=370; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={1709.481689,46.398914,1895.882446}; azimut=157.418488; id=371; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item3 { position[]={1709.021606,46.607391,1890.435547}; azimut=157.418488; id=372; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item4 { position[]={1710.121216,46.844025,1882.388794}; azimut=157.418488; id=373; side="EAST"; vehicle="SoldierEAT"; skill=0.200000; }; class Item5 { position[]={1706.368408,47.069351,1876.075562}; azimut=157.418488; id=374; side="EAST"; vehicle="TeamLeaderE"; rank="CORPORAL"; skill=0.333333; }; class Item6 { position[]={1702.788574,47.195698,1872.015381}; azimut=157.418488; id=375; side="EAST"; vehicle="SoldierEG"; skill=0.200000; }; class Item7 { position[]={1700.248413,46.303715,1907.812988}; azimut=157.418488; id=376; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item8 { position[]={1695.976196,47.152103,1877.237671}; azimut=157.418488; id=377; side="EAST"; vehicle="SoldierESniper"; skill=0.200000; }; }; }; class Item37 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={2082.817871,7.700000,1921.386475}; azimut=75.000000; special="NONE"; id=79; side="EAST"; vehicle="BMP2"; leader=1; rank="CORPORAL"; skill=0.633333; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; }; }; class Item38 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={2155.671143,7.241874,1937.145020}; azimut=105.000000; special="NONE"; id=386; side="EAST"; vehicle="BMP2"; leader=1; rank="SERGEANT"; skill=0.633333; init="nul=[this,""traintarget""] execVM ""ups.sqf"";"; }; }; }; class Item39 { side="EAST"; class Vehicles { items=11; class Item0 { position[]={1556.006958,10.588235,3417.481934}; azimut=145.000000; special="FLY"; id=314; side="EAST"; vehicle="Mi17"; leader=1; rank="SERGEANT"; skill=0.600000; }; class Item1 { position[]={1549.195801,10.588235,3394.070313}; azimut=145.000000; special="FLY"; id=316; side="EAST"; vehicle="Mi17_MG"; rank="CORPORAL"; skill=0.500000; }; class Item2 { position[]={1558.739746,9.529411,3443.933594}; azimut=145.000000; special="FLY"; id=315; side="EAST"; vehicle="Mi17_MG"; rank="CORPORAL"; skill=0.500000; }; class Item3 { position[]={1564.359009,10.126696,3402.652588}; special="CARGO"; id=387; side="EAST"; vehicle="SoldierEB"; rank="SERGEANT"; skill=0.600000; }; class Item4 { position[]={1561.832764,10.235294,3429.492676}; special="CARGO"; id=388; side="EAST"; vehicle="SoldierEB"; rank="SERGEANT"; skill=0.600000; }; class Item5 { position[]={1544.781372,10.588235,3405.810303}; special="CARGO"; id=389; side="EAST"; vehicle="SoldierEG"; rank="SERGEANT"; skill=0.600000; }; class Item6 { position[]={1553.622925,10.422552,3431.071533}; special="CARGO"; id=390; side="EAST"; vehicle="SoldierEMG"; rank="SERGEANT"; skill=0.600000; }; class Item7 { position[]={1569.615234,10.235294,3421.475830}; special="CARGO"; id=391; side="EAST"; vehicle="SoldierEAT"; rank="SERGEANT"; skill=0.600000; }; class Item8 { position[]={1542.201416,10.312990,3425.748291}; special="CARGO"; id=392; side="EAST"; vehicle="SquadLeaderE"; rank="SERGEANT"; skill=0.600000; }; class Item9 { position[]={1555.730225,10.588235,3403.318359}; special="CARGO"; id=393; side="EAST"; vehicle="SoldierEMedic"; rank="SERGEANT"; skill=0.600000; }; class Item10 { position[]={1540.777344,10.434513,3414.355469}; special="CARGO"; id=394; side="EAST"; vehicle="SoldierEMG"; rank="SERGEANT"; skill=0.600000; }; }; class Waypoints { items=5; class Item0 { position[]={2054.602295,10.969246,1961.760498}; class Effects { }; timeoutMin=5.000000; timeoutMid=7.000000; timeoutMax=10.000000; showWP="NEVER"; }; class Item1 { position[]={2254.225586,10.541818,1592.572754}; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={2449.072998,16.588236,1502.789917}; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={2684.036377,8.985998,1573.469849}; placement=50.000000; type="UNLOAD"; class Effects { }; showWP="NEVER"; }; class Item4 { position[]={2613.356445,8.117647,1774.048096}; placement=200.000000; type="SAD"; class Effects { }; showWP="NEVER"; }; }; }; class Item40 { side="EAST"; class Vehicles { items=8; class Item0 { position[]={1386.518066,11.883421,2782.323486}; azimut=135.000000; id=402; side="EAST"; vehicle="SquadleaderE"; leader=1; rank="SERGEANT"; skill=0.466667; }; class Item1 { position[]={1386.518066,12.759069,2789.394775}; azimut=135.000000; id=403; side="EAST"; vehicle="BMP2"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={1379.447021,13.630393,2782.323486}; azimut=135.000000; id=404; side="EAST"; vehicle="SoldierEG"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={1378.032837,13.967199,2780.909424}; azimut=135.000000; id=405; side="EAST"; vehicle="SoldierEB"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={1376.618530,14.366542,2779.495117}; azimut=135.000000; id=406; side="EAST"; vehicle="SoldierEAT"; rank="CORPORAL"; skill=0.333333; }; class Item5 { position[]={1375.204346,14.765841,2778.081055}; azimut=135.000000; id=407; side="EAST"; vehicle="SoldierEMG"; skill=0.200000; }; class Item6 { position[]={1373.790161,15.165140,2776.666748}; azimut=135.000000; id=408; side="EAST"; vehicle="SoldierEB"; skill=0.200000; }; class Item7 { position[]={1372.375977,15.564439,2775.252441}; azimut=135.000000; id=409; side="EAST"; vehicle="SoldierEB"; skill=0.200000; }; }; class Waypoints { items=1; class Item0 { position[]={2093.428955,7.700000,1917.241943}; placement=50.000000; type="SAD"; class Effects { }; showWP="NEVER"; }; }; }; class Item41 { side="EAST"; class Vehicles { items=7; class Item0 { position[]={1167.375244,7.888889,2984.134521}; azimut=130.000000; special="FLY"; id=410; side="EAST"; vehicle="Mi17"; leader=1; rank="SERGEANT"; skill=0.333333; }; class Item1 { position[]={1154.223511,9.038770,2955.454346}; azimut=130.000000; special="FLY"; id=411; side="EAST"; vehicle="Mi17_MG"; rank="SERGEANT"; skill=0.333333; }; class Item2 { position[]={1155.707275,9.832424,2924.414063}; azimut=130.000000; special="FLY"; id=412; side="EAST"; vehicle="Mi17_MG"; rank="SERGEANT"; skill=0.333333; }; class Item3 { position[]={1153.476685,9.505630,2992.093262}; special="CARGO"; id=437; side="EAST"; vehicle="SoldierEB"; rank="CORPORAL"; skill=0.500000; }; class Item4 { position[]={1151.622803,9.357580,2985.069824}; special="CARGO"; id=438; side="EAST"; vehicle="SoldierEB"; rank="CORPORAL"; skill=0.500000; }; class Item5 { position[]={1151.397461,9.355208,2977.859131}; special="CARGO"; id=439; side="EAST"; vehicle="SoldierEMG"; rank="CORPORAL"; skill=0.500000; }; class Item6 { position[]={1159.509399,9.140291,2997.012695}; special="CARGO"; id=440; side="EAST"; vehicle="SquadLeaderE"; rank="SERGEANT"; skill=0.500000; }; }; class Waypoints { items=2; class Item0 { position[]={1225.468872,28.301493,2880.693604}; expCond="OBJ_1 == 1"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={2248.003662,7.411765,1796.680176}; placement=250.000000; type="SAD"; combatMode="RED"; speed="NORMAL"; combat="COMBAT"; class Effects { }; showWP="NEVER"; }; }; }; class Item42 { side="EAST"; class Vehicles { items=9; class Item0 { position[]={2026.450928,11.140654,1436.412964}; azimut=45.000000; id=413; side="EAST"; vehicle="SoldierESaboteurPipe"; leader=1; rank="SERGEANT"; skill=0.466667; init="nul=[this,""camptarget""] execVM ""ups.sqf"";"; }; class Item1 { position[]={2025.036621,10.490527,1430.756104}; azimut=45.000000; id=414; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item2 { position[]={2026.450928,10.267645,1429.341919}; azimut=45.000000; id=415; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="CORPORAL"; skill=0.333333; }; class Item3 { position[]={2027.864990,10.018087,1427.927734}; azimut=45.000000; id=416; side="EAST"; vehicle="SoldierESaboteurMarksman"; rank="CORPORAL"; skill=0.333333; }; class Item4 { position[]={2015.220215,11.559384,1435.985352}; azimut=45.000000; id=417; side="EAST"; vehicle="SoldierESaboteurPipe"; rank="SERGEANT"; skill=0.466667; }; class Item5 { position[]={2017.273193,10.370221,1427.774048}; azimut=45.000000; id=418; side="EAST"; vehicle="SoldierESaboteurBizon"; rank="SERGEANT"; skill=0.466667; }; class Item6 { position[]={2020.147217,9.283378,1420.794067}; azimut=45.000000; id=419; side="EAST"; vehicle="SoldierESaboteurMarksman"; rank="SERGEANT"; skill=0.466667; }; class Item7 { position[]={2026.306152,8.851501,1417.098633}; azimut=45.000000; id=420; side="EAST"; vehicle="SoldierEMedic"; rank="SERGEANT"; skill=0.466667; }; class Item8 { position[]={2020.147217,12.170390,1442.965576}; azimut=45.000000; id=421; side="EAST"; vehicle="OfficerE"; rank="SERGEANT"; skill=0.466667; }; }; }; class Item43 { side="EAST"; class Vehicles { items=3; class Item0 { position[]={-510.522003,-30.000000,3593.385254}; azimut=145.000000; special="FLY"; id=427; side="EAST"; vehicle="Mi17_MG"; leader=1; rank="LIEUTENANT"; skill=0.500000; }; class Item1 { position[]={-573.866516,-0.042858,3546.180664}; azimut=145.000000; special="FLY"; id=426; side="EAST"; vehicle="Mi17_MG"; rank="SERGEANT"; skill=0.500000; }; class Item2 { position[]={-498.789429,0.447007,3701.863037}; azimut=145.000000; special="FLY"; id=428; side="EAST"; vehicle="Mi17_MG"; rank="SERGEANT"; skill=0.500000; }; }; class Waypoints { items=6; class Item0 { position[]={-402.566681,-30.000000,3529.237305}; expCond="OBJ_1 == 1"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={409.318237,-30.000000,3887.637207}; speed="NORMAL"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={1352.860229,-2.470588,3982.722656}; combatMode="RED"; combat="COMBAT"; class Effects { }; showWP="NEVER"; }; class Item3 { position[]={1857.545410,15.269421,3478.037109}; class Effects { }; showWP="NEVER"; }; class Item4 { position[]={2040.402344,21.515209,2812.437256}; class Effects { }; showWP="NEVER"; }; class Item5 { position[]={2249.560791,8.470589,1836.009888}; placement=250.000000; type="SAD"; class Effects { }; showWP="NEVER"; }; }; }; class Item44 { side="EAST"; class Vehicles { items=1; class Item0 { position[]={2194.131348,27.030659,1493.550049}; azimut=40.000000; special="NONE"; id=436; side="EAST"; vehicle="OfficerE"; leader=1; rank="SERGEANT"; skill=0.500000; init="this disableAI ""MOVE""; this setUnitPos ""down"";"; }; }; }; }; class Vehicles { items=72; class Item0 { position[]={2814.349365,8.000000,1784.347168}; special="NONE"; id=1; side="EMPTY"; vehicle="Vulcan"; skill=0.600000; ammo=0.313689; }; class Item1 { position[]={2831.797607,8.080730,1757.072632}; special="NONE"; id=2; side="EMPTY"; vehicle="M113"; skill=0.600000; ammo=0.244042; }; class Item2 { position[]={2875.479004,14.889086,1761.834473}; special="NONE"; id=3; side="EMPTY"; vehicle="M1Abrams"; skill=0.600000; ammo=0.408502; }; class Item3 { position[]={2831.714600,8.080730,1746.982910}; special="NONE"; id=4; side="EMPTY"; vehicle="M113"; skill=0.600000; ammo=0.226492; }; class Item4 { position[]={2831.703857,8.080730,1737.126221}; special="NONE"; id=5; side="EMPTY"; vehicle="M113"; skill=0.600000; ammo=0.247354; }; class Item5 { position[]={2812.267578,8.000000,1824.308716}; azimut=270.000000; special="NONE"; id=6; side="EMPTY"; vehicle="M1030"; skill=0.600000; }; class Item6 { position[]={2812.241455,8.000000,1820.180176}; azimut=270.000000; special="NONE"; id=7; side="EMPTY"; vehicle="HMMWV50"; skill=0.600000; ammo=0.242164; }; class Item7 { position[]={2822.468994,8.000000,1814.275879}; azimut=270.000000; special="NONE"; id=8; side="EMPTY"; vehicle="HMMWVMK"; skill=0.600000; ammo=0.187197; }; class Item8 { position[]={2799.046875,8.000000,1797.390503}; special="NONE"; id=9; side="EMPTY"; vehicle="HMMWVTOW"; skill=0.600000; ammo=0.374394; }; class Item9 { position[]={2812.241211,8.000000,1814.321045}; azimut=270.000000; special="NONE"; id=10; side="EMPTY"; vehicle="HMMWV50"; skill=0.600000; ammo=0.250222; }; class Item10 { position[]={2812.241211,8.000000,1809.138184}; azimut=270.000000; special="NONE"; id=11; side="EMPTY"; vehicle="HMMWV50"; skill=0.600000; ammo=0.242164; }; class Item11 { position[]={2822.249512,8.000000,1823.566284}; azimut=270.000000; special="NONE"; id=12; side="EMPTY"; vehicle="M1030"; skill=0.600000; }; class Item12 { position[]={2821.965088,8.000000,1806.543213}; azimut=270.000000; special="NONE"; id=13; side="EMPTY"; vehicle="M1030"; skill=0.600000; }; class Item13 { position[]={2812.365967,8.000000,1804.857788}; azimut=270.000000; special="NONE"; id=14; side="EMPTY"; vehicle="M1030"; skill=0.600000; }; class Item14 { position[]={2822.030762,8.000000,1809.906982}; azimut=270.000000; special="NONE"; id=15; side="EMPTY"; vehicle="M1030"; skill=0.600000; }; class Item15 { position[]={2822.254639,8.000000,1820.400146}; azimut=270.000000; special="NONE"; id=16; side="EMPTY"; vehicle="M1030"; skill=0.600000; }; class Item16 { position[]={2796.696533,8.398001,1834.051758}; azimut=180.000000; special="NONE"; id=23; side="EMPTY"; vehicle="AmmoBoxWest"; leader=1; lock="LOCKED"; skill=0.500000; text="crateusa3"; }; class Item17 { position[]={2801.447754,8.000000,1834.138428}; azimut=180.000000; special="NONE"; id=24; side="EMPTY"; vehicle="SpecialBoxWest"; leader=1; lock="LOCKED"; skill=0.500000; text="crateusa2"; }; class Item18 { position[]={2803.761963,8.000000,1834.108887}; azimut=180.000000; special="NONE"; id=25; side="EMPTY"; vehicle="WeaponBoxWest"; leader=1; lock="LOCKED"; skill=0.500000; text="crateusa1"; }; class Item19 { position[]={2465.783447,7.465906,1748.108521}; azimut=275.000000; special="NONE"; id=26; side="EMPTY"; vehicle="WeaponBoxWest"; leader=1; skill=0.500000; text="crateusa4"; }; class Item20 { position[]={2464.987793,7.465906,1741.573120}; azimut=275.000000; special="NONE"; id=27; side="EMPTY"; vehicle="WeaponBoxWest"; leader=1; skill=0.500000; text="crateusa5"; }; class Item21 { position[]={2467.506348,6.793380,1742.479004}; azimut=185.000000; special="NONE"; id=28; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item22 { position[]={2469.641113,6.783153,1742.189331}; azimut=185.000000; special="NONE"; id=29; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item23 { position[]={2471.759766,6.772544,1741.888672}; azimut=185.000000; special="NONE"; id=30; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item24 { position[]={2473.818115,6.760690,1741.552856}; azimut=185.000000; special="NONE"; id=31; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item25 { position[]={2476.001465,6.748821,1741.216553}; azimut=185.000000; special="NONE"; id=32; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item26 { position[]={2466.803467,6.705883,1736.494385}; azimut=185.000000; special="NONE"; id=33; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item27 { position[]={2468.996582,6.705883,1736.055908}; azimut=185.000000; special="NONE"; id=34; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item28 { position[]={2471.080566,6.705883,1735.726318}; azimut=185.000000; special="NONE"; id=35; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item29 { position[]={2473.384521,6.705883,1735.507446}; azimut=185.000000; special="NONE"; id=36; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item30 { position[]={2475.687256,6.705883,1735.288086}; azimut=185.000000; special="NONE"; id=37; side="EMPTY"; vehicle="M1030"; leader=1; skill=0.500000; }; class Item31 { position[]={2457.257080,6.802691,1739.078369}; azimut=275.000000; special="NONE"; id=45; side="EMPTY"; vehicle="M2StaticMG"; lock="UNLOCKED"; skill=0.500000; }; class Item32 { position[]={2472.117920,6.970664,1747.502075}; azimut=5.000000; special="NONE"; id=46; side="EMPTY"; vehicle="M2StaticMG"; lock="UNLOCKED"; skill=0.500000; }; class Item33 { position[]={2458.711670,7.253039,1755.502686}; azimut=305.000000; special="NONE"; id=47; side="EMPTY"; vehicle="M2HD_mini_TriPod"; lock="UNLOCKED"; skill=0.500000; }; class Item34 { position[]={2462.630615,6.705883,1735.773438}; azimut=5.000000; special="NONE"; id=48; side="EMPTY"; vehicle="MASH"; lock="UNLOCKED"; skill=0.500000; }; class Item35 { position[]={3789.978271,4.236059,1946.651123}; azimut=180.000000; special="NONE"; id=51; side="EMPTY"; vehicle="Truck5tMG"; leader=1; lock="UNLOCKED"; skill=0.600000; text="SpawnTruck"; }; class Item36 { position[]={2137.503418,7.647816,1808.496338}; azimut=135.000000; special="NONE"; id=247; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item37 { position[]={2140.125488,7.676264,1809.316040}; azimut=135.000000; special="NONE"; id=248; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item38 { position[]={2134.670654,7.651613,1808.605713}; azimut=135.000000; special="NONE"; id=249; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item39 { position[]={2131.299805,7.662051,1808.906494}; azimut=135.000000; special="NONE"; id=250; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item40 { position[]={2188.444336,7.700000,1828.872314}; azimut=135.000000; special="NONE"; id=251; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item41 { position[]={2186.770996,7.700000,1825.246826}; azimut=135.000000; special="NONE"; id=252; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item42 { position[]={2142.054932,7.700000,1810.776001}; azimut=135.000000; special="NONE"; id=317; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item43 { position[]={2128.734131,7.700000,1810.449829}; azimut=135.000000; special="NONE"; id=318; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item44 { position[]={2126.958252,7.700000,1812.540894}; azimut=135.000000; special="NONE"; id=319; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item45 { position[]={2182.644043,7.700000,1823.950806}; azimut=135.000000; special="NONE"; id=320; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item46 { position[]={2178.112549,7.700000,1824.009766}; azimut=135.000000; special="NONE"; id=321; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item47 { position[]={2175.582031,7.700000,1826.716553}; azimut=135.000000; special="NONE"; id=322; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item48 { position[]={2174.404785,7.700000,1830.012451}; azimut=135.000000; special="NONE"; id=323; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item49 { position[]={2190.882813,7.674552,1840.781860}; azimut=135.000000; special="NONE"; id=324; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item50 { position[]={2194.178467,7.700000,1877.269897}; azimut=135.000000; special="NONE"; id=325; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item51 { position[]={2199.827881,7.700000,1903.223633}; azimut=135.000000; special="NONE"; id=326; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item52 { position[]={2179.642578,7.700000,1918.759766}; azimut=135.000000; special="NONE"; id=327; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item53 { position[]={2082.245850,7.700000,1895.455933}; azimut=135.000000; special="NONE"; id=328; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item54 { position[]={2080.892578,7.700000,1869.974365}; azimut=135.000000; special="NONE"; id=329; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item55 { position[]={2091.780029,7.700000,1830.367676}; azimut=135.000000; special="NONE"; id=330; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item56 { position[]={2093.016113,7.633126,1828.073120}; azimut=135.000000; special="NONE"; id=331; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item57 { position[]={2095.311523,7.596368,1827.013916}; azimut=135.000000; special="NONE"; id=332; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item58 { position[]={2097.665527,7.614739,1827.543335}; azimut=135.000000; special="NONE"; id=333; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item59 { position[]={2099.077637,7.686231,1829.603271}; azimut=135.000000; special="NONE"; id=334; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item60 { position[]={2115.320557,7.700000,1824.836670}; azimut=135.000000; special="NONE"; id=335; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item61 { position[]={2114.084717,7.700000,1827.072998}; azimut=135.000000; special="NONE"; id=336; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item62 { position[]={2113.084229,7.700000,1829.191284}; azimut=135.000000; special="NONE"; id=337; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item63 { position[]={2135.212158,7.700000,1835.430298}; azimut=135.000000; special="NONE"; id=338; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item64 { position[]={2138.507813,7.700000,1835.547852}; azimut=135.000000; special="NONE"; id=339; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item65 { position[]={2152.043701,7.700000,1818.128418}; azimut=135.000000; special="NONE"; id=340; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item66 { position[]={2154.162354,7.700000,1820.541016}; azimut=135.000000; special="NONE"; id=341; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item67 { position[]={2156.104492,7.700000,1823.895508}; azimut=135.000000; special="NONE"; id=342; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item68 { position[]={2156.987061,7.700000,1827.367920}; azimut=135.000000; special="NONE"; id=343; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item69 { position[]={2158.635010,7.700000,1830.663452}; azimut=135.000000; special="NONE"; id=344; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item70 { position[]={2097.462646,7.700000,1915.291138}; azimut=135.000000; special="NONE"; id=345; side="EMPTY"; vehicle="MineMine"; skill=0.533333; }; class Item71 { position[]={2613.690430,8.823529,921.684631}; azimut=45.000000; special="NONE"; id=422; side="EMPTY"; vehicle="HeliHEmpty"; leader=1; skill=0.466667; text="arttarget"; }; }; class Markers { items=4; class Item0 { position[]={2460.075439,7.465906,1745.505371}; name="Camp"; text="Camp"; type="Camp"; }; class Item1 { position[]={2844.812744,8.000000,1812.135010}; name="MainBase"; type="Headquarters"; }; class Item2 { position[]={3827.887695,3.956898,1967.500000}; name="respawn_west"; markerType="RECTANGLE"; type="Dot"; }; class Item3 { position[]={-2111.152588,0.625327,7034.024414}; name="firepoint"; type="Destroy"; }; }; class Sensors { items=12; class Item0 { position[]={3246.144531,0.269576,867.135315}; a=0.000000; b=0.000000; interruptable=1; type="END1"; age="UNKNOWN"; text="Victory"; expCond="(OBJ_1 == 1) && (OBJ_2 == 1)"; class Effects { track="ATrack8"; }; }; class Item1 { position[]={3249.504639,0.241584,810.332642}; a=0.000000; b=0.000000; interruptable=1; type="END2"; age="UNKNOWN"; text="Failure"; expCond="end == 1"; class Effects { track="ATrack17"; }; }; class Item2 { position[]={3030.644287,0.605735,827.848206}; a=0.000000; b=0.000000; interruptable=1; age="UNKNOWN"; text="Initialisation"; expCond="true"; expActiv="reserve=20; OBJ_1=0; OBJ_2=0;end=0;this exec ""respawn.sqs""; this exec ""markers.sqs""; "; class Effects { }; }; class Item3 { position[]={2134.616211,7.700000,1867.718262}; a=100.000000; b=100.000000; activationBy="WEST SEIZED"; interruptable=1; age="UNKNOWN"; text="TrainClear"; expActiv="OBJ_2 = 1; "; class Effects { }; }; class Item4 { position[]={2462.573242,6.705883,1735.600830}; a=100.000000; b=100.000000; activationBy="WEST SEIZED"; interruptable=1; age="UNKNOWN"; expActiv="OBJ_1 = 1; reserve=reserve+20;"; class Effects { }; }; class Item5 { position[]={3112.089355,0.457691,864.943542}; a=0.000000; b=0.000000; interruptable=1; age="UNKNOWN"; text="OBJ1"; expCond="OBJ_1 == 1"; expActiv="""1"" objStatus ""DONE""; cuttext [""Objective reached: Camp bridgehead secured, new reserves granted via truck in base"",""plain""]; this exec""counting.sqs""; SpawnTruck setPos [2810.745117, 1841.981567];"; class Effects { track="ATrack19"; }; }; class Item6 { position[]={3113.609619,0.468527,808.746643}; a=0.000000; b=0.000000; interruptable=1; age="UNKNOWN"; text="OBJ2"; expCond="OBJ_2 == 1"; expActiv="""2"" objStatus ""DONE""; cuttext [""Objective reached: training facility secured"",""plain""];"; class Effects { }; }; class Item7 { position[]={3188.993896,0.401275,688.020935}; a=0.000000; b=0.000000; interruptable=1; age="UNKNOWN"; text="EndReserves1"; expCond="(reserve < 0) && (OBJ_1 == 1)"; expActiv="""2"" objstatus ""failed"";end = 1;"; class Effects { }; }; class Item8 { position[]={3182.165527,0.573424,753.802795}; a=0.000000; b=0.000000; interruptable=1; age="UNKNOWN"; text="EndReserves0"; expCond="(reserve < 0) && (OBJ_1 == 0)"; expActiv="""1"" objstatus ""failed""; ""2"" objstatus ""failed"";end = 1;"; class Effects { }; }; class Item9 { position[]={3191.422363,-8.565910,625.072021}; a=0.000000; b=0.000000; interruptable=1; age="UNKNOWN"; text="EndTruck"; expCond="(OBJ_1 == 1) && (getDammage SpawnTruck == 1)"; expActiv="cuttext [""Truck destroyed and all reserves lost"",""plain""]; reserve=0; this exec""counting.sqs"";"; class Effects { }; }; class Item10 { position[]={3465.446533,0.351794,895.275879}; a=0.000000; b=0.000000; activationBy="ALPHA"; repeating=1; interruptable=1; age="UNKNOWN"; text="0-01 Artillery"; expActiv="[] exec ""artillery\setfire.sqs"""; class Effects { }; }; class Item11 { position[]={2758.294434,8.823529,1814.083862}; a=5.000000; b=5.000000; activationBy="WEST"; interruptable=1; age="UNKNOWN"; expActiv="cutText [""Help us! Protect us! They slaughtered all they saw!!!"", ""PLAIN""]; unitx setDamage 1;"; class Effects { }; }; }; }; class Intro { addOns[]= { "lddk_isle" }; addOnsAuto[]= { "lddk_isle" }; randomSeed=2818563; class Intel { startWeather=0.100000; forecastWeather=0.300000; year=2007; month=6; day=7; hour=8; }; }; class OutroWin { addOns[]= { "lddk_isle" }; addOnsAuto[]= { "lddk_isle" }; randomSeed=3934723; class Intel { startWeather=0.100000; forecastWeather=0.300000; year=2007; month=6; day=7; hour=8; }; }; class OutroLoose { addOns[]= { "lddk_isle" }; addOnsAuto[]= { "lddk_isle" }; randomSeed=12656131; class Intel { startWeather=0.100000; forecastWeather=0.300000; year=2007; month=6; day=7; hour=8; }; }; res1alive = "ALIVE"; #begin ~2 ?( alive p1 ): res1alive = "ALIVE"; ? NOT ( alive p1 ): goto "check" goto "begin"; #check ? ( res1alive == "OHYES" ): goto "begin"; res1alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin"; res10alive = "ALIVE"; #begin ~2 ?( alive p10 ): res10alive = "ALIVE"; ? NOT ( alive p10 ): goto "check" goto "begin"; #check ? ( res10alive == "OHYES" ): goto "begin"; res10alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res11alive = "ALIVE"; #begin ~2 ?( alive p11 ): res10alive = "ALIVE"; ? NOT ( alive p11 ): goto "check" goto "begin"; #check ? ( res11alive == "OHYES" ): goto "begin"; res11alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res12alive = "ALIVE"; #begin ~2 ?( alive p12 ): res10alive = "ALIVE"; ? NOT ( alive p12 ): goto "check" goto "begin"; #check ? ( res12alive == "OHYES" ): goto "begin"; res12alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res2alive = "ALIVE"; #begin ~2 ?( alive p2 ): res2alive = "ALIVE"; ? NOT ( alive p2 ): goto "check" goto "begin"; #check ? ( res2alive == "OHYES" ): goto "begin"; res2alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res3alive = "ALIVE"; #begin ~2 ?( alive p3 ): res3alive = "ALIVE"; ? NOT ( alive p3 ): goto "check" goto "begin"; #check ? ( res3alive == "OHYES" ): goto "begin"; res3alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res4alive = "ALIVE"; #begin ~2 ?( alive p4 ): res4alive = "ALIVE"; ? NOT ( alive p4 ): goto "check" goto "begin"; #check ? ( res4alive == "OHYES" ): goto "begin"; res4alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res5alive = "ALIVE"; #begin ~2 ?( alive p5 ): res5alive = "ALIVE"; ? NOT ( alive p5 ): goto "check" goto "begin"; #check ? ( res5alive == "OHYES" ): goto "begin"; res5alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res6alive = "ALIVE"; #begin ~2 ?( alive p6 ): res6alive = "ALIVE"; ? NOT ( alive p6 ): goto "check" goto "begin"; #check ? ( res6alive == "OHYES" ): goto "begin"; res6alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res7alive = "ALIVE"; #begin ~2 ?( alive p7 ): res7alive = "ALIVE"; ? NOT ( alive p7 ): goto "check" goto "begin"; #check ? ( res7alive == "OHYES" ): goto "begin"; res7alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res8alive = "ALIVE"; #begin ~2 ?( alive p8 ): res8alive = "ALIVE"; ? NOT ( alive p8 ): goto "check" goto "begin"; #check ? ( res8alive == "OHYES" ): goto "begin"; res8alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin";res9alive = "ALIVE"; #begin ~2 ?( alive p9 ): res9alive = "ALIVE"; ? NOT ( alive p9 ): goto "check" goto "begin"; #check ? ( res9alive == "OHYES" ): goto "begin"; res9alive = "OHYES"; reserve = ( reserve - 1); this exec"showreserve.sqs"; goto "begin"; #beginning ?p1 distance respawntemp < 100 : goto"p1" ?p2 distance respawntemp < 100 : goto"p2" ?p3 distance respawntemp < 100 : goto"p3" ?p4 distance respawntemp < 100 : goto"p4" ?p5 distance respawntemp < 100 : goto"p5" ?p6 distance respawntemp < 100 : goto"p6" ?p7 distance respawntemp < 100 : goto"p7" ?p8 distance respawntemp < 100 : goto"p8" ?p9 distance respawntemp < 100 : goto"p9" ?p10 distance respawntemp < 100 : goto"p10" ?p11 distance respawntemp < 100 : goto"p11" ?p12 distance respawntemp < 100 : goto"p12" ~1 goto "beginning" #p1 if (OBJ_1 == 0) then {p1 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p1 moveincargo SpawnTruck}; goto "beginning" #p2 if (OBJ_1 == 0) then {p2 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p2 moveincargo SpawnTruck}; goto "beginning" #p3 if (OBJ_1 == 0) then {p3 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p3 moveincargo SpawnTruck}; goto "beginning" #p4 if (OBJ_1 == 0) then {p4 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p4 moveincargo SpawnTruck}; goto "beginning" #p5 if (OBJ_1 == 0) then {p5 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p5 moveincargo SpawnTruck}; goto "beginning" #p6 if (OBJ_1 == 0) then {p6 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p6 moveincargo SpawnTruck}; goto "beginning" #p7 if (OBJ_1 == 0) then {p7 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p7 moveincargo SpawnTruck}; goto "beginning" #p8 if (OBJ_1 == 0) then {p8 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p8 moveincargo SpawnTruck}; goto "beginning" #p9 if (OBJ_1 == 0) then {p9 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p9 moveincargo SpawnTruck}; goto "beginning" #p10 if (OBJ_1 == 0) then {p10 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p10 moveincargo SpawnTruck}; goto "beginning" #p11 if (OBJ_1 == 0) then {p11 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p11 moveincargo SpawnTruck}; goto "beginning" #p12 if (OBJ_1 == 0) then {p12 setPos ([getPos SpawnBase select 0, getPos SpawnBase select 1, getPos SpawnBase select 2])}; if (OBJ_1 == 1) then {p12 moveincargo SpawnTruck}; goto "beginning"stringx=format[" %1 men left",reserve]; hint stringx; exit; ;? (Param2 == 2) : goto "skipreserve"; ;#skipreserve// ========================================================================================================= // Urban Patrol Script // Version: 2.0.0 // Author: Kronzky (www.kronzky.info / kronzky@gmail.com) // --------------------------------------------------------------------------------------------------------- // Required parameters: // unit = Unit to patrol area (1st argument) // markername = Name of marker that covers the active area. (2nd argument) // (e.g. nul=[this,"town"] execVM "ups.sqf") // // Optional parameters: // random = Place unit at random start position. // randomdn = Only use random positions on ground level. // randomup = Only use random positions at top building positions. // min:n/max:n = Create a random number (between min and max) of 'clones'. // init:string = Custom init string for created clones. // nomove = Unit will stay at start position until enemy is spotted. // nofollow = Unit will only follow an enemy within the marker area. // delete:n = Delete dead units after 'n' seconds. // nowait = Do not wait at patrol end points. // noslow = Keep default behaviour of unit (don't change to "safe" and "limited"). // noai = Don't use enhanced AI for evasive and flanking maneuvers. // showmarker = Display the area marker. // trigger = Display a message when no more units are left in sector. // empty:n = Consider area empty, even if 'n' units are left. // track = Display a position and destination marker for each unit. // // ========================================================================================================= if (!isServer) exitWith {}; // how far opfors should move away if they're under attack // set this to 200-300, when using the script in open areas (rural surroundings) _safedist=75; // how close unit has to be to target to generate a new one _closeenough=10; // how close units have to be to each other to share information _sharedist=150; // how long AI units should be in alert mode after initially spotting an enemy _alerttime=180; // --------------------------------------------------------------------------------------------------------- //echo format["[K] %1",_this]; // convert argument list to uppercase _UCthis = []; for [{_i=0},{_i0} do {_bz=((_bld BuildingPos _bi) select 2); if ((_bz-_hz)>.3) then {_hz=_bz; _bldpos=_bi+1;}; _bi=_bi-1;}; _bldpos;}; KRON_OnRoad = {private["_p","_w","_i","_lst"];_p=_this select 0; _w=_this select 1; _i=_this select 2; _lst=_p nearObjects ["House",12]; if ((count _lst==0) && (_w || !(surfaceIsWater _p))) then {_i=99}; (_i+1)}; KRON_getDirPos = {private["_a","_b","_from","_to","_return"]; _from = _this select 0; _to = _this select 1; _return = 0; _a = ((_to select 0) - (_from select 0)); _b = ((_to select 1) - (_from select 1)); if (_a != 0 || _b != 0) then {_return = _a atan2 _b}; if ( _return < 0 ) then { _return = _return + 360 }; _return}; KRON_distancePosSqr = {(((_this select 0) select 0)-((_this select 1) select 0))^2 + (((_this select 0) select 1)-((_this select 1) select 1))^2}; KRON_relPos = {private["_p","_d","_a","_x","_y","_xout","_yout"];_p=_this select 0; _x=_p select 0; _y=_p select 1; _d=_this select 1; _a=_this select 2; _xout=_x + sin(_a)*_d; _yout=_y + cos(_a)*_d;[_xout,_yout,0]}; KRON_rotpoint = {private["_cp","_a","_tx","_ty","_cd","_sd","_cx","_cy","_xout","_yout"];_cp=_this select 0; _cx=_cp select 0; _cy=_cp select 1; _a=_this select 1; _cd=cos(_a*-1); _sd=sin(_a*-1); _tx=_this select 2; _ty=_this select 3; _xout=if (_a!=0) then {_cx+ (_cd*_tx - _sd*_ty)} else {_cx+_tx}; _yout=if (_a!=0) then {_cy+ (_sd*_tx + _cd*_ty)} else {_cy+_ty}; [_xout,_yout,0]}; KRON_stayInside = { private["_np","_nx","_ny","_cp","_cx","_cy","_rx","_ry","_d","_tp","_tx","_ty","_fx","_fy"]; _np=_this select 0; _nx=_np select 0; _ny=_np select 1; _cp=_this select 1; _cx=_cp select 0; _cy=_cp select 1; _rx=_this select 2; _ry=_this select 3; _d=_this select 4; _tp = [_cp,_d,(_nx-_cx),(_ny-_cy)] call KRON_rotpoint; _tx = _tp select 0; _fx=_tx; _ty = _tp select 1; _fy=_ty; if (_tx<(_cx-_rx)) then {_fx=_cx-_rx}; if (_tx>(_cx+_rx)) then {_fx=_cx+_rx}; if (_ty<(_cy-_ry)) then {_fy=_cy-_ry}; if (_ty>(_cy+_ry)) then {_fy=_cy+_ry}; if ((_fx!=_tx) || (_fy!=_ty)) then {_np = [_cp,_d*-1,(_fx-_cx),(_fy-_cy)] call KRON_rotpoint}; _np; }; // Misc KRON_getArg = {private["_cmd","_arg","_list","_a","_v"]; _cmd=_this select 0; _arg=_this select 1; _list=_this select 2; _a=-1; {_a=_a+1; _v=format["%1",_list select _a]; if (_v==_cmd) then {_arg=(_list select _a+1)}} foreach _list; _arg}; KRON_deleteDead = {private["_u","_s"];_u=_this select 0; _s= _this select 1; _u removeAllEventHandlers "killed"; sleep _s; deletevehicle _u}; KRON_AllTroops=[]; KRON_AllWest=[]; KRON_AllEast=[]; KRON_AllRes=[]; KRON_KnownEnemy=[objNull,objNull]; _obj = _this select 0; _pos = [5000,5000]; if (typename _obj=="OBJECT") then {_pos=position _obj}; _trg=createTrigger ["EmptyDetector", _pos]; _trg setTriggerArea [20000,20000,0,false]; _trg setTriggerActivation ["ANY","PRESENT",false]; _trg setTriggerTimeout [1,1,1,false]; sleep 1 + (random 1); _l=list _trg; deleteVehicle _trg; { if (("AllVehicles" countType [_x]>0) && (side _x != civilian)) then { KRON_AllTroops=KRON_AllTroops+[_x]; _s = side _x; switch (_s) do { case west: { KRON_AllWest=KRON_AllWest+[_x]; }; case east: { KRON_AllEast=KRON_AllEast+[_x]; }; case resistance: { KRON_AllRes=KRON_AllRes+[_x]; }; }; }; } forEach _l; _l = nil; if (isNil("KRON_UPS_Debug")) then {KRON_UPS_Debug=0}; KRON_HQ="Logic" createVehicle [0,0]; KRON_UPS_Instances=0; KRON_UPS_Total=0; KRON_UPS_Exited=0; KRON_UPS_INIT=1; }; if ((count _this)<2) exitWith { if (format["%1",_this]!="INIT") then {hint "UPS: Unit and marker name have to be defined!"}; }; _exit = false; // --------------------------------------------------------------------------------------------------------- waitUntil {KRON_UPS_INIT==1}; sleep (random 1); KRON_UPS_Instances = KRON_UPS_Instances + 1; // get name of area marker _areamarker = _this select 1; if (isNil ("_areamarker")) exitWith { hint "UPS: Area marker not defined.\n(Typo, or name not enclosed in quotation marks?)"; }; // remember center position of area marker _centerpos = getMarkerPos _areamarker; _centerX = abs(_centerpos select 0); _centerY = abs(_centerpos select 1); // show area marker _showmarker = if ("SHOWMARKER" in _UCthis) then {"SHOWMARKER"} else {"HIDEMARKER"}; if (_showmarker=="HIDEMARKER") then { //_areamarker setMarkerCondition "false"; // VBS2 _areamarker setMarkerPos [-abs(_centerX),-abs(_centerY)]; }; // unit that's moving _obj = _this select 0; _npc = _obj; // is anybody alive in the group? _exit = true; if (typename _obj=="OBJECT") then { if (alive _npc) then {_exit = false;} } else { if (count _obj>0) then { {if (alive _x) then {_npc = _x; _exit = false;}} forEach _obj; }; }; // give this group a unique index _grpidx = format["%1",KRON_UPS_Instances]; _grpname = format["%1_%2",(side _npc),_grpidx]; // remember the original group members, so we can later find a new leader, in case he dies _members = units _npc; KRON_UPS_Total = KRON_UPS_Total + (count _members); // what type of "vehicle" is unit ? _isman = "Man" countType [_npc]>0; _iscar = "LandVehicle" countType [_npc]>0; _isboat = "Ship" countType [_npc]>0; _isplane = "Air" countType [_npc]>0; // check to see whether group is an enemy of the player (for attack and avoidance maneuvers) // since countenemy doesn't count vehicles, and also only counts enemies if they're known, // we just have to brute-force it for now, and declare *everyone* an enemy who isn't a civilian _issoldier = side _npc != civilian; _friends=[]; _enemies=[]; _sharedenemy=0; //TODO: FIND A WAY TO DETERMINE ASSOCIATION OF RESISTANCE UNITS if (_issoldier) then { switch (side _npc) do { case west: { _friends=_friends+KRON_AllWest; _enemies=_enemies+KRON_AllEast+KRON_AllRes; _sharedenemy=0; }; case east: { _friends=_friends+KRON_AllEast; _enemies=_enemies+KRON_AllWest+KRON_AllRes; _sharedenemy=1; }; case resistance: { _enemies=_enemies+KRON_AllEast+KRON_AllWest; _sharedenemy=2; }; }; {_friends=_friends-[_x]} forEach _members; }; sleep .01; // global unit variable to externally influence script _named = false; _npcname = str(side _npc); if ("NAMED" in _UCthis) then { _named = true; _npcname = format["%1",_npc]; _grpidx = _npcname; }; // create global variable for this group call compile format ["KRON_UPS_%1=1",_npcname]; // X/Y range of target area _areasize = getMarkerSize _areamarker; _rangeX = _areasize select 0; _rangeY = _areasize select 1; // marker orientation (needed as negative value!) _areadir = (markerDir _areamarker) * -1; sleep .01; // store some trig calculations _cosdir=cos(_areadir); _sindir=sin(_areadir); // minimum distance of new target position _mindist=(_rangeX^2+_rangeY^2)/4; if (_rangeX==0) exitWith { hint format["UPS: Cannot patrol Sector: %1\nArea Marker doesn't exist",_areamarker]; }; //hint format["%1,%2,%3,%4",_areamarker,isNil ("_areamarker"),_rangeX,_rangeY]; // remember the original mode & speed _orgMode = behaviour _npc; _orgSpeed = speedmode _npc; // set first target to current position (so we'll generate a new one right away) _currPos = getpos _npc; _orgPos = _currPos; _orgWatch=[_currPos,50,getDir _npc] call KRON_relPos; _orgDir = getDir _npc; _avoidPos = [0,0]; _flankPos = [0,0]; _attackPos = [0,0]; _dist = 0; _lastdist = 0; _lastmove1 = 0; _lastmove2 = 0; _maxmove=0; _moved=0; _damm=0; _dammchg=0; _lastdamm = 0; _timeontarget = 0; _fightmode = "walk"; _fm=0; _gothit = false; _hitPos=[0,0,0]; _react = 99; _lastdamage = 0; _lastknown = 0; _opfknowval = 0; _sin90=1; _cos90=0; _sin270=-1; _cos270=0; // set target tolerance high for choppers & planes _closeenough=_closeenough*_closeenough; if (_isplane) then {_closeenough=5000}; sleep .01; // ***************************************** optional arguments ***************************************** // wait at patrol end points _pause = if ("NOWAIT" in _UCthis) then {"NOWAIT"} else {"WAIT"}; // don't move until an enemy is spotted _nomove = if ("NOMOVE" in _UCthis) then {"NOMOVE"} else {"MOVE"}; // don't follow outside of marker area _nofollow = if ("NOFOLLOW" in _UCthis) then {"NOFOLLOW"} else {"FOLLOW"}; // share enemy info _shareinfo = if ("NOSHARE" in _UCthis) then {"NOSHARE"} else {"SHARE"}; // "area cleared" trigger activator _areatrigger = if ("TRIGGER" in _UCthis) then {"TRIGGER"} else {if ("NOTRIGGER" in _UCthis) then {"NOTRIGGER"} else {"SILENTTRIGGER"}}; // suppress fight behaviour if ("NOAI" in _UCthis) then {_issoldier=false}; // adjust cycle delay _cycle = ["CYCLE:",5,_UCthis] call KRON_getArg; // drop units at random positions _initpos = "ORIGINAL"; if ("RANDOM" in _UCthis) then {_initpos = "RANDOM"}; if ("RANDOMUP" in _UCthis) then {_initpos = "RANDOMUP"}; if ("RANDOMDN" in _UCthis) then {_initpos = "RANDOMDN"}; // don't position groups or vehicles on rooftops if ((_initpos!="ORIGINAL") && ((!_isman) || (count _members)>1)) then {_initpos="RANDOMDN"}; // set behaviour modes (or not) _noslow = if ("NOSLOW" in _UCthis) then {"NOSLOW"} else {"SLOW"}; if (_noslow!="NOSLOW") then {_npc setbehaviour "safe"; _npc setspeedmode "limited";}; // make start position random if (_initpos!="ORIGINAL") then { // find a random position (try a max of 20 positions) _try=0; _bld=0; _bldpos=0; while {_try<20} do { _currPos=[_centerX,_centerY,_rangeX,_rangeY,_cosdir,_sindir,_areadir] call KRON_randomPos; _posinfo=[_currPos] call KRON_PosInfo; // _posinfo: [0,0]=no house near, [obj,-1]=house near, but no roof positions, [obj,pos]=house near, with roof pos _bld=_posinfo select 0; _bldpos=_posinfo select 1; if (_isplane || _isboat || !(surfaceiswater _currPos)) then { if (((_initpos=="RANDOM") || (_initpos=="RANDOMUP")) && (_bldpos>0)) then {_try=99}; if (((_initpos=="RANDOM") || (_initpos=="RANDOMDN")) && (_bldpos==0)) then {_try=99}; }; _try=_try+1; }; if (_bldpos==0) then { if (_isman) then { {_x setpos _currPos} foreach units _npc; } else { _npc setpos _currPos; }; } else { // put the unit on top of a building _npc setPos (_bld buildingPos _bldpos-1); _currPos = getPos _npc; _exit=true; // don't move if on roof }; }; sleep .01; // track unit _track = if (("TRACK" in _UCthis) || (KRON_UPS_Debug>0)) then {"TRACK"} else {"NOTRACK"}; _trackername = ""; _destname = ""; if (_track=="TRACK") then { _track = "TRACK"; _trackername=format["trk_%1",_grpidx]; _markerobj = createMarker[_trackername,[0,0]]; _markerobj setMarkerShape "ICON"; _markertype = if (isClass(configFile >> "cfgMarkers" >> "WTF_Dot")) then {"WTF_DOT"} else {"DOT"}; _trackername setMarkerType _markertype; _markercolor = switch (side _npc) do { case west: {"ColorGreen"}; case east: {"ColorRed"}; case resistance: {"ColorBlue"}; default {"ColorBlack"}; }; _trackername setMarkerColor _markercolor; _trackername setMarkerText format["%1",_grpidx]; _trackername setmarkerpos _currPos; _destname=format["dest_%1",_grpidx]; _markerobj = createMarker[_destname,[0,0]]; _markerobj setMarkerShape "ICON"; _markertype = if (isClass(configFile >> "cfgMarkers" >> "WTF_Flag")) then {"WTF_FLAG"} else {"FLAG"}; _destname setMarkerType _markertype; _destname setMarkerColor _markercolor; _destname setMarkerText format["%1",_grpidx]; _destname setMarkerSize [.5,.5]; }; sleep .01; // delete dead units _deletedead = ["DELETE:",0,_UCthis] call KRON_getArg; if (_deletedead>0) then { {_x addEventHandler['killed',format["[_this select 0,%1] spawn KRON_deleteDead",_deletedead]]}forEach _members; }; // how many group clones? // TBD: add to global side arrays? _mincopies = ["MIN:",0,_UCthis] call KRON_getArg; _maxcopies = ["MAX:",0,_UCthis] call KRON_getArg; if (_mincopies>_maxcopies) then {_maxcopies=_mincopies}; if (_maxcopies>140) exitWith {hint "Cannot create more than 140 groups!"}; if (_maxcopies>0) then { _copies=_mincopies+random (_maxcopies-_mincopies); // any init strings? _initstr = ["INIT:","",_UCthis] call KRON_getArg; // create the clones for "_grpcnt" from 1 to _copies do { //echo format["[K]creating clone %1 of %2",_grpcnt,_copies]; // copy groups if (isNil ("KRON_grpindex")) then {KRON_grpindex = 0}; KRON_grpindex = KRON_grpindex+1; // copy group leader _unittype=typeof _npc; // make the clones civilians // use random Civilian models for single unit groups if ((_unittype=="Civilian") && (count _members==1)) then {_rnd=1+round(random 20); if (_rnd>1) then {_unittype=format["Civilian%1",_rnd]}}; _grp=createGroup side _npc; _lead = _grp createUnit [_unittype, getpos _npc, [], 0, "form"]; _lead setVehicleVarName format["l%1",KRON_grpindex]; call compile format["l%1=_lead",KRON_grpindex]; _lead setBehaviour behaviour npc; _lead setSpeedmode speedMode npc; _lead setSkill skill _npc; _lead setVehicleInit _initstr; [_lead] join _grp; _grp selectLeader _lead; // copy team members (skip the leader) _c=0; { _c=_c+1; if (_c>1) then { _newunit = _grp createUnit [typeof _x, getpos _x, [],0,"form"]; _newunit setBehaviour behaviour _x; _newunit setSpeedMode speedMode _x; _newunit setSkill skill _x; _newunit setVehicleInit _initstr; [_newunit] join _grp; }; } foreach _members; _nul=[_lead,_areamarker,_pause,_noslow,_nomove,_nofollow,_initpos,_track,_showmarker,_shareinfo,"DELETE:",_deletedead] execVM "ups.sqf"; sleep .05; }; }; sleep .01; // units that can be left for area to be "cleared" _zoneempty = ["EMPTY:",0,_UCthis] call KRON_getArg; // create area trigger if (_areatrigger!="NOTRIGGER") then { _trgside = switch (side _npc) do { case west: {"WEST"}; case east: {"EAST"}; case resistance: {"GUER"}; case civilian: {"CIV"};}; _trgname="KRON_Trig_"+_trgside+"_"+_areamarker; _flgname="KRON_Cleared_"+_areamarker; // has the trigger been created already? KRON_TRGFlag=-1; call compile format["%1=false",_flgname]; call compile format["KRON_TRGFlag=%1",_trgname]; if (isNil ("KRON_TRGFlag")) then { // trigger doesn't exist yet, so create one (make it a bit bigger than the marker, to catch path finding 'excursions' and flanking moves) call compile format["%1=createTrigger['EmptyDetector',_centerpos]",_trgname]; call compile format["%1 setTriggerArea[_rangeX*1.5,_rangeY*1.5,markerDir _areamarker,true]",_trgname]; call compile format["%1 setTriggerActivation[_trgside,'PRESENT',true]",_trgname]; call compile format["%1 setEffectCondition 'true'",_trgname]; call compile format["%1 setTriggerTimeout [5,7,10,true]",_trgname]; if (_areatrigger!="SILENTTRIGGER") then { call compile format["%1 setTriggerStatements['count thislist<=%6', 'titletext [''SECTOR <%2> CLEARED'',''PLAIN''];''%2'' setmarkerpos [-%4,-%5];%3=true;', 'titletext [''SECTOR <%2> HAS BEEN RE-OCCUPIED'',''PLAIN''];''%2'' setmarkerpos [%4,%5];%3=false;']", _trgname,_areamarker,_flgname,_centerX,_centerY,_zoneempty]; } else { call compile format["%1 setTriggerStatements['count thislist<=%3', '%2=true;', '%2=false;']", _trgname,_flgname,_zoneempty]; }; }; sleep .01; }; // init done _makenewtarget=true; _newpos=false; _targetPos = _currPos; _swimming = false; _waiting = if (_nomove=="NOMOVE") then {9999} else {0}; // exit if something went wrong during initialization (or if unit is on roof) if (_exit) exitWith { if (KRON_UPS_DEBUG>0) then {hint "Initialization aborted"}; }; // *********************************************************************************************************** // ************************************************ MAIN LOOP ************************************************ _loop=true; _currcycle=_cycle; while {_loop} do { sleep .01; _timeontarget=_timeontarget+_currcycle; _react=_react+_currcycle; //echo format["[K] time on target: %1",_timeontarget]; // did anybody in the group got hit? _newdamage=0; { if((damage _x)>0.2) then { _newdamage=_newdamage+(damage _x); // damage has increased since last round if (_newdamage>_lastdamage) then { _lastdamage=_newdamage; _gothit=true; }; _hitPos=getpos _x; if (!alive _x) then { _members=_members-[_x]; _friends=_friends-[_x]; KRON_AllTroops=KRON_AllTroops-[_x]; }; }; } foreach _members; sleep .01; // nobody left alive, exit routine if (count _members==0) then { _exit=true; } else { // did the leader die? if (!alive _npc) then { _npc = _members select 0; group _npc selectLeader _npc; if (isPlayer _npc) then {_exit=true}; }; }; // current position _currPos = getpos _npc; _currX = _currPos select 0; _currY = _currPos select 1; if (_track=="TRACK") then { _trackername setmarkerpos _currPos; }; // if the AI is a civilian we don't have to bother checking for enemy encounters if ((_issoldier) && ((count _enemies)>0) && !(_exit)) then { // if the leader comes across another unit that's either injured or dead, go into combat mode as well. // If the other person is still alive, share enemy information. if ((_shareinfo=="SHARE") && (behaviour _npc=="SAFE")) then { _others=_friends-_members; { if (!(isNull _x) && (_npc distance _x<_sharedist) && (damage _x>.5)) exitWith { _npc setbehaviour "combat"; _gothit=true; if ((_hitPos select 0)==0) then {_hitPos = getPos _x}; if (_npc knowsabout _x>3) then { if (alive _x) then {_npc reveal (KRON_KnownEnemy select _sharedenemy)}; }; }; } forEach _others; }; sleep .01; // did the group spot an enemy? _lastknown=_opfknowval; _opfknowval=0; _maxknowledge=0; { _knows=_npc knowsabout _x; if (KRON_UPS_Debug>10) then {player sidechat format["%1: %2",_grpidx,_knows]}; if ((alive _x) && (_knows>0.2) && (_knows>_maxknowledge)) then { KRON_KnownEnemy set [_sharedenemy,_x]; _opfknowval=_opfknowval+_knows; _maxknowledge=_knows; if (KRON_UPS_Debug>0) then {player sidechat format["%1: %2",_grpidx,KRON_KnownEnemy]}; }; if (!alive _x) then {_enemies=_enemies-[_x]}; if (_maxknowledge==4) exitWith {}; } forEach _enemies; sleep .01; _pursue=false; _accuracy=100; // opfor spotted an enemy or got shot, so start pursuit if (_opfknowval>_lastknown || _gothit) then { _npc setbehaviour "combat"; _pursue=true; // make the exactness of the target dependent on the knowledge about the shooter _accuracy=21-(_maxknowledge*5); }; if (isNull (KRON_KnownEnemy select _sharedenemy)) then { _pursue=false; }; // don't react to new fatalities if less than 60 seconds have passed since the last one if ((_react<60) && (_fightmode!="walk")) then {_pursue=false}; if (_pursue) then { // get position of spotted unit in player group, and watch that spot _offsx=_accuracy/2-random _accuracy; _offsY=_accuracy/2-random _accuracy; _targetPos = getpos (KRON_KnownEnemy select _sharedenemy); _targetPos = [(_targetPos select 0) + _offsX, (_targetPos select 1) + _offsY]; _targetX = _targetPos select 0; _targetY = _targetPos select 1; {_x dowatch _targetPos} foreach units _npc; sleep .01; // also go into "combat mode" _npc setspeedmode "full"; _npc setbehaviour "combat"; _pause="NOWAIT"; _waiting=0; // angle from unit to target _dir1 = [_currPos,_targetPos] call KRON_getDirPos; // angle from target to unit (reverse direction) _dir2 = (_dir1+180) mod 360; // angle from fatality to target _dir3 = if (_hitPos select 0!=0) then {[_hitPos,_targetPos] call KRON_getDirPos} else {_dir1}; _dd=(_dir1-_dir3); // unit position offset straight towards target _relUX = sin(_dir1)*_safedist; _relUY = cos(_dir1)*_safedist; // target position offset straight towards unit _relTX = sin(_dir2)*_safedist; _relTY = cos(_dir2)*_safedist; // go either left or right (depending on location of fatality - or randomly if no fatality) _sinU=_sin90; _cosU=_cos90; _sinT=_sin270; _cosT=_cos270; if ((_dd<0) || (_dd==0 && (random 1)>.5)) then {_sinU=_sin270; _cosU=_cos270; _sinT=_sin90; _cosT=_cos90}; // avoidance position (right or left of unit) _avoidX = _currX + _cosU*_relUX - _sinU*_relUY; _avoidY = _currY + _sinU*_relUX + _cosU*_relUY; _avoidPos = [_avoidX,_avoidY]; // flanking position (right or left of target) _flankX = _targetX + _cosT*_relTX - _sinT*_relTY; _flankY = _targetY + _sinT*_relTX + _cosT*_relTY; _flankPos = [_flankX,_flankY]; // final target position _attackPos = _targetPos; // for now we're stepping a bit to the side _targetPos = _avoidPos; if (_nofollow=="NOFOLLOW") then { _avoidPos = [_avoidPos,_centerpos,_rangeX,_rangeY,_areadir] call KRON_stayInside; _flankPos = [_flankPos,_centerpos,_rangeX,_rangeY,_areadir] call KRON_stayInside; _attackPos = [_attackPos,_centerpos,_rangeX,_rangeY,_areadir] call KRON_stayInside; _targetPos = [_targetPos,_centerpos,_rangeX,_rangeY,_areadir] call KRON_stayInside; }; _react=0; _fightmode="fight"; _timeontarget=0; _fm=1; if (KRON_UPS_Debug!=0) then { "dead" setmarkerpos _hitPos; "avoid" setmarkerpos _avoidPos; "flank" setmarkerpos _flankPos; "target" setmarkerpos _attackPos; }; _newpos=true; // speed up the cycle duration after an incident if (_currcycle>=_cycle) then {_currcycle=1}; }; }; sleep .01; if !(_newpos) then { // calculate new distance // if we're waiting at a waypoint, no calculating necessary if (_waiting<=0) then { // distance to target _dist = [_currPos,_targetPos] call KRON_distancePosSqr; if (_lastdist==0) then {_lastdist=_dist}; _moved = abs(_dist-_lastdist); // adjust the target tolerance for fast moving vehicles if (_moved>_maxmove) then {_maxmove=_moved; if ((_maxmove/40) > _closeenough) then {_closeenough=_maxmove/40}}; // how much did we move in the last three cycles? _totmove=_moved+_lastmove1+_lastmove2; _damm = damage _npc; // is our damage changing (increasing)? _dammchg = abs(_damm - _lastdamm); // we're either close enough, seem to be stuck, or are getting damaged, so find a new target if ((!_swimming) && ((_dist<=_closeenough) || (_totmove<.2) || (_dammchg>0.01) || (_timeontarget>_alerttime))) then {_makenewtarget=true;}; // in 'attack (approach) mode', so follow the flanking path (don't make it too predictable though) if ((_fightmode!="walk") && (_dist<=_closeenough)) then { if ((random 1)<.95) then { if (_flankPos select 0!=0) then { _targetPos=_flankPos; _flankPos=[0,0]; _makenewtarget=false; _newpos=true; _fm=1; } else { if (_attackPos select 0!=0) then { _targetPos=_attackPos; _attackPos=[0,0]; _makenewtarget=false; _newpos=true; _fm=2; }; }; }; }; sleep .01; // make new target if (_makenewtarget) then { if ((_nomove=="NOMOVE") && (_timeontarget>_alerttime)) then { if (([_currPos,_orgPos] call KRON_distancePosSqr)<_closeenough) then { _newpos = false; } else { _targetPos=_orgPos; }; } else { // re-read marker position/size _centerpos = getMarkerPos _areamarker; _centerX = abs(_centerpos select 0); _centerY = abs(_centerpos select 1); _areasize = getMarkerSize _areamarker; _rangeX = _areasize select 0; _rangeY = _areasize select 1; _areadir = (markerDir _areamarker) * -1; // find a new target that's not too close to the current position _targetPos=_currPos; _tries=0; while {((([_currPos,_targetPos] call KRON_distancePosSqr) < _mindist)) && (_tries<20)} do { _tries=_tries+1; // generate new target position (on the road) _road=0; while {_road<20} do { _targetPos=[_centerX,_centerY,_rangeX,_rangeY,_cosdir,_sindir,_areadir] call KRON_randomPos; _road=[_targetPos,(_isplane||_isboat),_road] call KRON_OnRoad; sleep .01; }; }; }; _avoidPos = [0,0]; _flankPos = [0,0]; _attackPos = [0,0]; _gothit=false; _hitPos=[0,0,0]; _fm=0; _npc setspeedmode _orgSpeed; _newpos=true; // if we're waiting at patrol end points then don't create a new target right away. Keep cycling though to check for enemy encounters if ((_pause!="NOWAIT") && (_waiting<0)) then {_waiting = (15 + random 20)}; }; }; }; sleep .01; // if in water, get right back out of it again if (surfaceIsWater _currPos) then { if (_isman && !_swimming) then { _drydist=999; // look around, to find a dry spot for [{_a=0}, {_a<=270}, {_a=_a+90}] do { _dp=[_currPos,30,_a] call KRON_relPos; if !(surfaceIsWater _dp) then {_targetPos=_dp}; }; _newpos=true; _swimming=true; }; } else { _swimming=false; }; _waiting = _waiting - _currcycle; if ((_waiting<=0) && _newpos) then { // tell unit about new target position //{_x doMove _targetPos}forEach _member; _npc move _targetPos; if (_fightmode!="walk") then { if (_timeontarget>_alerttime) then { _fightmode="walk"; _npc setBehaviour _orgMode; }; }; if (_track=="TRACK") then { switch (_fm) do { case 1: {_destname setmarkerSize [.4,.4]}; case 2: {_destname setmarkerSize [.6,.6]}; default {_destname setmarkerSize [.5,.5]}; }; _destname setMarkerPos _targetPos; }; _dist=0; _moved=0; _lastmove1=10; _waiting=-1; _newpos=false; _swimming=false; }; // move on _lastdist = _dist; _lastmove2 = _lastmove1; _lastmove1 = _moved; _lastdamm = _damm; // check external loop switch _cont = (call compile format ["KRON_UPS_%1",_npcname]); if (_cont==0) then {_exit=true}; _makenewtarget=false; if ((_exit) || (isNil("_npc"))) then { _loop=false; } else { // slowly increase the cycle duration after an incident if (_currcycle<_cycle) then {_currcycle=_currcycle+.5}; sleep _currcycle; }; }; if !(isNil("_npc")) then { {doStop _x; _x domove getPos _x; _x move getPos _x} forEach _members; }; KRON_UPS_Exited=KRON_UPS_Exited+1; if (_track=="TRACK") then { _trackername setMarkerType "Dot"; _destname setMarkerType "Empty"; }; _friends=nil; _enemies=nil; �w���V�hf��b�U� �)/�