Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
aircraft.cfg coordinate help (Read 1135 times)
Oct 18th, 2011 at 9:23pm

gtirob01   Offline
Colonel
FSXer
Ft. Walton Beach, FL

Gender: male
Posts: 3522
*****
 
Im quite familiar with editing the aircraft.cfg for various things, but there is one part I never quite messed with.

For something like the afterburner entry... how are the numbers broken down. Or should I say, what does each number correlate to? Foe example;

light.8= 6, -37.00, -0.00, 1.05, fx_aniburnerTu22M1
light.9= 6, -49.00, -0.00, 0.85, fx_21um_ab.burner1.fx

I get the first section, what Im wondering about are the numbers starting to the right of the first comma. Any help would be appreciated!
 

My specs... A hard drive, motherboard, graphics card, some memory, a keyboard, mouse, and monitor - in other words, nothing special.
&&
...
&&My Posky 777 VC settings - http://www.simviation.com/cgi-bin/yabb2/YaBB.pl?num=1218341439&&Posky 777 and FSX jetways - http://www.simviation.com/cgi-bin/yabb2/YaBB.pl?num=1228448408
IP Logged
 
Reply #1 - Oct 18th, 2011 at 10:50pm

Webb   Offline
Colonel
Go 'Noles!
Morningwood Golf Resort

Posts: 1068
*****
 
Download the SDK from Microsoft for full explanations - this is from FS2002 SDK.

light.n = 3,  -3.03, -18.11, 3.58, fx_navred

Each “special effect” light has a line like the one above, where n is the index number of the light, 0,1,…  The first entry of the line defines which circuit, or switch, the light is connected to.  See the codes below.  Multiple lights may be connected to a singe switch.  The next three entries are the longitudinal, lateral, and vertical positions of the light in feet.  The final entry is the special effect file name that is triggered (e.g. fx_navred).  These files have .fx extensions and should be placed in “effects” folder in Flight Simulator’s root directory. 

Switches (first element of each line):
1 – Beacon
2 – Strobe
3 – Navigation or Position
4 – Cockpit

The switch (or circuit) code, longitudinal, lateral, and vertical position (in feet), and effect file.
 

A bad day at golf is better than a good day at work.

...

Jim
IP Logged
 
Reply #2 - Oct 18th, 2011 at 11:01pm

gtirob01   Offline
Colonel
FSXer
Ft. Walton Beach, FL

Gender: male
Posts: 3522
*****
 
Thanks, I do understand the first set of coordinates. I'm trying to figure out the coordinates that come to the right of that. Or should I say, the actual position coordinates.
 

My specs... A hard drive, motherboard, graphics card, some memory, a keyboard, mouse, and monitor - in other words, nothing special.
&&
...
&&My Posky 777 VC settings - http://www.simviation.com/cgi-bin/yabb2/YaBB.pl?num=1218341439&&Posky 777 and FSX jetways - http://www.simviation.com/cgi-bin/yabb2/YaBB.pl?num=1228448408
IP Logged
 
Reply #3 - Oct 19th, 2011 at 6:54am

todayshorse   Offline
Colonel
'Ten Thousand Blister.....'
England

Gender: male
Posts: 2806
*****
 
Hey Rob, dont know if this helps but its about positioning a tailhook (using a light) but mentions the co-ords. As stated above, in feet i believe :-

"This piece of information is vital to creating a working definition. This offset represents the location of the end of the hook. This is used to calculate when the aircraft engages a wire. The easiest way to find this information, if the source model is not available, is to use a light effect to find the correct position. In the aircraft.cfg file of the model to be defined, add a light to the [lights] section by copying and pasting the following line:
light.N = 3, X, Y, Z, fx_navred ,
replace N with the next number in the sequence of lights, and the values X, Y and Z with a guess at the location of the hook. Load up a flight in FSX using the aircraft model, turn on the lights and lower the hook. Through trial and error, edit the X, Y and Z coordinates of the light so that it is positioned on the end of the hook (map a key to the Aircraft (Reload) event to update the light position in FSX). The X, Y and Z coordinates can then be copied directly into the 3wirex model definition.
 

...
IP Logged
 
Reply #4 - Oct 19th, 2011 at 1:18pm

Fr. Bill   Offline
Colonel
I used to have a life;
now I have GMax!
Hammond, IN

Gender: male
Posts: 962
*****
 
gtirob01 wrote on Oct 18th, 2011 at 9:23pm:
light.8= 6, -37.00, -0.00, 1.05, fx_aniburnerTu22M1


Simple:

-37 is aft of the reference point position (fore/aft)
-0.00 is the centerline (left/right)
1.05 is above the centerline (up/down)
 

Bill
... Gauge Programming - 3d Modeling Eaglesoft Development Group Intel Core 2 Quad Q6600-4GB DDR2 Crucial PC6400-800 GB SATA-ATI Radeon HD2400 Pro 256MB DX10 NOTE: Unless explicitly stated in the post, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
...
IP Logged
 
Reply #5 - Oct 19th, 2011 at 1:39pm

gtirob01   Offline
Colonel
FSXer
Ft. Walton Beach, FL

Gender: male
Posts: 3522
*****
 
Fr. Bill wrote on Oct 19th, 2011 at 1:18pm:
gtirob01 wrote on Oct 18th, 2011 at 9:23pm:
light.8= 6, -37.00, -0.00, 1.05, fx_aniburnerTu22M1


Simple:

-37 is aft of the reference point position (fore/aft)
-0.00 is the centerline (left/right)
1.05 is above the centerline (up/down)


Thats exactly what I was looking for! Thanks Bill!
 

My specs... A hard drive, motherboard, graphics card, some memory, a keyboard, mouse, and monitor - in other words, nothing special.
&&
...
&&My Posky 777 VC settings - http://www.simviation.com/cgi-bin/yabb2/YaBB.pl?num=1218341439&&Posky 777 and FSX jetways - http://www.simviation.com/cgi-bin/yabb2/YaBB.pl?num=1228448408
IP Logged
 
Reply #6 - Oct 31st, 2011 at 7:07am

IronHand   Offline
Colonel
I Like Flight Simulation!
Whitney, Texas

Gender: male
Posts: 28
*****
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print