Jump to content
Sign in to follow this  
mugaben

ILS position / direction

Recommended Posts

So. I followed all the tutorials about these airports but havent seen anything about the length of it.

Also, the excel file I found which should work - doesnt. When I use it, the landingstrip points north and is about 80m long. My own settings made it the right way, but made it 2 kms long. I dont get it! :confused:

So. Its 45 degrees N-E.

Excel ark says: -0,7193,0.080,-0.6947

ilsPosition[] = {1208,2249};

ilsDirection[] = {-0,7193,0.080,-0.6947};

80 meters north. Huh??

Also, I have somehow two landingstrip markers on the map. One fat, and one smaller. I guess the one is the taxiway, but before I get my brain going with that I want the main strip to work first.

Config

class CfgPatches
{
class secret
{
	units[] = {secret};
	weapons[] = {};
	requiredVersion = 1.03;
	requiredAddons[] = {"Utes"};
	version = "2011-23-7";
	fileName = "secret.pbo";
	author = "MugAben";
	mail = "-";
};
};
class CfgWorlds
{
class CAWorld;
class Utes: CAWorld
{
	class Grid;
	class DefaultClutter;
};
class grazny: Utes
{
	description = "secret v0.09 Alpha";
	worldName= "MP\secret\secret.wrp";
	pictureShot = "MP\secret\data\ui_selectisland_MP_ca.paa";
	centerPosition[] = {2720,2462,500};
	seagullPos[] = {2720,2462,500};
	ilsPosition[] = {1208,2249};
	ilsDirection[] = {-0,7193,0.080,-0.6947};
	longitude = 30; // positive is east, in degrees?
	latitude = -45; // positive is south, in degrees?

	class Clutter
	{
		#include "cfgClutter.hpp"
	};
	class Names
	{
		#include "secret.hpp"
	};
};
};

class CfgWorldList
{
class secret {};
};

class CfgMissions
{
class Cutscenes
{
	class secretintro
	{
	directory = "MP\secret\data\scenes\Intro.secret";
	};
};
};

//SURFACES
#include "cfgSurfaces.hpp"

Edited by MugAben

Share this post


Link to post
Share on other sites

Here is an extract from Tropica config.cpp :

ilsPosition[] = {1779, 5260, 7};

ilsDirection[] = {-0.5, 0.08, 0.866};

ilsTaxiIn[] = {2009, 4974.51, 1978.76, 5001.3, 1838.8, 5244.12, 1814.52, 5285.18, 1794.65, 5277.68, 1777.43, 5262.44, 1786.7, 5236.84};

ilsTaxiOff[] = {2110.87, 4675.22, 2144.44, 4632.11, 2169.53, 4644.12, 2161.4, 4685.82, 2099.51, 4794.45, 2018.65, 4932.46, 2009, 4974.51};

drawTaxiway = 1;

class SecondaryAirports {

class tropica_Airstrip1 {

ilsPosition[] = {18300.9, 15542.1, 13};

ilsDirection[] = {0, 0.08, 1};

ilsTaxiIn[] = {18267.8, 15334, 18287.3, 15334.7, 18301.6, 15322.3};

ilsTaxiOff[] = {18299.8, 15018.4, 18267.6, 15017.2, 18250.6, 15039.8, 18251.7, 15272.9, 18267.8, 15334};

drawTaxiway = 1;

};

In ILS position you must have 3 figures : the first 2 are coordinates for the landing point, the last one being altitude.

In ILS direction :

The format used for ilsDirection is X,Z,Y. So the first number above stands for the X axis. The second number the Z axis (descent), and the third number for the Y axis.

So you define with your Excel sheet, not only orientation of descend but also its slope.

I will add, that ATM, I have not been able to define Runway length, it seems the length is define in game, but Taxiways show some length variations.

Defining Airstrips and Taxiways Version 2.0 by Marksman must be at hand we you decide to go on defining airstrips. I have printed it and always have it nearby ...

Edited by Old Bear

Share this post


Link to post
Share on other sites

Thanks oldbear, Ill take a look!

Do you know if theres anyway to remove it completely, in case I dont get it to work as I want it to?

Share this post


Link to post
Share on other sites

Hi Dampet!

 ilsPosition[] = {1024,1024}; <--- irrelevant numbers - must be present
 ilsDirection[] = {0.5075,0.08,-0.8616}; <--- irrelevant numbers - must be present
 ilsTaxiIn[] = {};
 ilsTaxiOff[] = {};
 drawTaxiway = 0;

If you want no runway at all, that'll do it...

B

Share this post


Link to post
Share on other sites

Hi bushlurker.

Thanks.

Or this:

ilsPosition[] = {1324.48,2311,1};

ilsDirection[] = {-0.7660,0.080,-0.6428};

Cant get that working, nothing shows. :S Using excel sheet, at 50 degrees angle

Share this post


Link to post
Share on other sites

well,

I found a lot of problems doing a working airport taxiway, so I started to study trigonometrics -I did not choose to have a math ground at school more than 20 years ago- and I came up with an excel sheet with just one formula to set coords properly... thanks to my own brother and my pal "Manolo" who helped me to figure this out :D

At this very moment I have the same doubt that DK exposed above, relating to length of airport runway ...

Anyways, I did learn a bit about these trigonometrical functions to get us all a working calc sheet to continue with the helpful tutorial already mentioned...

The final goal is to get automatically five points/coords as stated graphically on the referred tutorial (taxi in and outs with one middle common point/coord)

I am thinking this may be useful since the method using .sqs files often times tend to fail when tracing airplanes taxi routes...

Here you can download the xls sheet I got till this moment... and I hope that some math-molded-brain guy can finish this job: this is not polar notation, so you have to draw or define points parameters as following example shows:

let's say we have this,

X,Y = 0,0

and lenght = 100 and bearing = 0º (north), then we get "n" as a result, so

X,Y = 0+n,0+n // lenght = 40 // bearing 45º NE, and then we get "nn" as a result, so

X,Y = 0+n+nn,0+n+nn... and so on... did I make myself clear enough ??? ;)

Hope it help us all ... :D

here you can download the bloody XLS sheet

http://www.megaupload.com/?d=8RT9MZXI

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×