Jump to content

FX definitions in CFG files with multi-mode parts


Recommended Posts

I am attempting my first mod and I've been able to modify a jet engine B-9's F-119 to include a non-afterburning and an afterburning mode in terms of performance. I'd like to add specific FX definitions only when the afterburner is engaged, and then be removed when the engine is switched into non-afterburning again. Can anyone tell me how to make FX effects phase in and out? Thanks in advance, CFG file extracts below:

...

// --- FX definitions ---

fx_exhaustLight_yellow = 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, power

fx_smokeTrail_light = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, power

// I want this to only engage on AB mode

// fx_exhaustFlame_blue = 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, power

fx_exhaustSparks_flameout = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, flameout

...

MODULE

{

name = HydraEngineController

primaryModeName = Mil-power

secondaryModeName = Afterburn

// Mil-power Mode

primaryEngine

{

...

// Afterburn Mode

secondaryEngine

{

...

MODULE

{

name = ModuleAnimateHeat

ThermalAnim = jet_engine_f119_heat

}

I'm not certain but I think this controls the nozzle flaps in conjunction with the control surfaces.

MODULE

{

name = FXModuleConstrainPosition

matchRotation = true

matchPosition = false

CONSTRAINFX

{

targetName = lookatfx_target1

moversName = plate1_holder

}

}

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...