From 6a92b43b1de334b17ba2ff87a98a9205b6a17671 Mon Sep 17 00:00:00 2001 From: J3aLeiNe Date: Wed, 22 Jun 2016 16:36:53 +0200 Subject: [PATCH 1/3] Update fnc_getMapData.sqf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add maps and fix latitude : - Kidal, latitude 18° (default latitude 0°) - Governor´s Island, latitude 41° (default latitude -34°) - Doung island (Unsung Mod), latitude 10° (default latitude -10°) - Dakrong (Unsung Mod), latitude 16° (default latitude -16°) - Pecher map, latitude 43° (default latitude -34°) Remove obsolete Arma2 Lingor map and fix my illiterate mistakes ... --- addons/common/functions/fnc_getMapData.sqf | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/addons/common/functions/fnc_getMapData.sqf b/addons/common/functions/fnc_getMapData.sqf index 4771def8a2..89d83e044d 100644 --- a/addons/common/functions/fnc_getMapData.sqf +++ b/addons/common/functions/fnc_getMapData.sqf @@ -32,11 +32,12 @@ if (_map in ["bootcamp_acr"]) exitWith { [50, 0] }; if (_map in ["bornholm"]) exitWith { [55, 0] }; if (_map in ["bozcaada"]) exitWith { [40, 0] }; if (_map in ["caribou"]) exitWith { [68, 0] }; +if (_map in ["cartercity"]) exitWith { [43, 130] }; //Pecher, based on Grozny (1995 - 1996) elevation 130m (Wikipedia) if (_map in ["catalina"]) exitWith { [33, 0] }; if (_map in ["chernarus", "chernarus_summer", "chernarus_winter"]) exitWith { [50, 0] }; if (_map in ["chernobylzone", "chernobylzonea2"]) exitWith { [51, 0] }; if (_map in ["clafghan"]) exitWith { [34, 640] }; -if (_map in ["dakrong"]) exitWith { [17, 0] }; //Unsung Mod +if (_map in ["dakrong"]) exitWith { [16, 0] }; //Unsung Mod if (_map in ["desert_e"]) exitWith { [40, 800] }; if (_map in ["dya"]) exitWith { [34, 110] }; //Diyala Iraq - default elevationOffset if (_map in ["esseker"]) exitWith { [43, 2000] }; @@ -53,16 +54,18 @@ if (_map in ["jacobi"]) exitWith { [34, 2000] }; //default elevationOffset if (_map in ["kapaulio"]) exitWith { [0, 0] }; if (_map in ["kerama"]) exitWith { [26, 0] }; //Kerama Islands, Japan - default elevationOffset if (_map in ["kholm"]) exitWith { [36, 0] }; +if (_map in ["kidal"]) exitWith { [18, 0] }; //Kidal, Mali - default elevationOffset if (_map in ["koplic"]) exitWith { [42, 0] }; if (_map in ["kunduz"]) exitWith { [37, 0] }; -if (_map in ["lingor", "lingor3"]) exitWith { [-4, 0] }; +if (_map in ["lingor3"]) exitWith { [-4, 0] }; if (_map in ["lost", "lostw"]) exitWith { [60, 0] }; -if (_map in ["mcn_aliabad"]) exitWith { [36, 0] }; if (_map in ["malvinas"]) exitWith { [-52, 0] }; -if (_map in ["namalsk"]) exitWith { [65, 0] }; +if (_map in ["mcn_aliabad"]) exitWith { [36, 0] }; if (_map in ["mef_alaska"]) exitWith { [60, 5] }; if (_map in ["mountains_acr"]) exitWith { [35, 2000] }; +if (_map in ["namalsk"]) exitWith { [65, 0] }; if (_map in ["napf", "napfwinter"]) exitWith { [47, 0] }; +if (_map in ["newyork_lumnuon"]) exitWith { [41, 5] }; //Governer´s Island, New York - default elevationOffset if (_map in ["panthera3"]) exitWith { [46, 0] }; if (_map in ["pianosa_aut"]) exitWith { [43, 0] }; //Pianosa, Italy - default elevationOffset if (_map in ["pja305"]) exitWith { [0, 0] }; //G.O.S N'Ziwasogo @@ -75,12 +78,13 @@ if (_map in ["porquerolles"]) exitWith { [43, 0] }; if (_map in ["porto"]) exitWith { [40, 0] }; if (_map in ["provinggrounds_pmc"]) exitWith { [35, 100] }; if (_map in ["reshmaan"]) exitWith { [35, 2000] }; +if (_map in ["rungsat"]) exitWith { [10, 0] }; //Unsung Mod if (_map in ["sara", "sara_dbe1"]) exitWith { [40, 0] }; if (_map in ["saralite"]) exitWith { [40, 0] }; if (_map in ["sb3"]) exitWith { [53, 25] }; //TrpUebPl Einfelde Nord (Munster North Training Area, Germany) - default elevationOffset -if (_map in ["shapur_baf"]) exitWith { [35, 100] }; if (_map in ["sfp_sturko"]) exitWith { [56, 0] }; if (_map in ["sfp_wamako"]) exitWith { [14, 0] }; +if (_map in ["shapur_baf"]) exitWith { [35, 100] }; if (_map in ["sugarlake"]) exitWith { [29, 0] }; if (_map in ["takistan"]) exitWith { [35, 2000] }; if (_map in ["thirsk"]) exitWith { [65, 0] }; From 8e7282a46a214be5ae939083a5f4944d7e5da42f Mon Sep 17 00:00:00 2001 From: J3aLeiNe Date: Fri, 24 Jun 2016 19:47:44 +0200 Subject: [PATCH 2/3] Add OFP maps by CWR2 team - Add OFP maps by CWR2 team included in the last CUP terrains update - Fix latitude according to the Bohemia Wiki --- addons/common/functions/fnc_getMapData.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/common/functions/fnc_getMapData.sqf b/addons/common/functions/fnc_getMapData.sqf index 89d83e044d..43a0baf9ad 100644 --- a/addons/common/functions/fnc_getMapData.sqf +++ b/addons/common/functions/fnc_getMapData.sqf @@ -23,6 +23,7 @@ if (_map in ["altis"]) exitWith { [40, 0] }; if (_map in ["stratis"]) exitWith { [40, 0] }; if (_map in ["abbottabad"]) exitWith { [34, 1256] }; //Abbottabad elevation 1256m (Wikipedia) +if (_map in ["abel"]) exitWith { [39, 0] }; //CWR2 Malden if (_map in ["abramia"]) exitWith { [60, 0] }; if (_map in ["af_kandahar_province"]) exitWith { [42, 0] }; if (_map in ["angel"]) exitWith { [38, 0] }; @@ -31,6 +32,7 @@ if (_map in ["australia"]) exitWith { [-25, 0] }; if (_map in ["bootcamp_acr"]) exitWith { [50, 0] }; if (_map in ["bornholm"]) exitWith { [55, 0] }; if (_map in ["bozcaada"]) exitWith { [40, 0] }; +if (_map in ["cain"]) exitWith { [40, 0] }; //CWR2 Kolgujev if (_map in ["caribou"]) exitWith { [68, 0] }; if (_map in ["cartercity"]) exitWith { [43, 130] }; //Pecher, based on Grozny (1995 - 1996) elevation 130m (Wikipedia) if (_map in ["catalina"]) exitWith { [33, 0] }; @@ -39,7 +41,9 @@ if (_map in ["chernobylzone", "chernobylzonea2"]) exitWith { [51, 0] }; if (_map in ["clafghan"]) exitWith { [34, 640] }; if (_map in ["dakrong"]) exitWith { [16, 0] }; //Unsung Mod if (_map in ["desert_e"]) exitWith { [40, 800] }; +if (_map in ["desert_island"]) exitWith { [40, 0] }; //CWR2 Desert Island if (_map in ["dya"]) exitWith { [34, 110] }; //Diyala Iraq - default elevationOffset +if (_map in ["eden"]) exitWith { [45, 0] }; //CWR2 Everon if (_map in ["esseker"]) exitWith { [43, 2000] }; if (_map in ["evergreen"]) exitWith { [41, 0] }; //Burgazada, Turkey - default elevationOffset if (_map in ["fallujah"]) exitWith { [33, 0] }; @@ -66,6 +70,7 @@ if (_map in ["mountains_acr"]) exitWith { [35, 2000] }; if (_map in ["namalsk"]) exitWith { [65, 0] }; if (_map in ["napf", "napfwinter"]) exitWith { [47, 0] }; if (_map in ["newyork_lumnuon"]) exitWith { [41, 5] }; //Governer´s Island, New York - default elevationOffset +if (_map in ["noe"]) exitWith { [45, 0] }; //CWR2 Nogova if (_map in ["panthera3"]) exitWith { [46, 0] }; if (_map in ["pianosa_aut"]) exitWith { [43, 0] }; //Pianosa, Italy - default elevationOffset if (_map in ["pja305"]) exitWith { [0, 0] }; //G.O.S N'Ziwasogo From 75396ce63e9193d89fdbc325be383bb4e3e6fd05 Mon Sep 17 00:00:00 2001 From: J3aLeiNe Date: Sat, 25 Jun 2016 08:21:21 +0200 Subject: [PATCH 3/3] Update fnc_getMapData.sqf No Gitexit for Lingor. Stay with us Lingor ! :p --- addons/common/functions/fnc_getMapData.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/common/functions/fnc_getMapData.sqf b/addons/common/functions/fnc_getMapData.sqf index 43a0baf9ad..7d7bef817f 100644 --- a/addons/common/functions/fnc_getMapData.sqf +++ b/addons/common/functions/fnc_getMapData.sqf @@ -61,7 +61,7 @@ if (_map in ["kholm"]) exitWith { [36, 0] }; if (_map in ["kidal"]) exitWith { [18, 0] }; //Kidal, Mali - default elevationOffset if (_map in ["koplic"]) exitWith { [42, 0] }; if (_map in ["kunduz"]) exitWith { [37, 0] }; -if (_map in ["lingor3"]) exitWith { [-4, 0] }; +if (_map in ["lingor", "lingor3"]) exitWith { [-4, 0] }; if (_map in ["lost", "lostw"]) exitWith { [60, 0] }; if (_map in ["malvinas"]) exitWith { [-52, 0] }; if (_map in ["mcn_aliabad"]) exitWith { [36, 0] };