Arma: Airport IDs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added Malden 2035 airports)
Line 21: Line 21:
|-
|-
| 0
| 0
| -
| 143159
| Airbase
| Airbase
| -
| 44 (NE)
|-
|-
| 1
| 1
| -
| 113114
| AAC Airfield
| AAC Airfield
| -
| 33 (NE)
|-
|-
| 2
| 2
| -
| 092215
| Krya Nera Airstrip
| Krya Nera Airstrip
| -
| 53 (NE)
|-
|-
| 3
| 3
| -
| 210070
| Selakeno Airfield
| Selakeno Airfield
| -
| 11 (N)
|-
|-
| 4
| 4
| -
| 271249
| Molos Airfield
| Molos Airfield
| -
| 41 (NE)
|-
|-
| 5
| 5
| -
| 231184
| Almyra Salt Lake Airstrip
| Almyra Salt Lake Airstrip
| -
| 0 (N)
|-
|}
|}


Line 58: Line 59:
|-
|-
| 0
| 0
| -
| 015050
| Stratis Airbase
| Stratis Air Base
| -
| 15 (N)
|-
|}
|}


Line 70: Line 72:
|-
|-
| 0
| 0
| -
| 072069
| Aéroport de Tanoa
| Aéroport de Tanoa
| -
| 12 (N)
|-
|-
| 1
| 1
| -
| 018129
| Tuvanaka Airbase
| Tuvanaka Airbase
| -
| 51 (NE)
|-
|-
| 2
| 2
| -
| 118029
| Saint-George Airstrip
| Saint-George Airstrip
| -
| 54 (NE)
|-
|-
| 3
| 3
| -
| 019034
| Bala Airstrip
| Bala Airstrip
| -
| 74 (E)
|-
|-
| 4
| 4
| -
| 122130
| La Rochelle Aérodrome
| La Rochelle Aérodrome
| -
| 73 (E)
|-
|}
|}


=== Malden 2035===
=== Malden 2035 ===


See [[Malden 2035]].
See [[Malden 2035]].
Line 102: Line 105:
|-
|-
| 0
| 0
| -
| 079095
| Airport
| Airport
| -
| 0 (N)
|-
|-
| 1
| 1
| -
| 006122
| Pegasus Air Co.
| Pegasus Air Co.
| -
| 90 (E)
|-
|}
 
=== Livonia ===
 
See [[Livonia]].
{| class="bikitable"
! ID !! Coordinates !! Description !! AI approach
|-
| 0
| 042105
| Lukow Airfield
| 45 (NE)
|-
|}
|}
; Extract script
<spoiler><pre><nowiki>_world = "Enoch" ;
_cfg = (configFile >> "CfgWorlds" >> _world) ;
_r = [
'{| class="bikitable"',
"! 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}} ==

Revision as of 08:22, 18 March 2020

Template:SideTOC Template:Stub This page lists Arma games' airport ids.

Related commands:


Arma 3

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)
Extract script

_world = "Enoch" ;
_cfg = (configFile >> "CfgWorlds" >> _world) ;

_r = [
	'{| class="bikitable"',
	"! 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) ;
} ;
↑ Back to spoiler's top

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 - - -


Arma

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