Jump to content

Stock module for adding fx to origin of part, does it exist?


Azimech

Recommended Posts

Hi guys,

I'm looking for a way to produce effects (smoke, fire) that will work with any part based on part origin, with offset capability, and the capability for an input resource (for example heat or fire). Does Unity/KSP have such a thing?

Because with the new ModuleResourceConverter, it should in fact be possible to create a fire, which spreads if not contained/controlled.
Link to comment
Share on other sites

There are mods with do similiar things:

[URL="http://forum.kerbalspaceprogram.com/threads/101496"]Collision FX[/URL] - generates sparks during collisions
[URL="http://forum.kerbalspaceprogram.com/threads/84102-PARTS-PLUGIN-1-0-x-V1-8G-Kerbal-Foundries-wheels-anti-grav-repulsors-and-tracks"]Kerbal Foundries[/URL] - they took code from Collision FX to create Dust FX which generates dust depending on the surface the wheels are touching
[URL="http://forum.kerbalspaceprogram.com/threads/109952-1-0-x-Destruction-Effects-%28flames-and-smoke-on-joint-breaks%29?highlight=destruction"]Destruction Effects[/URL] - adds fire and smoke to parts you shoot at

They all do more or less the same (adding FX to parts). You can look into the codes to figure out how that works and then add your spreading fire to it.
Link to comment
Share on other sites

The problem is that fire isn't (can't be) a resource. So you can't use ModuleResourceConverter to simulate it. Or I'm too stupid to see a reasonable way to do it with this PartModule.

How about coming up with your own version of fire? I can imagine to play some fire effects if a part's temperature is above some threshold. And as long as the fire effects are played you add more heat energy to the part. KSP's heat system will distribute the heat to neighboring parts and eventually everything will be on fire until it's destroyed by overheating.
Link to comment
Share on other sites

ModuleResourceConverter together with ModuleCoreHeat can simulate a fire, I just haven't figured out the right variables yet. I asked[URL="http://forum.kerbalspaceprogram.com/threads/140273-Core-temperature-modifiers-is-there-a-detailed-explanation"] in this topic[/URL] if someone knows the right ones but thus far no reply.
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...