Hi, I've created a flat island to do some experiments with the ILS. I want to land airplanes in a direction other than North by modifying the ILS direction in the config.cpp file.
ilsDirection[]={0,0.08,-1}; (Default Direction, Slope, ??)
Unfortunatelly I haven't been successful, the planes execute a miss-aproach if the ILS direction is changed from '0' to any other angle. I've also used the config.cpp writter Made by Marksman without positive results.
Please Help.
Extract AutoLand.zip (Attached) and
Copy AutoLand.test2, and AutoLand.test3 to your OFP/Users/'user'/Missions/ folder.
Copy test2, and test3 to your OFP/Res/AddOns/ folder.
Run OFP Resistance 1.91
Enter the Mission Editor.
Load Autoland - North
From the Actions menu, Select "Landing Autopilot" (Enter key twice)
Accelerate to 4X (+/-) if desired.
Observe that plane lands flawlessly.
Load Autoland - North
From the Actions menu, Select "Landing Autopilot" (Enter key twice)
Accelerate to 4X (+/-) if desired.
Observe that plane attempts to line up at 270 (West),
but goes around to try over, and over, and over........
// config.cpp ---------------------------------------------------------------
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0 // dummy weapons
#define WeaponSlotPrimary 1 // primary weapons
#define WeaponSlotSecondary 16 // secondary weapons
#define WeaponSlotItem 256 // items
#define WeaponSlotBinocular 4096 // binocular
#define WeaponHardMounted 65536
class CfgPatches
{
class Test2
{
units[] = {};
weapons[] = {};
worlds[] = {"Test2"};
requiredVersion =1.91;
};
};
class CfgVehicles{};
class CfgSurfaces
{
class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
class DefaultWorld {};
class Test2: DefaultWorld
{
access=3;
description="Test 2";
icon="";
worldName="\Test2\Test2.wrp";
plateFormat=" ";
plateLetters="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
startTime="17:30";
startDate="01/01/00";
startWeather=0;
startFog=0;
forecastWeather=0;
forecastFog=0;
ilsPosition[]={6277,4622};
ilsDirection[]={270,0.08,-1};
ilsTaxiIn[]={};
ilsTaxiOff[]={};
seagullPos[]={0,0,0};
centerPosition[]={0,0,0};
class Sounds
{
sounds[]={};
};
class Animation
{
vehicles[]={};
};
class Names
{
};
};
};
class CfgWorldList
{
class Test2{};
};