Arma: Airport IDs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "y[ _]*\|[ _]*(arma[0-9]+)[ _]*\|[ _]+" to "y|$1|")
m (Move extraction script to designated page)
 
Line 11: Line 11:


== {{arma3}} ==
== {{arma3}} ==
{{Wiki|extractionScript}}


=== Altis ===
=== Altis ===
Line 128: Line 130:
|}
|}


; Extract script
<spoiler><pre><nowiki>_world = "Enoch" ;
_cfg = (configFile >> "CfgWorlds" >> _world) ;
_r = [
'{| class="wikitable"',
"! ID !! Coordinates !! Description !! AI approach",
"|-"
] ;
_id = 0 ;
_addAirportInfo = {
_dir = asin ((getArray (_cfg >> "ilsDirection"))#0) ;
if (_dir < 0) then {
_dir = -_dir ;
} ;
_compassDir = call {
_dir45 = round (_dir/45) ;
if (_dir45 == 1) exitWith {"NE"};
if (_dir45 == 2) exitWith {"E"};
if (_dir45 == 3) exitWith {"SE"};
if (_dir45 == 4) exitWith {"S"};
if (_dir45 == 5) exitWith {"SW"};
if (_dir45 == 6) exitWith {"W"};
if (_dir45 == 7) exitWith {"NW"};
"N"
} ;
_r pushBack "| " + str _id ;
_r pushBack "| " + mapGridPosition (getArray (_cfg >> "ilsPosition")) ;
_r pushBack "| -" ;
_r pushBack "| " + str round _dir + " (" + _compassDir + ")" ;
_r pushBack "|-" ;
_id = _id + 1 ;
} ;
if (count getArray (_cfg >> "ilsPosition") != 0) exitWith {
call _addAirportInfo ;
{
_cfg = _x ;
call _addAirportInfo ;
} forEach ("true" configClasses (_cfg >> "SecondaryAirports")) ;
_r pushBack "|}" ;
copyToClipboard (_r joinString endl) ;
} ;</nowiki></pre></spoiler>


== {{arma2oa}} ==
== {{arma2oa}} ==

Latest revision as of 22:13, 19 June 2023

This page lists Arma games' airport ids.

Related commands:


Arma 3

Extraction script can be found on the Biki Export Scripts page.

Altis

See Altis.

ID Coordinates Description AI approach
0 143159 Airbase 44 (NE)
1 113114 AAC Airfield 33 (NE)
2 092215 Krya Nera Airstrip 53 (NE)
3 210070 Selakeno Airfield 11 (N)
4 271249 Molos Airfield 41 (NE)
5 231184 Almyra Salt Lake Airstrip 0 (N)

Stratis

See Stratis.

ID Coordinates Description AI approach
0 015050 Stratis Air Base 15 (N)

Tanoa

See Tanoa.

ID Coordinates Description AI approach
0 072069 Aéroport de Tanoa 12 (N)
1 018129 Tuvanaka Airbase 51 (NE)
2 118029 Saint-George Airstrip 54 (NE)
3 019034 Bala Airstrip 74 (E)
4 122130 La Rochelle Aérodrome 73 (E)

Malden 2035

See Malden 2035.

ID Coordinates Description AI approach
0 079095 Airport 0 (N)
1 006122 Pegasus Air Co. 90 (E)

Livonia

See Livonia.

ID Coordinates Description AI approach
0 042105 Lukow Airfield 45 (NE)


Arma 2: Operation Arrowhead

Takistan

See Takistan.

ID Coordinates Description AI approach
0 - North-West -
1 - SouthEast -


Arma 2

Chernarus

See Chernarus.

ID Coordinates Description AI approach
0 - NorthWest close to Grishno South-East
1 - NorthEast close to Kranostav
2 - SouthWest close to Balota
3 - -

Utes

See Utes.

ID Coordinates Description AI approach
0 - - -


Armed Assault

Sahrani

See Sahrani.

ID Coordinates Description AI approach
0 E5 Main airport near Paraiso West
1 B8 Rahmadi Island North
2 J3 Pita Airfield North-West
3 J1 Antigua Island North