Search the Community
Showing results for tags 'smoke'.
-
Add 8 color smoke generators and one color change smoke generator https://imgur.com/zV20flk https://imgur.com/exujmRr Download :https://spacedock.info/mod/3106/Color changing smoke generator License: MIT
-
I'm using the Waterfall mod, but I don't like how there is no engine smoke. However, the Waterfall forum thread states that Waterfall is And I would like to use that compatibility. RealPlume prefabs would be perfect. But, as Waterfall overrides RealPlume, this would require me to Separate the RealPlume effects into smoke and plume And apply only the smoke along with the Waterfall plumes. The SmokeScreen Github wiki is incomplete, while the only followable tutorial for RealPlume that I could find utilizes Realism Overhaul, which I don't use. Does anyone know of a tutorial for making RealPlume/SmokeScreen smoke effects that is up-to-date and doesn't use Realism Overhaul?
- 7 replies
-
- waterfall
- smokescreen
-
(and 2 more)
Tagged with:
-
I swear I saw a mod that adds some smoke generator. or makes fuel tank fume. like this; does anyone have a clue? plz? >not I was looking for; SmokeScreen - Extended FX plugin HotRockets! Particle FX Replacement CoolRockets! Cryo and Launch Particle FX (however this mod is COOL!)
-
Hello, I'm rather new to modding KSP and Unity in general. I am attempting to add fog and clouds to KSP and I have really no clue where to begin. I've searched Google high and low as well as the forums and all I could find is incomplete code snippets so small that they really don't help much. If someone has the time and knowledge, would you lend me a hand. Below is my code so far. I think I am on the right track with making a gameobject, assigning it's .maintexture to be my texture I choose, adding a mesh, creating vertices, triangles, etc. but I really have no idea if this is correct and if it is, where do I go now. using System; using System.IO; using System.Collections; using UnityEngine; using KSP; namespace Clouds { public class Clouds_Main : MonoBehaviour { bool debug_output = false; Texture2D white_clouds = null, storm_clouds = null; private float lastFixedUpdate = 0.0f, logInterval = 2.5f; Mesh light_cloud_mesh = new Mesh(); Mesh dark_cloud_mesh = new Mesh(); public Material light_cloud_material; public Material dark_cloud_material; GameObject dark_cloud_gameObject; GameObject light_cloud_gameObject; /* Caution: as it says here: http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.Awake.html, use the Awake() method instead of the constructor for initializing data because Unity uses Serialization a lot. */ /* Called after the scene is loaded. */ void Awake() { if (white_clouds == null) white_clouds = LoadPNG(@"C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program\GameData\Wind Mod\S_Cloud4.png"); // Load the S_Cloud4.png Icon image into memory if (storm_clouds == null) storm_clouds = LoadPNG(@"C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program\GameData\Wind Mod\D_Cloud1.png"); // Load the D_Cloud1.png Icon image into memory light_cloud_material.SetTexture(0, white_clouds); dark_cloud_material.SetTexture(1, storm_clouds); } /* Called next. */ void Start() { dark_cloud_gameObject.AddComponent<MeshRenderer>().material.mainTexture = dark_cloud_material.GetTexture(1); dark_cloud_mesh = dark_cloud_gameObject.AddComponent<MeshFilter>().mesh; dark_cloud_mesh.Clear(); dark_cloud_mesh.vertices = new Vector3[] { new Vector3(-0.5f, 0, -0.5f), new Vector3(0.5f, 0, -0.5f), new Vector3(0.5f, 0, 0.5f), new Vector3(-0.5f, 0, 0.5f) }; dark_cloud_mesh.uv = new Vector2[] { new Vector2(0, 0), new Vector2(0, 1), new Vector2(1, 1), new Vector2(1, 0) }; dark_cloud_mesh.triangles = new int[] { 0, 1, 2, 2, 3, 0 }; light_cloud_gameObject.AddComponent<MeshRenderer>().material.mainTexture = light_cloud_material.GetTexture(0); light_cloud_mesh = light_cloud_gameObject.AddComponent<MeshFilter>().mesh; light_cloud_mesh.Clear(); light_cloud_mesh.vertices = new Vector3[] { new Vector3(-0.5f, 0, -0.5f), new Vector3(0.5f, 0, -0.5f), new Vector3(0.5f, 0, 0.5f), new Vector3(-0.5f, 0, 0.5f) }; light_cloud_mesh.uv = new Vector2[] { new Vector2(0, 0), new Vector2(0, 1), new Vector2(1, 1), new Vector2(1, 0) }; light_cloud_mesh.triangles = new int[] { 0, 1, 2, 2, 3, 0 }; } /* Called every frame */ void Update() { } /* Called at a fixed time interval determined by the physics time step. */ void FixedUpdate() { if ((Time.time - lastFixedUpdate) > logInterval) { } } /* Called when the game is leaving the scene (or exiting). Perform any clean up work here. */ void OnDestroy() { } Texture2D LoadPNG(string filePath) // Converts a .png image into a BYTE array that Unity needs in order to display as a GUI image { Texture2D temp_texture = null; // Ensure the texture is always reset byte[] fileData; if (File.Exists(filePath)) { fileData = File.ReadAllBytes(filePath); temp_texture = new Texture2D(2, 2); temp_texture.LoadImage(fileData); //..this will auto-resize the texture dimensions. } else { if (debug_output) Debug.Log("[WIND MOD : Gui Draw] Icon file does not exist in location: " + filePath); } return temp_texture; } } } I would greatly appreciate any help you can give. Thanks in advance.
-
Whenever I use clusters of the BACC "Thumper" SRB, I get these ugly black smoke effects that clip through each other and then disappear unrealistically. i personally think the black smoke effects are ugly and that they should be replaced. Any thoughts? -Atlas2342