Jump to content

[1.12.x] Waterfall - a framework for continuous, mesh-driven engine effects (October 9)


Nertea

Recommended Posts

The folks over at Real Plume have directed me to here with this bug, and I can confirm it is definitely caused by the Waterfall plumes. The RAPIER engine has a very noticeable 'gap" between the engine and the actual plume, and I'm wondering if the creator of this mod could possibly fix this? Thanks. (btw this is with a fresh install of Waterfall)

unknown.pngunknown.pngunknown.png

Link to comment
Share on other sites

  On 10/9/2022 at 10:03 PM, Clayel said:

The folks over at Real Plume have directed me to here with this bug, and I can confirm it is definitely caused by the Waterfall plumes. The RAPIER engine has a very noticeable 'gap" between the engine and the actual plume, and I'm wondering if the creator of this mod could possibly fix this? Thanks. (btw this is with a fresh install of Waterfall)

--image snip--

Expand  

Probably better to ask over in the Stock Waterfall Effects thread, since that'll be the mod that adds effects to the Rapiers; this is just a framework mod, and doesn't change anything by itself :)

If you're comfortable enough w/ ModuleManager to write your own patch, you could use the ingame editor to move the templates used and then copy those offset values to your patch; been a while since I was trying my hand at doing Waterfall stuff though, so can't give much more help than that ^^;

Link to comment
Share on other sites

  On 10/9/2022 at 11:47 PM, Starseeker said:

Probably better to ask over in the Stock Waterfall Effects thread, since that'll be the mod that adds effects to the Rapiers; this is just a framework mod, and doesn't change anything by itself :)

If you're comfortable enough w/ ModuleManager to write your own patch, you could use the ingame editor to move the templates used and then copy those offset values to your patch; been a while since I was trying my hand at doing Waterfall stuff though, so can't give much more help than that ^^;

Expand  

Ah, fair point, mb

Link to comment
Share on other sites

  On 10/9/2022 at 11:47 PM, Starseeker said:

Probably better to ask over in the Stock Waterfall Effects thread, since that'll be the mod that adds effects to the Rapiers; this is just a framework mod, and doesn't change anything by itself :)

If you're comfortable enough w/ ModuleManager to write your own patch, you could use the ingame editor to move the templates used and then copy those offset values to your patch; been a while since I was trying my hand at doing Waterfall stuff though, so can't give much more help than that ^^;

Expand  

I've been informed that the Waterfall Restock mod thread is also in this forum. (I probably should've mentioned that I'm using restock) So... idk what I should do now

Link to comment
Share on other sites

I am getting these NullRefs spammed in my log:

NullReferenceException: Object reference not set to an instance of an object
  at ModuleEngines.ThrustUpdate () [0x00207] in <cf1abf6b50ac49c3b967fb61a43f1e5f>:0 
  at ModuleEngines.FixedUpdate () [0x0005c] in <cf1abf6b50ac49c3b967fb61a43f1e5f>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
 
(Filename: <cf1abf6b50ac49c3b967fb61a43f1e5f> Line: 0)

Based on my troubleshooting, it seems to be caused by Waterfall, specifically Plugins/Waterfall.dll, as it fails to show up if I delete Waterfall or the dll.

Can someone please tell me how to fix it?

I am running KSP 1.11.2 with 100+ mods on a Mac.

I posted this in Modded Technical Support, but that was before I realised that Waterfall was the issue.

EDIT: nvm, reinstalled tweakscale companion and it got fixed, probably was the NFLV waterfall stuff.

Edited by 1something
Link to comment
Share on other sites

  On 8/14/2020 at 11:04 PM, Nertea said:

 

Supported Mods

You need configuration packs for this to do anything. Currently there are only one; other mods will likely ship configs for this. If you release a mod that supports Waterfall you can let me know and I'll add it here. 

 

Expand  

Any chance there's an updated list/repository somewhere? Are there any other mods that have added in support stuff?

Link to comment
Share on other sites

  On 10/22/2022 at 3:06 PM, Bizobinator said:

Any chance there's an updated list/repository somewhere? Are there any other mods that have added in support stuff?

Expand  

It's really hard to maintain such a list so no. I know BDB has good support I guess?

  On 10/16/2022 at 10:49 AM, PrimeDirective96 said:

What's causing this to happen?

https://imgur.com/a/P0gwZAK

Expand  

 

I have no idea what I'm supposed to be looking at.

  On 10/16/2022 at 6:47 AM, 1something said:

probably was the NFLV waterfall stuff.

Expand  

This seems unlikely because I manage that myself and there's no issues 

Link to comment
Share on other sites

  On 10/22/2022 at 5:18 PM, Nertea said:

It's really hard to maintain such a list so no. I know BDB has good support I guess?

 

I have no idea what I'm supposed to be looking at.

This seems unlikely because I manage that myself and there's no issues 

Expand  

Picture shows Engine Exhaust becomes invisible, happens sometimes for no apparent reason.

Link to comment
Share on other sites

  On 10/22/2022 at 5:18 PM, Nertea said:

It's really hard to maintain such a list so no. I know BDB has good support I guess?

 

I have no idea what I'm supposed to be looking at.

This seems unlikely because I manage that myself and there's no issues 

Expand  

I troubleshooted the problem at traced the errors to tweakscale companion, and I'm assuming it occurred because I messed with some of the files in NFLV.  I reinstalled it and its okay now.

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
  • 3 weeks later...

Anyone else have this problem? Some engines in Restock do not have and Waterfall effects applied to them. I installed the Restock Waterfall Config. As you can see in this picture --> https://imgur.com/gallery/Ih85ikS  the engines have the stock plumes but the RCS Thrusters have the waterfall effects on. Anyone know what the problem is?

Link to comment
Share on other sites

  On 12/18/2022 at 9:25 AM, CytauriKerbal said:

Anyone else have this problem? Some engines in Restock do not have and Waterfall effects applied to them. I installed the Restock Waterfall Config. As you can see in this picture --> https://imgur.com/gallery/Ih85ikS  the engines have the stock plumes but the RCS Thrusters have the waterfall effects on. Anyone know what the problem is?

Expand  

iirc, all the C7 Aerospace parts aren't touched by Restock - you'll need Stock Waterfall Effects to add plumes to those engines.

Edited by Starseeker
Link to comment
Share on other sites

  On 12/19/2022 at 1:06 AM, Starseeker said:

iirc, all the C7 Aerospace parts aren't touched by Restock - you'll need Stock Waterfall Effects to add plumes to those engines.

Expand  

Or Restock Waterfall Expansion!

@CytauriKerbal, it adds the SWE configs for jet engines into the game right off the bat.

Edited by AtomicTech
Link to comment
Share on other sites

I'm completely new to all of this and I'm wanting to add a plume to the "Hyperblast" scramjet from Mk2 stocklike expansion

I've read through some of the waterfall wiki and I'm stuck on how to go about adding a module to the engine
I've also never made a modulemanager patch but I read through this post and kinda got a better idea of what a patch really is.


Any help is much appreciated.
 

I'm realizing already that this may be too much for me and that someone has already made a waterfall config for Mk2 expansion but nonetheless I'd still like to learn.

Edited by Ithrowpoodles
Link to comment
Share on other sites

  On 12/19/2022 at 6:20 PM, Ithrowpoodles said:

I'm completely new to all of this and I'm wanting to add a plume to the "Hyperblast" scramjet from Mk2 stocklike expansion

I've read through some of the waterfall wiki and I'm stuck on how to go about adding a module to the engine
I've also never made a modulemanager patch but I read through this post and kinda got a better idea of what a patch really is.


Any help is much appreciated.
 

I'm realizing already that this may be too much for me and that someone has already made a waterfall config for Mk2 expansion but nonetheless I'd still like to learn.

Expand  

First, you want to apply the waterfall module to the engine. All of these things should be put into a MM patch.

@PART[//put the part name, found in the "name=" field at the top of part configs, in this case M2X_SCRamjet//]:NEEDS[Waterfall]
{
MODULE
{
	name = ModuleWaterfallFX
	moduleID = //put a name that you think would describe the effect, ie HyperblastFx//
}

That will apply the waterfall module to the part, but you still need to remove the stock plume. You do that by removing the effects block of the engine config (generally found at the end) and replacing it with the same block but with the plume effects removed, leaving only the audio, and the non plume effects. Example:

  Reveal hidden contents

Now that you have the effects block (minus plume effects), it's time to remove the original one and replace it with the custom one. 

{
	!EFFECTS {}//this will remove the entire effects block//
	EFFECTS
	{		
		running_thrust
		{			
			AUDIO
			{
				channel = Ship
				clip = Mk2Expansion/Sounds/sound_jet_afterburn_heavy
				volume = 0.0 0.0
				volume = 0.05 0.7
				volume = 1.0 1.4
				pitch = 0.0 0.8
				pitch = 1.0 0.8
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_light
				transformName = ShockPoint
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.25
				speed = 1.0 1.0
				localOffset = 0, 0, 1
				localRotation = 1, 0, 0, 90
			}					
		}
		shockDiamond
		{
			MODEL_MULTI_PARTICLE
			{
				modelName = Mk2Expansion/FX/Scram_Shock
				transformName = ShockPoint
				emission = 0.0 0.0
				emission = 0.25 0.0
				emission = 0.3 0.25
				emission = 1.0 1.25
				speed = 0.0 0.5
				speed = 0.1 0.10
				speed = 1.0 1.0
			}
		}
		running_turbine
		{
			
			MODEL_MULTI_PARTICLE
			{
				modelName = Mk2Expansion/FX/Scram_plume
				transformName = Emissive
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.5
				speed = 0.1 0.6
				speed = 1.0 1.0
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_medium
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		disengage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		flameout
		{
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustSparks_flameout_2
				transformName = thrustTransform
				oneShot = true
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}
}

You can put this code into its own patch, or you can attach it to the first patch:

  Reveal hidden contents

P.S.

@PART[//put the part name, found in the "name=" field at the top of part configs, in this case M2X_SCRamjet//]:NEEDS[Waterfall]
{
MODULE
{
	name = ModuleWaterfallFX
	moduleID = //put a name that you think would describe the effect, ie HyperblastFx//
//when you finish making the plume, paste it here//
}
Link to comment
Share on other sites

  On 5/13/2022 at 12:35 AM, Fossilized said:

Hello, I'm having an issue with my plume that's built on waterfall.

During sunset, at an instantaneous time that I assume the game registers as night, the plume disappears. It reappears in the day but instantly vanishes only during the night.

How do I fix this?

Expand  

Can confirm I also have this issue with all of my Waterfall plumes. The plumes disappear at night, but only when the camera is facing the sky so that the plumes are in front of it. They show up if the camera is facing so that the plumes are in front of the ground.

MOD LIST:

  Reveal hidden contents

 

Edited by SpudNutimus
Link to comment
Share on other sites

Hello I would like to know if it is possible to an

Remove the modifications of the rooms and their aesthetics and just keep the effects of flame and sound? I use TURD and when I put the Waterfall mode I lose the colors of my pieces. Thank you.

Link to comment
Share on other sites

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