In the Aircraft.cfg file... Under lights I have a question?

FSX including FSX Steam version.

In the Aircraft.cfg file... Under lights I have a question?

Postby venomhatch » Wed Mar 24, 2010 8:18 pm

Under the lights section of a FSX Aircraft config file. You have something that looks like this...

*Airbus A330-300 ( This Original airplane has four locations )

light.6  = 5,   18.000,  27.000,  -4.000, Opensky_wing_light,
light.7  = 5,   19.933,   8.827,  -4.368, Opensky_wing_light,
light.8  = 5,   18.000, -27.000,  -4.000, Opensky_wing_light,
light.9  = 5,   19.933,  -8.827,  -5.368, Opensky_wing_light,


What do each grouping of numbers mean? I am guessing one is brightness?

And the others are coordinates?

Can anyone help me? I am trying to use other lights in these ones place. I just wanted to know how I would use these with the above numbers?

*Airbus A330-300  ( With this set I only have three light locations I need four )

light.9 = 5,   12.4,   -10.50,   -4.00 ,   fx_siroccogtx2_reflectors
light.10= 5,   12.4,    10.50,   -4.00 ,  fx_siroccogtx2_reflectors
light.11= 6,   66.0,   0.00,   -9.00 ,  fx_siroccogtx2_reflectors


Any help would be appreciated!
Please upload all images to Simviation HERE,
and adhere to all image guidelines.

http://i94.photobucket.com/albums/l87/v ... gw5q1h.jpg
venomhatch
2nd Lieutenant
2nd Lieutenant
 
Posts: 75
Joined: Thu Nov 19, 2009 6:41 pm
Location: Newport News, Va

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Tyler012 » Wed Mar 24, 2010 8:20 pm

Look at a default aircrafts lighting section, and way to the right there should be a pair of // and it should give an extremely brief explanation of what each set means.
Image
Just a sample of my personal art.
User avatar
Tyler012
2nd Lieutenant
2nd Lieutenant
 
Posts: 202
Joined: Tue Feb 23, 2010 7:29 pm
Location: KLBB

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby venomhatch » Wed Mar 24, 2010 8:22 pm

Can I just do this???


light.6  = 5,   18.000,  27.000,  -4.000, fx_siroccogtx2_reflectors,
light.7  = 5,   19.933,   8.827,  -4.368, fx_siroccogtx2_reflectors,
light.8  = 5,   18.000, -27.000,  -4.000, fx_siroccogtx2_reflectors,
light.9  = 5,   19.933,  -8.827,  -5.368, fx_siroccogtx2_reflectors,
Please upload all images to Simviation HERE,
and adhere to all image guidelines.

http://i94.photobucket.com/albums/l87/v ... gw5q1h.jpg
venomhatch
2nd Lieutenant
2nd Lieutenant
 
Posts: 75
Joined: Thu Nov 19, 2009 6:41 pm
Location: Newport News, Va

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Tyler012 » Wed Mar 24, 2010 8:25 pm

Try that, but change the light.x for the appropriate number.
Image
Just a sample of my personal art.
User avatar
Tyler012
2nd Lieutenant
2nd Lieutenant
 
Posts: 202
Joined: Tue Feb 23, 2010 7:29 pm
Location: KLBB

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Meck » Thu Mar 25, 2010 3:14 am

[quote]Can I just do this???


light.6
Last edited by Meck on Thu Mar 25, 2010 3:20 am, edited 1 time in total.
Image

excuse bad grammar; "I' bin Bayer..."
User avatar
Meck
Major
Major
 
Posts: 1656
Joined: Sat Apr 21, 2007 12:07 pm
Location: Bavaria

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby venomhatch » Thu Mar 25, 2010 6:52 am

Thanks Meck and Tyler, I tried and no success but not cause of the lights. The plane won't even show in my inventory. So I have to figure out why that is. Damn Usair a330!
Please upload all images to Simviation HERE,
and adhere to all image guidelines.

http://i94.photobucket.com/albums/l87/v ... gw5q1h.jpg
venomhatch
2nd Lieutenant
2nd Lieutenant
 
Posts: 75
Joined: Thu Nov 19, 2009 6:41 pm
Location: Newport News, Va

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Fr. Bill » Fri Mar 26, 2010 12:52 pm

The number immediately following the equals sign (=) specifies which electrical switch controls the effect...

Note that there are TEN different light circuits!
Code: Select all
[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing
// 6=taxi, 7=recognition, 8=wing, 9=logo 10=cabin

light.1=10, 11.50, 0.30, 2.00, escj1_panelflood.fx
light.2=10, 11.50, -0.30, 2.00, escj1_panelflood.fx
light.3=9, 6.0, -0.30, 2.00, escj1_panelflood.fx
light.4=8, 13, -17.8, 8.2, escj1_icelight
BillImage 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 [i
Fr. Bill
Captain
Captain
 
Posts: 961
Joined: Sun Apr 27, 2003 1:31 pm
Location: Hammond, IN

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Meck » Fri Mar 26, 2010 1:11 pm

Thx Bill, didn't know that yet...  ;)
Image

excuse bad grammar; "I' bin Bayer..."
User avatar
Meck
Major
Major
 
Posts: 1656
Joined: Sat Apr 21, 2007 12:07 pm
Location: Bavaria

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Boikat » Fri Mar 26, 2010 1:34 pm

The format for the lights are light.a=b, x.xx, y.yy, z,zz, where "a" is the light number, "b" is the light type, and x.xx is front to back, y.yy, is right to left, and z.zz is up and down.

The  coordinates are baseed upon the 0.00 point which is usually (but not always) the center of gravity of the aircraft, and the units are in feet. 

A positive number is towards the front of the aircraft (X.XX), to the right (Y.YY) and up (Z.ZZ), negative numbers are aft, left and down.
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby venomhatch » Fri Mar 26, 2010 1:53 pm

Thank you finally someone answers my question. Thanks Boikat!
Please upload all images to Simviation HERE,
and adhere to all image guidelines.

http://i94.photobucket.com/albums/l87/v ... gw5q1h.jpg
venomhatch
2nd Lieutenant
2nd Lieutenant
 
Posts: 75
Joined: Thu Nov 19, 2009 6:41 pm
Location: Newport News, Va

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Capt.Propwash » Fri Mar 26, 2010 2:30 pm

as far as the craft not showing in the inventory, are you sure that it is not just a texture for another plane? sometimes designers have a bad habit of not telling you that you need the base files (actual airplane) before you download texture files/repaints.
The thoughts and expressions contained in the post above are solely my own, and not necessarily those of Simviation.com, its Moderators, its Staff, its Members, or other guests. They can not, are not, and will not be held liable for any thoughts, or expre
User avatar
Capt.Propwash
Major
Major
 
Posts: 1947
Joined: Tue Feb 20, 2007 12:34 am
Location: KCHS, Charleston, SC, USA

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Boikat » Fri Mar 26, 2010 2:56 pm

Thank you finally someone answers my question. Thanks Boikat!


No problem.
Last edited by Boikat on Fri Mar 26, 2010 2:57 pm, edited 1 time in total.
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby venomhatch » Fri Mar 26, 2010 7:02 pm

Anybody have suggestions for cabin lights. I would like to create code for that. I know how to start the code. But ho do I put in for coordinates for cabin lights.
Please upload all images to Simviation HERE,
and adhere to all image guidelines.

http://i94.photobucket.com/albums/l87/v ... gw5q1h.jpg
venomhatch
2nd Lieutenant
2nd Lieutenant
 
Posts: 75
Joined: Thu Nov 19, 2009 6:41 pm
Location: Newport News, Va

Re: In the Aircraft.cfg file... Under lights I have a question?

Postby Boikat » Fri Mar 26, 2010 10:35 pm

Anybody have suggestions for cabin lights. I would like to create code for that. I know how to start the code. But ho do I put in for coordinates for cabin lights.


Do you mean the passenger cabin or the cockpit?
Last edited by Boikat on Fri Mar 26, 2010 10:43 pm, edited 1 time in total.
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner


Return to Flight Simulator X (FSX) and Steam

Who is online

Users browsing this forum: ratty13 and 715 guests