Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Different colored lights (Read 397 times)
May 13th, 2011 at 9:10pm

Capt._Viper   Offline
Colonel
Turning and Burning the
40's Way.
NC, United States

Gender: male
Posts: 162
*****
 
Can anyone tell me if there is a way to get a nonstock nav light color into FS9? Huh
 
IP Logged
 
Reply #1 - May 14th, 2011 at 6:00pm

dave3cu   Offline
Colonel
Procrastinate now, don't
put it off.
3CU, Northern Wisconsin, USA

Gender: male
Posts: 3077
*****
 
I'm no expert, but should be fairly easy...by editing one of the default .fx files. .fx files are plain text editable in notepad. Alway work on a copy, not the original file.

Color is controlled by the 2 'color' statements under the [ParticleAttributes.x] sections.

Color Start=40, 0, 0, 1
Color End=60, 10, 0, 0

The values are Red, Green, Blue, and Alpha(transparency). The R,G,B  represent the amount of each color to add to the mix. Values are from 0 to 255.

The above are from the [ParticleAttributes.0]  of fx_navred.fx.  To create a purple light I added amounts of blue equal to the red.

Color Start=40, 0, 40, 1
Color End=60, 10, 60, 0

Did the same in the other [ParticleAttributes.x] sections. Saved as fx_purple.fx to the Effects folder. Attached it to an aircraft and, voila, purple light.

You can download the  FS2004 Special Effects SDK from here.
http://www.fsdeveloper.com/forum/downloads.php?do=cat&id=10
 

At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.          Igor Sikorsky

I intend to live forever....so far, so good.         Steven Wright

You know....you can just rip up a to-do list.
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print