Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Pages: 1 
Send Topic Print
Need help editing an aircraft CFG (Read 453 times)
Mar 3rd, 2004 at 11:30pm

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
The positions of the lights are the problem.

This is an example of an CFg's light system

[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit
light.0=3, 8.50, -4.66, -2.496,  fx_navred ,
light.1=3, 8.50,  4.66, -2.496,  fx_navgre ,
light.2=3, -32.45,  0.00, 8.170,  fx_navwhi ,
light.3=1, -32.45,  0.00, 8.270,  fx_beacon ,
light.4=2,  -19.320,  0.00, -2.631,  fx_beacon ,
light.5=2,  -19.320,  0.00, -2.631,  fx_navred ,
light.6=4,   10.0,  -1.00, 0.5,  fx_vclight ,
light.7=4,   10.0,  1.00, 0.5,  fx_vclight ,

I am guessing as an example

light.0 (the light in question)=3 (means the type of light it is), 8.50, -466, - 2.496 (means the position the light will be displayed), and Fx_navred (means the texture chosen as the design of the displayed light)

Am i right about this. Because I am guessing at this.

I have an aircraft that is displaying lights in the wrong positions and I need to alter this light CFG to put them in their correct positions (which looks like it is going to be chore)

What I need to know is how do you move forward, back, left, right, up, and down the position of a light display?

I will try to get a screenshot to show what I am talking about. Then I will post it here to show what I am trying to do.

Any help on this issue will be greatly appreciated! Thanking you in advance!

mav_316

...
In the above picture those red and green nav lights should be on the wings where the red and green lens are for them

...
In the above pic you will notice that the white strobe light is flashing from inside the exhaust pipe. I want to try to raise it up a little to display slightly more outside of the exhuast and more on top of the cover. then you have that white light that is suppose to be and the very tip of the back of the tail fin that needs to be repositioned as well!

...

In the above pic that red strobe is flashing on top of the rotor blades when it should be under the tail section on that red lens under the tail fins.

That is what I am trying to correct
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #1 - Mar 3rd, 2004 at 11:58pm

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
light.0=3,
8.50
,
-4.66
,
-2.496
,  fx_navred...

Distance Forward(+) or Aft (-) of Reference

Distance Right (+) or Left(-) of Reference

Distance Above (+) or Below(-) Reference


Does that help? Smiley
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #2 - Mar 4th, 2004 at 12:12am

Firestriker   Offline
Colonel
Gearhart, Oregon

Gender: male
Posts: 274
*****
 
The order is as follows:

front to back (Y axis) positive forward of and negative in back of the reference datum, side to side (X axis), negative is left and positive is right of the reference datum and up and down (Z axis) positive above and negative below the reference datum.

So 8.50 for the first figure places the light 8.50 feet forward of the reference datum.

-4.66 is 4.66 feet to the left of the reference datum.

-2.496 is 2.496 feet below the reference datum.

Lou
 
IP Logged
 
Reply #3 - Mar 4th, 2004 at 2:55am

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
That's what I said...with less typing. Smiley
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #4 - Mar 4th, 2004 at 6:50am

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
Thank you Silverfox and Lou,

This does definately help me out. Later tonight when I come back from work I will get to work on this helicopters light system! That was just the type of translation I needed. The clarifying from lou just saved me some more time from trial and error figuring out which way the numbers value made the light move.

Sincerely,

Mav (Sammy) 316
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #5 - Mar 4th, 2004 at 9:30pm

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
Thanks for the tutorial guys! It worked perfectly. The lights are now in their correct positions!


There are these rotating beacon lights that casts a red rotating light under the aircraft found on a United airlines aircraft and I was wondering if it was possible to copy the light cfg line into this helicopter to give it that effect for under its belly! Just to dramatise it! Lol
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #6 - Mar 4th, 2004 at 11:52pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
Absolutely!  In fact, if you go into the "Effects" folder of your FS and look at the names of all the *.fx files, you can put ANY of them in the light section and have them be activated by the lights system.  You could have a waterfall start off the aircraft when the lights turn on! Cheesy
 

...
IP Logged
 
Reply #7 - Mar 5th, 2004 at 1:13am

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
what program should you use to open the effects folders files to veiw what they are. I don't want to use a program to read the file and get some hyroglifik stuff that winds up messing up the simulator.
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #8 - Mar 5th, 2004 at 4:46am

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
All FX files can be opened using Notepad, just like the *.cfg files.  But opening them won't always tell you what they do.  To find out exactly, just set up an effect at the end of the effects section in the aircraft.cfg and make it something like ten feet off on all three axes.  That way, you can see it even if it doesn't show up very well.  Now just start adding in the names of each FX file you see in there.
 

...
IP Logged
 
Reply #9 - Mar 5th, 2004 at 7:05am

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
Thanks again Ender Baron

So actually this is another trial and error until I find the effect that makes the rotating beacon light! Oh boy looks like I got a lot of work cut for me here! But to get the effect will be a nice touch!

Mav

...

Here is a pic of the lights situated where they needed to be! The strobe flash is right on the strobe bulb and the nav lights are on the weapon wings where the lens for them are located. Thanks for all your help guys, I am learning alot from you!
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #10 - Mar 5th, 2004 at 8:47am

microlight   Offline
Colonel
It's a bird...
Southern UK

Gender: male
Posts: 2236
*****
 
It doesn't need to be totally trial and error: go into the United plane's .cfg file, and find the names of the FX fles used in the [lights] section. Then you should get it pretty quick.

Smiley
 

...
BAe ATP for FS9 now available! www.enigmasim.com
IP Logged
 
Reply #11 - Mar 5th, 2004 at 9:56pm

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
I tried doing that, but was unsucessful in finding the line that caused the rotating light under the plane. I think it will be trial and error to find this FX file. What I think I will need to do is edit the United Airlines CFG Deleting one line out of the lights section (and paste it back) until I find the FX file that does that!

Another thing I noticed is that the United Airlines has the nav lights listed twice for the same position why did do that?
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #12 - Mar 6th, 2004 at 1:25pm

Hellhound   Offline
Colonel
somewhere

Gender: male
Posts: 305
*****
 
that last pic is awesome! you should put it in the pics section! and i have no idea about lights. but is that an AH-64 Apache?
 

...&&&&well of course! i'm trying to hit them!&&&&always fight fire with fire... because you get a bigger one!
IP Logged
 
Reply #13 - Mar 6th, 2004 at 9:21pm

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
Quote:
that last pic is awesome! you should put it in the pics section! and i have no idea about lights. but is that an AH-64 Apache?


Negative Mate. Its a UH-1Z King Cobra (an upgraded version of the UH-1 Cobra)

Mav  Wink
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #14 - Mar 6th, 2004 at 9:27pm

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
I tried all of that microlight it didn't work. It seems that the rotating red light is part of the main landing light effect.

I notice when you shut off the main landing lights in the 737-522 the rotating light turns off. Then when you turn them on again, the main lights turn on then the rotating light turns on. That to me is an indication that their is another effect file attached to the main landing light.

Problem is I don't know where to look for the main landing light effect (as it is not listed in the lights section of the Aircraft CFG). Can you or someoneelse point me in the right direction to locate this file within the CFG or the effects folder itself?
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #15 - Mar 6th, 2004 at 10:37pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
That means its probably part of the model itself.  The landing lights are always a part of the actual model, so you can't edit them or change their position, etc.
 

...
IP Logged
 
Reply #16 - Mar 7th, 2004 at 11:15am

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
Cry drat so that means I can't copy and transfer the effect to my Huey.. dag  Undecided
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Reply #17 - Mar 7th, 2004 at 11:21am

Stratobat   Offline
Colonel
To fly... Or not to fly?

Posts: 1165
*****
 
Mav,

Where can I find that UH-1Z King Cobra ?

Regards,
Stratobat
 

...&&&&'If the literal sense makes good sense, seek no other sense lest you come up with nonsense'
IP Logged
 
Reply #18 - Mar 7th, 2004 at 5:48pm

A/SGT.Mav316   Offline
Colonel
You live, you learn, correct
and move on!
New York City

Gender: male
Posts: 1331
*****
 
website for the UH1 King Cobra is

www.FSDownloads.com
 

Its only in your mind, strong mind, strong soul and nobody can take that from you!
IP Logged
 
Pages: 1 
Send Topic Print