inital commit

This commit is contained in:
Gabe Venberg 2024-07-06 11:40:26 -05:00
commit b17e9ae3fb
36 changed files with 771 additions and 0 deletions

View file

@ -0,0 +1,44 @@
// this patch is found everywhere. I did not write the mechjeb portion.
@PART[*]:HAS[@MODULE[ModuleCommand],!MODULE[MechJebCore]]:NEEDS[MechJeb2]:FINAL
{
%MODULE[MechJebCore]
{
MechJebLocalSettings
{
MechJebModuleCustomWindowEditor { unlockTechs = flightControl }
MechJebModuleSmartASS { unlockTechs = flightControl }
MechJebModuleManeuverPlanner { unlockTechs = advFlightControl }
MechJebModuleNodeEditor { unlockTechs = advFlightControl }
MechJebModuleTranslatron { unlockTechs = advFlightControl }
MechJebModuleWarpHelper { unlockTechs = advFlightControl }
MechJebModuleAttitudeAdjustment { unlockTechs = advFlightControl }
MechJebModuleThrustWindow { unlockTechs = advFlightControl }
MechJebModuleRCSBalancerWindow { unlockTechs = advFlightControl }
MechJebModuleRoverWindow { unlockTechs = fieldScience }
MechJebModuleAscentGuidance { unlockTechs = unmannedTech }
MechJebModuleLandingGuidance { unlockTechs = unmannedTech }
MechJebModuleSpaceplaneGuidance { unlockTechs = aerodynamicSystems }
MechJebModuleDockingGuidance { unlockTechs = advUnmanned }
MechJebModuleRendezvousAutopilotWindow { unlockTechs = advUnmanned }
MechJebModuleRendezvousGuidance { unlockTechs = advUnmanned }
}
}
}
@PART[*]:HAS[@MODULE[ModuleCommand],!MODULE[FlightEngineerModule]]:NEEDS[KerbalEngineer]:FINAl
{
MODULE
{
name = FlightEngineerModule
}
}
@PART[*]:HAS[@MODULE[ModuleCommand],!MODULE[kOSProcessor]]:NEEDS[KOS]:FINAl
{
MODULE
{
name = kOSProcessor
diskSpace = 60000
ECPerBytePerSecond = 0
ECPerInstruction = 0.000004
}
}

40
Balance/USI.cfg Normal file
View file

@ -0,0 +1,40 @@
@PART[Duna*]:NEEDS[UmbraSpaceIndustries]:FOR[zzzToricsTweaks]
{
MODULE
{
name = ModuleWeightDistributor
}
}
@PART[KER_Hub]:NEEDS[UmbraSpaceIndustries]:FOR[zzzToricsTweaks]
{
MODULE
{
name = ModuleWeightDistributor
}
}
@PART[KER_FlatBed]:NEEDS[UmbraSpaceIndustries]:FOR[zzzToricsTweaks]
{
MODULE
{
name = ModuleWeightDistributor
}
}
@PART[KER_Crate]:NEEDS[UmbraSpaceIndustries]:FOR[zzzToricsTweaks]
{
MODULE
{
name = ModuleWeightDistributableCargo
}
}@PART[KER_Tank]:NEEDS[UmbraSpaceIndustries]:FOR[zzzToricsTweaks]
{
MODULE
{
name = ModuleWeightDistributableCargo
}
}@PART[KER_KISCrate]:NEEDS[UmbraSpaceIndustries]:FOR[zzzToricsTweaks]
{
MODULE
{
name = ModuleWeightDistributableCargo
}
}

40
Balance/USI_LS.cfg Normal file
View file

@ -0,0 +1,40 @@
//this file only affects new games. To change settings for current games, use the USI-LS gui in the KSC view.
@LIFE_SUPPORT_SETTINGS:NEEDS[UmbraSpaceIndustries]
{
SupplyTime = 324000 //How many seconds before Kerbals are affected by no supplies
ECTime = 324000 //How many seconds before Kerbals are affected by no EC
EVATime = 21600 //How many seconds before ill effects on EVA
ECAmount = 0.01 //EC per Kerbal per second
//about 11 supplies per day per kerbal.
SupplyAmount = 0.0005 //Supplies consumed per Kerbal per second
WasteAmount = 0.0005 //Mulch produced per Kerbal per second
NoSupplyEffect = 4 //Effect if a Kerbal has no supplies
NoSupplyEffectVets = 1 //Effect if a Kerbal is a vet and has no supplies
NoECEffect = 4 //Effect if a Kerbal has no EC
NoECEffectVets = 1 //Effect if a Kerbal is a vet and has no EC
EVAEffect = 4 //Effect if a Kerbal exceeds EVA time
EVAEffectVets = 1 //Effect if a Kerbal is a vet and exceeds EVA time
NoHomeEffect = 1 //Effect if a Kerbal becomes homesick
NoHomeEffectVets = 0 //Effect if a Kerbal is a vet and becomes homesick
HabMultiplier = 1 //Bonus to hab values (1 = default = 100% of the part's rated value)
HomeWorldAltitude = 25000 //Altitude on Kerbin that negative effects are removed
//about 6 days
BaseHabTime = 0.25 //How long can 1 crew capacity support 1 Kerbal, expressed in Kerbal Months
ReplacementPartAmount = 0 //How fast life support equipment and habs 'wears out'
HabRange = 150 //How close we need to be to use other vessel's habitation modules and recyclers.
EnableRecyclers = true //Use resource recyclers? Not the same as resource converteres like greenhouses!
VetNames = Jebediah,Valentina,Bill,Bob
//about 1 kerbin year
ScoutHabTime = 9180000
//about 20 kerbin year
PermaHabTime = 184000000
}
// SIDE EFFECTS:
//
// 0 = No Effect (The feature is effectively turned off
// 1 = Grouchy (they become a Tourist until rescued)
// 2 = Mutinous (A tourist, but destroys a part of a nearby vessel...)
// 3 = Instantly 'wander' back to the KSC - don't ask us how!
// 4 = M.I.A. (will eventually respawn)
// 5 = K.I.A.

View file

@ -0,0 +1,28 @@
\\ adds fertilizer to all isrus.
@PART[*]:HAS[@MODULE[ModuleResourceConverter]:HAS[@OUTPUT_RESOURCE:HAS[#ResourceName[MonoPropellant]]]]:NEEDS[UmbraSpaceIndustries]
{
+MODULE[ModuleResourceConverter]:HAS[@OUTPUT_RESOURCE:HAS[#ResourceName[MonoPropellant]]&@INPUT_RESOURCE:HAS[#ResourceName[Ore]]]
{
@name = ModuleResourceConverter
@ConverterName = Fertilizer
@StartActionName = Start ISRU [Ore -> Fertilizer]
@StopActionName = Stop ISRU [Ore -> Fertilizer]
@Specialty = Engineer
@INPUT_RESOURCE:HAS[#ResourceName[Ore]]
{
@ResourceName = Ore
FlowMode = STAGE_PRIORITY_FLOW
}
@INPUT_RESOURCE:HAS[#ResourceName[ElectricCharge]]
{
@ResourceName = ElectricCharge
}
@OUTPUT_RESOURCE:HAS[#ResourceName[MonoPropellant]]
{
@ResourceName = Fertilizer
@Ratio *= .005
@DumpExcess = false
}
}
}

View file

@ -0,0 +1,8 @@
@CUSTOMBARNKIT:NEEDS[CustomBarnKit]
{
@ASTRONAUTS
{
@recruitHireFixedRate = True
@recruitHireBaseCost = 20000
}
}

View file

@ -0,0 +1,7 @@
@PART[*]:HAS[@MODULE[RealChuteModule]]:NEEDS[FerramAerospaceResearch]:FINAL
{
@MODULE[RealChuteModule]
{
%spareChutes = -1
}
}

View file

@ -0,0 +1,4 @@
@EXPERIMENT_DEFINITION:FINAL
{
%baseValue = #$scienceCap$
}

View file

@ -0,0 +1,43 @@
@ScienceConfigValuesNode:NEEDS[ScienceParamModifier]
{
@bodyDefaltConfigs
{
@Item:HAS[#bodyName[Kerbin]]
{
@adjustedParams
{
// to nerf the ksc biomes.
@landedData = 0.05 // 0.3
@splashedData = 0.2 // 0.4
@flyingLowData = 0.3 // 0.7
@flyingHighData = 0.5 // 0.9
@spaceLowData = 0.6 // 1
@spaceHighData = 1 // 2
}
}
@Item:HAS[#bodyName[Mun]]
{
@adjustedParams
{
@landedData = 2 // 4
@splashedData = 1 // 1
@flyingLowData = 1 // 1
@flyingHighData = 1 // 1
@spaceLowData = 2 // 3
@spaceHighData = 1.5 // 2
}
}
@Item:HAS[#bodyName[Minmus]]
{
@adjustedParams
{
@landedData = 2 // 5
@splashedData = 1 // 1
@flyingLowData = 1 // 1
@flyingHighData = 1 // 1
@spaceLowData = 2 // 4
@spaceHighData = 2 // 2.5
}
}
}
}

View file

@ -0,0 +1,10 @@
//eva reports no longer biome senesitive, crew reports are.
@EXPERIMENT_DEFINITION:HAS[#id[crewReport]]:FINAL
{
@biomeMask = 31
}
@EXPERIMENT_DEFINITION:HAS[#id[evaReport]]:FINAL
{
@biomeMask = 7
}

View file

@ -0,0 +1,59 @@
//experiments whitch are just numbers should have the full reward for transmitting.
@PART[*]:HAS[@MODULE[ModuleScienceExperiment]]:FINAL
{
@MODULE[ModuleScienceExperiment]:HAS[#experimentID[atmosphereAnalysis]]
{
@xmitDataScalar = 1.0
}
@MODULE[ModuleScienceExperiment]:HAS[#experimentID[temperatureScan]]
{
@xmitDataScalar = 1.0
}
@MODULE[ModuleScienceExperiment]:HAS[#experimentID[gravityScan]]
{
@xmitDataScalar = 1.0
}
@MODULE[ModuleScienceExperiment]:HAS[#experimentID[barometerScan]]
{
@xmitDataScalar = 1.0
}
@MODULE[ModuleScienceExperiment]:HAS[#experimentID[seismicScan]]
{
@xmitDataScalar = 1.0
}
}
//DMagic Orbital
@PART[*]:HAS[@MODULE[DMModuleScienceAnimate]]:FINAL
{
@MODULE[DMModuleScienceAnimate]:HAS[#experimentID[atmosphereAnalysis]]
{
@xmitDataScalar = 1.0
}
@MODULE[DMModuleScienceAnimate]:HAS[#experimentID[temperatureScan]]
{
@xmitDataScalar = 1.0
}
@MODULE[DMModuleScienceAnimate]:HAS[#experimentID[gravityScan]]
{
@xmitDataScalar = 1.0
}
@MODULE[DMModuleScienceAnimate]:HAS[#experimentID[barometerScan]]
{
@xmitDataScalar = 1.0
}
@MODULE[DMModuleScienceAnimate]:HAS[#experimentID[seismicScan]]
{
@xmitDataScalar = 1.0
}
}

27
Balance/stock_tweaks.cfg Executable file
View file

@ -0,0 +1,27 @@
// Reduce the effective torque of all reaction wheels
@PART[*]:HAS[@MODULE[ModuleReactionWheel]]:FINAL
{
@MODULE[ModuleReactionWheel]
{
@PitchTorque *= 0.1
@YawTorque *= 0.1
@RollTorque *= 0.1
}
}
//Allow deflating inflatable heat sheield
@PART[InflatableHeatShield]:AFTER[Squad]
{
@MODULE[ModuleAnimateGeneric]
{
@allowAnimationWhileShielded = true
@disableAfterPlaying = false
}
}
//sometimes I want to use a probe core for the looks, but want to have SAS for my KOS scripts to use.
@PART[*]:HAS[@MODULE[ModuleCommand]]:FINAL
{
%MODULE[ModuleSAS]
{
%SASServiceLevel = 3
}
}