Jump to content

Chandra Aerospace

Members
  • Posts

    61
  • Joined

Posts posted by Chandra Aerospace

  1. I'm trying to target specific indexes from configs using MM, currently I don't know of a method I can do that with.
    I tried this so far:

    @KSP_MODEL_SHADER[*]:FINAL {
        !model:HAS[*Pumpkin*],* = DELETE
    }   

    Essentially, I'm trying to do this:
     

    KSP_MODEL_SHADER
    {
    	name = FullMetal
    	
    		model = HGR/Parts/Command/Leek/model
    		model = HGR/Parts/Command/Onion/model
    		model = HGR/Parts/Command/Pumpkin/model // Remove only this
    		model = HGR/Parts/Command/Radish/Model
    		model = HGR/Parts/Command/SoyJuice/model
    		model = HGR/Parts/Command/SoyJuice2/model2
    		model = HGR/Parts/Command/SoyLima/Model2
    }

     

  2. @ZorgCould you Explain this part of the code?

    Code

    Spoiler
    
    
                  xyForce
                  {
                  density = 1 0
                  density = 0 0
                  }
                  speed
                  {
                  density = 0.7 1.5
                  density = 0.52 1.5
                  density = 0.19 1
                  density = 0.07 1
                  density = 0.045 1
                  density = 0.02 0.7
    
                  power = 0.1      0.7
                  power = 0.2  0.8
                  power = 1.0   1.0
    
                  }
                  logGrow
                  {
                  density = 0.7 0
                  density = 0.52 1
                  density = 0.19 4
                  density = 0.07 15
                  density = 0.045 15
                  density = 0.02 30
                  }
                  zForce
                  {
                  density = 0.7 1
                  density = 0.52 1.01
                  density = 0.19 1.02
                  density = 0.07 1.03
                  density = 0.045 1.04
                  density = 0.02 1
                  }
                  linGrow
                  {
                  density = 0.7 1
                  density = 0.52 1
                  density = 0.19 4
                  density = 0.07 5
                  density = 0.045 8
                  density = 0.02 6
                  }
                  energy
                  {
                  density = 0.7 1
                  density = 0.07 1
                  density = 0.045 1
                  density = 0.02 0.5
                  }
                  emission
                  {
                  density = 0.7 2
                  density = 0.52 1.5
                  density = 0.19 0.5
                  density = 0.07 0.5
                  density = 0.045 0.5
                  density = 0.02 0.5
    
                  power = 0.0      0
                  power = 0.001     0
                  power = 0.1     0.6
                  power = 0.2 0.9
                  power = 1.0  1.5
                  }
                  offset
                  {
                  density = 0.7 0
                  density = 0.52 0
                  density = 0.19 0
                  density = 0.07 0
                  density = 0.045 0
                  density = 0.02 0.3
                  }

     

     

  3. I'm getting Some MM Errors related to RealPlume/000_GENERIC_PLUMES/Cryogenic_OrangeVernier

    MM Error Log

     

    Spoiler
    
    [WRN 21:31:59.557] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.557] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/startup$       0
    [WRN 21:31:59.557] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.557] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/flameout$     0.0
    [WRN 21:31:59.557] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.557] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/ignition$     0.6
    [WRN 21:31:59.557] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.557] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/deepThrottle$ 0.9
    [WRN 21:31:59.557] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.557] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/maxThrottle$  2.5
    [WRN 21:31:59.557] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.557] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/startup$      0.5
    [WRN 21:31:59.557] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.557] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/flameout$     0.5
    [WRN 21:31:59.557] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.557] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/ignition$     0.6
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/deepThrottle$ 0.9
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key power = #$@CryoEnginesPlume/PowerKeys/maxThrottle$  1.2
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key density = #$@CryoEnginesPlume/atmosphereKeys/key4$ 1
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key density = #$@CryoEnginesPlume/atmosphereKeys/key5$ 0.7
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key density = #$@CryoEnginesPlume/atmosphereKeys/key0$ 0
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key density = #$@CryoEnginesPlume/atmosphereKeys/key1$ 1.5
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key density = #$@CryoEnginesPlume/atmosphereKeys/key2$ 5
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key density = #$@CryoEnginesPlume/atmosphereKeys/key3$ 10
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key density = #$@CryoEnginesPlume/atmosphereKeys/key4$ 10
    [WRN 21:31:59.558] Can't find nodeType:CryoEnginesPlume
    [ERR 21:31:59.558] Error - Cannot parse variable search when inserting new key density = #$@CryoEnginesPlume/atmosphereKeys/key5$ 15

     

     

  4. 21 hours ago, Zorg said:

    You can always see what parameters a plume effect node supports by looking inside the prefabs inside 000_Generic_Plumes.

    Using that Method and Applying the corrected MM patch, It worked for the emissionMult. If the energy Parameter is not supported in a plume, could you technically add the Energy paramter to a plume?

    Spoiler
    
    @PART[SSTU-SC-ENG-J-2X]:NEEDS[RealPlume&!RealismOverhaul]:AFTER[zzzRealPlume]
    {
    	@EFFECTS
        	{
            	@Cryogenic_UpperBlue_CE
            	{
    			@MODEL_MULTI_SHURIKEN_PERSIST[Cryogenic_UpperBlue_CE-core]
    			{
    				%sizeClamp = 99
    				%emissionMult = 2
    				%energy = 2
    				%alphaMult = 1.5
    				// Add this to a 000_GENERIC_PLUME?
    				%energy = #$/PLUME[Hydrolox_UpperBlue]:HAS[~processed[*]]/energy$
    			}
    
    		}
    	}
    }	

     

     

  5. 11 hours ago, Zorg said:

    Hmm I've decided some of the new added plumes are best served by not adding an emissionMult. However I will make sure all relevant effects have an alphaMult that can be picked up in the PLUME node. If the value is not specified in PLUME it will default to 1.

    historically emission was the only way to control intensity. Higher emission values however came at the expense of performance and lower values can make the plume look odd as not enough particles are emitted to make the intended effect. alphaMult lets you control the transparency of the plume without affecting the number of particles. 

    I have a Beefy PC, Is there a way to edit EmissionMult if wanted?
     

    13 hours ago, Zorg said:

    I'll try and get around to documenting all this a bit better but just too busy right now! 

     

    Cool!

  6. On 10/24/2019 at 11:39 PM, Zorg said:

    The question really is if Smokescreen 2.8.5 or newer is compatible. Smokescreen 2.8.6 is the last version of Smokescreen compatible with pre KSP 1.8 versions.

    Not that I tested extensively, just a quick look to see if plumes appear. But from what I can tell RealPlume 13.0.0 is fine on KSP 1.4.5 and KSP 1.6.1 if you use Smokescreen 2.8.6 (and of course a version of Module Manager compatible with that KSP version).

     

    Excellent! 
    Question about Editing plumes: If I add a aphaMult to a plume config, it stays 1 when I load it in KSP. Do I have to Edit the plume config using MODEL_MULTI_SHURIKEN_PERSIST?
    I could also use a good guide to editing the plume code itself, I tried a number of times to edit sizeClamp  and AlphaMult using a config, it just didnt change.

    Code:

    Spoiler
    
    @PART[SSTU-SC-ENG-J-2X]:NEEDS[RealPlume&!RealismOverhaul]:BEFORE[RealPlume]
    {
        PLUME
        {
            name = Cryogenic_UpperBlue_CE
            transformName = J-2X-ThrustTransform
    	emissionMult = 3
            // Energy, AlphaMult, and EmissionMult have no effect on the plume, just size and posistion
    		energy = 2
            speed = 1
    	alphaMult = 2
    
    	plumePosition = 0,0,2.1
    	plumeScale = 0.8
    	plume2Scale = 2
    	
    	corePosition = 0,0,2.1
    	coreScale = 1.7
    
        }
    	@MODULE[ModuleEngines*]
    	{
            	%powerEffectName = Cryogenic_UpperBlue_CE
    	}
    }
    
    // Is this just wrong? or is it right
    @PART[SSTU-SC-ENG-J-2X]:NEEDS[RealPlume&!RealismOverhaul]:AFTER[zzzRealPlume]
    {
    	@EFFECTS
        	{
            	@Cryogenic_UpperBlue_CE
            	{
    				@MODEL_MULTI_SHURIKEN_PERSIST[Cryogenic_UpperBlue_CE-plume]
    				{
    					// Trying to edit SizeClamp on this plume, which at defualt is 50
    					sizeClamp = 99
    				}
    			@MODEL_MULTI_SHURIKEN_PERSIST[Cryogenic_UpperBlue_CE-plume2]
    			{
    				// Same as the above, trying to edit the SizeClamp and AlphaMult
    				sizeClamp = 99
    				alphaMult = 4
    			}
    		}
    	}
    }

     

    Screenshots of results, Tried consulting the ksp.log and MMpatch logs for any errors, there were none.

    Spoiler

    Components of the plume:

    Core code
    fmPyy3P.png

    Plume 1 Code
    lXUb0Mj.png

    Plume 2 Code 
    3yF3Kaq.png

    Results

    Desired result
    FjYqZ1D.png

    Actual results without SmokeScreen plume Tuning
    Quite UglyfXkMXxy.png%C2%A0

  7. @CobaltWolf Amazing mod! I would say this mod is one of the Best ones out there!
    I have a couple of suggestions:

    Suggestions

    Spoiler

    1. Add Textures Unlimited (TU) Compatibillity. That would make this Already Amazing mod Hyper.
    2. Add a Optional Real Sizes patch (Make all the Parts Real names, sizes, and stats,  not the fuels, I Myself would not change the fuels, its a pain in the neck to do so).

     

×
×
  • Create New...