Jump to content

Help with trying to make two mods live happily together


Recommended Posts

So I've got two mods that I REALLY would like to use together. Kerbal research and development, and procedural parts. The issue is that they both modify parts in the VAB and if both are installed, procedural parts look like they work in the VAB, but when you launch the craft, the procedural fuel tanks, for instance, only have the default amount of fuel (95/115) even if they're HUGE.

Now the nice part is I don't need the kerbal R&D module on the procedural parts. I'm fine if I don't upgrade those. But the KR&D module needs to be on all the other, non-procedural parts. 

So I appended the cfg file in KRnD to try to remove the KRnD module from procedural parts.

 

Why doesn't this remove the KRnDmodule?

@PART[*]:HAS[MODULE[ProceduralPart]]:FINAL
{
    -MODULE,KRnDModule {}
}

 

I even tried removing ALL modules from the liquid procedural tank just to see if it worked, and it didnt.

@PART[proceduralTankLiquid]
{
    -MODULE,* {}
}

 

So what gives? I have no idea how I'm supposed to find the right syntax, the online help for module manager is slim at best

Thanks for the help!

 

For what it's worth, this is what KRnD adds to each part:

@PART[*]:HAS[!MODULE[KRnDModule]]
{
     MODULE
    {
        name = KRnDModule
        
        // All parts:
        dryMass_scienceCost                = 10
        dryMass_costScaleReference        = 1        // the base science cost scales with the original mass, in this case 10 science for 1 ton
        dryMass_costScale                 = 1.8
        dryMass_improvement                = -0.1    // -10% for the first upgrade
        dryMass_improvementScale        = 1
        
        // Engines / RCS:
        ispVac_scienceCost                = 15
        ispVac_costScale                 = 1.8        // the cost increases each level by: scienceCost * costScale ^ level
        ispVac_improvement                = 0.05    // +5% for the first upgrade
        ispVac_improvementScale            = 1        // the improvement increases each level by: improvement * improvementScale ^ level
        
        ispAtm_scienceCost                = 8
        ispAtm_costScale                 = 1.8
        ispAtm_improvement                = 0.05
        ispAtm_improvementScale            = 1

        fuelFlow_scienceCost            = 10
        fuelFlow_costScale                 = 1.8
        fuelFlow_improvement            = 0.1
        fuelFlow_improvementScale        = 1
        
        // Reaction Wheels:
        torque_scienceCost                = 5
        torque_costScale                 = 1.7
        torque_improvement                = 0.25
        torque_improvementScale            = 1

        // Solar Panels:
        chargeRate_scienceCost            = 10
        chargeRate_costScale             = 1.7
        chargeRate_improvement            = 0.05
        chargeRate_improvementScale        = 1
        
        // Landing Legs:
        crashTolerance_scienceCost        = 10
        crashTolerance_costScale         = 1.5
        crashTolerance_improvement        = 0.15
        crashTolerance_improvementScale    = 1
        
        // Batteries:
        batteryCharge_scienceCost        = 10
        batteryCharge_costScaleReference = 500    // the base science cost scales with the original capacity, in this case 10 science for 500 charge-units
        batteryCharge_costScale         = 1.7
        batteryCharge_improvement        = 0.2
        batteryCharge_improvementScale    = 1
        
        // Generators (eg RTG):
        generatorEfficiency_scienceCost    = 15
        generatorEfficiency_costScale     = 1.8
        generatorEfficiency_improvement    = 0.1
        generatorEfficiency_improvementScale = 1
        
        // Converter (eg Ore-Converter or Fuel Cells):
        converterEfficiency_scienceCost    = 15
        converterEfficiency_costScale     = 1.8
        converterEfficiency_improvement    = 0.1
        converterEfficiency_improvementScale = 1
        
        // Parachute Strength (cut and deployment speeds):
        parachuteStrength_scienceCost    = 10
        parachuteStrength_costScale        = 1.8
        parachuteStrength_improvement    = 0.3
        parachuteStrength_improvementScale = 1
        
        // Max Internal- and Skin-Temperature (for withstanding re-entry heat):
        maxTemperature_scienceCost        = 5
        maxTemperature_costScale        = 1.8
        maxTemperature_improvement        = 0.2
        maxTemperature_improvementScale    = 1
        
        // Fuel Capacity (amount of fuel a tank can hold):
        fuelCapacity_scienceCost        = 5
        fuelCapacity_costScaleReference    = 1000    // the base science cost scales with the original capacity of a tank (sum of all fuels), in this case 5 science for 1000 fuel units
        fuelCapacity_costScale            = 1.8
        fuelCapacity_improvement        = 0.05
        fuelCapacity_improvementScale    = 1
    }
}

 

Edited by Kerbonaut257
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...