Jump to content

Finding KSP particles


Recommended Posts

Good evening

I'm on the hunt for names of particles in the existing KSP assets. For example, I know that "Effects/fx_smokeTrail_light" is accessible, but I'd quite like to know what else is available and would quite like to be able to use the water splash particle. Anyone have any ideas on how to get the names, or have a list? I had a look, but didn't find much that was of any help. Engine smoke, flameout etc. are obviously easy enough as they're named in configs. Others not so much.

Many thanks!

Edited by lo-fi
Link to comment
Share on other sites

List as follows:


Dust Puff
emit
engineOnArm
exhaustFlame_blue
Fire Trails
Fireball
fx_exhaustFlame_blue(Clone)
fx_exhaustFlame_blue_small(Clone)
fx_exhaustFlame_white_tiny(Clone)
fx_exhaustFlame_yellow(Clone)
fx_exhaustFlame_yellow_tiny(Clone)
fx_exhaustSparks_flameout(Clone)
fx_exhaustSparks_yellow(Clone)
fx_gasBurst_white(Clone)
fx_gasJet_b_x-
fx_gasJet_b_x+
fx_gasJet_bl_z-
fx_gasJet_bl_z+
fx_gasJet_br_z-
fx_gasJet_br_z+
fx_gasJet_l_y-
fx_gasJet_l_y+
fx_gasJet_r_y-
fx_gasJet_r_y+
fx_gasJet_t_x-
fx_gasJet_t_x+
fx_gasJet_tl_z-
fx_gasJet_tl_z+
fx_gasJet_tr_z-
fx_gasJet_tr_z+
fx_smokeTrail_light(Clone)
fx_smokeTrail_medium(Clone)
fx_waterSurface
JetEngine
ks1_emit
ks25_emit
ksX_emit
LES_emit
liquidEngineMini
MassiveBooster
Metal Bits
orbitalNukeCore
orbitalNukeLFO
orbitalNukeMONO
Particles
RAPIER
shockExhaust_blue
shockExhaust_blue_small
shockExhaust_red_small
Shockwave
Size2LFB
Size3AdvancedEngine
Size3EngineCluster
smallRadialEngine
Smoke
Solid Fuel Chunks
SRB_large_emit
SRB_large_emit2
turboFanEngine
Water Surface Splash
waterColumm
waterSpray

Code for getting, courtesy of xEvilReeperx:


[KSPAddon(KSPAddon.Startup.Flight, true)]
class DumpShaderList : MonoBehaviour
{
void Start()
{


//particles
HashSet<string> PA = new HashSet<string>();


FindObjectsOfType<ParticleAnimator>().ToList().ForEach(sh => PE.Add(sh.name));
Resources.FindObjectsOfTypeAll<ParticleAnimator>().ToList().ForEach(sh => PE.Add(sh.name));


Debug.Log("{0} loaded shaders " + PE.Count);
List<string> PAsorted = new List<string>(PE); PAsorted.Sort();


using (System.IO.StreamWriter file = new System.IO.StreamWriter(KSPUtil.ApplicationRootPath + "/PA.txt"))
foreach (var sh in PAsorted)
file.WriteLine(sh);

}
}

Based on an unrelated answer here

Although that still doesn't give me everything. The "Effects/fx_smokeTrail_light" prefab includes and "Effects" path. Those of which seem to be marked as (clone) Knowing what that might be for others is a bit of a challenge..

Edited by lo-fi
Wrong info!.
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...