Jump to content

Different thrustTransforms with Launch Smoke?


Recommended Posts

I am currently developing a stockalike falcon 9 for my mod and the first stage engine uses the RAPIER module to have 2 engine modes. One is all engines and the other is one center engine. To do this I had them have different transforms but I can't figure out how to add the Launch smoke FX. When I try to add it, it just plays automatically and doesn't stop. Is it possible to have launch smoke for something like this?

Link to comment
Share on other sites

Hi there! Yep, this is totally possible. Take a look at the SpaceY "M9" engine, if you want an example. I did exactly what you're trying to do.

The key with the ground effect is that you need two of them, keyed to the correct modules in your config. For example, in the M9 engine, it looks like this:


MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 1
fxMax = 0.9
maxDistance = 50
falloff = 1.8
thrustTransformName = thrustTransform
}
MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 2
fxMax = 0.6
maxDistance = 40
falloff = 1.8
thrustTransformName = centerTransform
}

I haven't done much experimenting (beyond adding it and seeing that it worked on my engines), but it looks like the "thrustProviderModuleIndex " numbers start counting at "1", referring to the first "ModuleEngines" or "ModuleEnginesFX", and incrementing from there.

Make sure they reference the correct thrust transforms. Having them both point to the same transforms, or having only one of these to begin with, will have the "always on" effect you described.

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...