Sign in to follow this  
Nightside

Rocket lens flares?

Recommended Posts

Do any mods give us lens flares on rocket engines?

I have scatterer, Real Plume, and Engine Lighting, but none of them give the dramatic flare effect on the engines (scatterer only works on the sun).
Has anybody figured out a way to do this?

Share this post


Link to post
Share on other sites

In theory it wouldn't be that 'hard' to add lens-flares to engines, at least in a naive/basic fashion.  I'm not currently aware of any mods that do this however.

First, create a lens-flare asset in Unity Editor.  Export the .flare + textures to an asset bundle.  Load this asset bundle into KSP through custom plugin code.  Create a new PartModule to manage your lens-flare for specific parts; patch this module onto engines.  In the new module, add the lens-flare component to the engines primary transform, and use the plugin to manipulate the flares 'contribution'/visibility based on the engines' current thrust setting/thrust output.

Obv. it would need to be quite a bit more complex than the simple implementation I outlined in order to handle edge-cases and add some optimizations (e.g. you don't want 27 lens flares showing for a 'cluster' of engines, but only one), but I think that in theory it is entirely doable.

 

Share this post


Link to post
Share on other sites

Had a FX close to that when it started out but think they got changed, I think it was just two FX running at same time

Edited by Mecripp

Share this post


Link to post
Share on other sites

@Shadowmage, I had this question after messing around in SSTU trying to make a Delta IV heavy (inspired by this week's launch) and wondering if I could use Real Plume to make the fireball that occurs at the launch of that rocket.

@Mecripp, interesting, I just peaked at the Cryogenic Engines configs and it has an outdated config for the Engine Light mod (module name changed). I'm going to try to swap the module names and see what @Nertea came up with.

It looks like CryoEngines has an outdated config for Engine Light that actually prevents the mod from loading properly. I went ahead and submitted a fix for Cryo Engines over on github.

https://github.com/ChrisAdderley/CryoEngines/issues/46

 

Edited by Nightside

Share this post


Link to post
Share on other sites

@Nightside One might try to add a 2nd transformer where the thrust transformer is and name it Sun or might even change the name to Sun and see what happens ? If scatter will show the Sun fare on it

Share this post


Link to post
Share on other sites

Well it seems like the capability to have awesome flares is mostly exists already with a combination of RealPlume/smokescreen and EngineLight. However Realplume configs just haven't been totally awesomized for massive flares. 
I actually tried to use one of @JadeOfMaar's sun flares with RealPlume, but the that requires a .mu, while the sun flares for scatterer are textures.

 

Anyway, I messed with the configs (Bigger and Brighter obviously) and got some pretty good looking stuff. 

screenshot16Waiting until dark to launch

 

screenshot17Ignition...

 

screenshot18

Liftoff!

 

screenshot24

Into the void

Share this post


Link to post
Share on other sites
17 hours ago, Nightside said:

Well it seems like the capability to have awesome flares is mostly exists already with a combination of RealPlume/smokescreen and EngineLight. However Realplume configs just haven't been totally awesomized for massive flares. 
I actually tried to use one of @JadeOfMaar's sun flares with RealPlume, but the that requires a .mu, while the sun flares for scatterer are textures.

 

Anyway, I messed with the configs (Bigger and Brighter obviously) and got some pretty good looking stuff. 

screenshot16Waiting until dark to launch

 

screenshot17Ignition...

 

screenshot18

Liftoff!

 

screenshot24

Into the void

Looks like you got you got the old cryo engines FX to work just looks bigger now

Share this post


Link to post
Share on other sites

I tried to do something similar in LCA, but of course, this is much more modest than in this video. :D

 

88028e80433b0c1e28860267d0be9694.png

Share this post


Link to post
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.

Sign in to follow this