General Category > Unofficial F/A-18 Acceleration Pack board
F-18 Smoke
dtdb:
I was able to add red and blue colored smoke coming off of the wings of the f-18 but I have the control to turn it on being the strobe light key. Is there anyway to assign a different key to turn the smoke on that the f-18 isn't allready using. ex. the extend or retract hoist key for the EH101, or something else. Or make a completely new control key.
This is what the lights part of the aircraft.cfg looks like. The ba smoke red and blue is the smoke effects.
[liGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing
light.0 = 3, -26.70, -4.00, 1.40, fx_navredm ,
light.1 = 3, -26.70, 4.00, 1.40, fx_navgrem ,
light.2 = 3, -49.40, 5.80, 8.50, fx_navwhi ,
light.3 = 1, -46.20, 5.90, 7.50, fx_beaconb ,
light.4 = 1, -46.10, -5.90, 7.50, fx_beaconb ,
light.5 = 10, -14.00, 0.00, 2.00, fx_vclight ,
light.6 = 2, -35.00, 18.00, 0.00, ba_smoke_blue.fx ,
light.7 = 2, -35.00, -18.00, 0.00, ba_smoke_red.fx ,
Razgriz:
Not without messing with animations, how did you change smoke color?
dtdb:
I know that the white smoke effect the f 18 uses is fx_smoke_w.fx. I found another red and blue smoke effect, but it stayed up a lot longer than the white smoke. I found the color the other effects use. Open the effect with notepad to edit it.
White:
Color Start=244, 244, 247, 150
Color End=249, 249, 249, 255
Blue:
Color Start=0, 0, 255, 200
Color End=0, 0, 255, 255
Red:
Color Start=244, 0, 0, 200
Color End=249, 0, 0, 255
I just copied the f 18 white smoke and change the color part to make red and blue. You can change it to any color.
Intrepid:
--- Quote from: dtdb on June 20, 2008, 01:43:25 am ---I know that the white smoke effect the f 18 uses is fx_smoke_w.fx. I found another red and blue smoke effect, but it stayed up a lot longer than the white smoke. I found the color the other effects use. Open the effect with notepad to edit it.
White:
Color Start=244, 244, 247, 150
Color End=249, 249, 249, 255
Blue:
Color Start=0, 0, 255, 200
Color End=0, 0, 255, 255
Red:
Color Start=244, 0, 0, 200
Color End=249, 0, 0, 255
I just copied the f 18 white smoke and change the color part to make red and blue. You can change it to any color.
--- End quote ---
DTDB; could you elaborate more on how to achieve this change,where exactly you placed the additions in
the cfg. files and which exact file,
I cut and pasted from the previous post and failed to see any change in the sim
possably showing a larger section of your cfg.files ,along with the change to the file in the
effects/ fx_smoke_w.fx. folder
Thanks
Randy
Voodoo:
That's quite a cool idea, dtdb; copying the white smoke fx file, then saving it with a different fx file name after changing the color values of the [ParticleAttributes].
Of course you've hit on the problem of controlling it. The only easy parameters to change in the aircraft.cfg file for attaching effects to are the [lights] and the [smokesystem]. You've only got 1 Smoke switch available to you, "I", but you've got 10 different light types available to you:
1 Beacon
2 Strobe
3 Navigation or Position
4 Cockpit
5 Landing
6 Taxi
7 Recognition
8 Wing
9 Logo
10 Cabin
But you've only 4 key commands that can control lights directly from the keyboard:
Landing Lights "CTRL + L"
Panel Lights "SHFT + L"
All Lights "L"
Strobes "O" (but you lose this Strobe control when you install Acceleration - although you could go into Settings > Controls and remap another key to the Strobe lights. Or remap "O" again if you don't ever fly the EH101)
Map one color effect to your strobe (light type 2) and maybe another colour to your cockpit lights (light type 4) to let you select them independently. But they'll always be using one of your standard lights control keys.
The only way I can think of getting a completely different key to work lights is to create some XML in your Panel folder and then add it as a gauge into your Panel.cfg file. But I am not skilled enough to know exactly what you need to do - although I think it's a workable idea. [HOWEVER, SEE MY NEXT POST FOR A POSSIBLY BETTER WAY OF DOING THIS]
A lot of afterburner effects use lights or the smoke system and some are activated by key switches using XML. The freeware FSFrance Concorde used "SHIFT + F4" to turn the afterburner effect on, so I guess you could study an XML file that does that and work from there?
The SDK contains the precise names of the lights as you would use them as variables in an XML gauge.
Does any of this make sense?
Navigation
[0] Message Index
[#] Next page
Go to full version