Skip to content

Commit

Permalink
Showing 2 changed files with 134 additions and 185 deletions.
127 changes: 127 additions & 0 deletions GameData/RP-0/Parts/RFProcTanks.cfg
Original file line number Diff line number Diff line change
@@ -28,6 +28,20 @@
untooledMultiplier = 0.25
finalToolingCostMultiplier = 0.375
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}
}

+PART[proceduralTankRealFuels]:FOR[RP-0]
@@ -61,6 +75,20 @@
finalToolingCostMultiplier = 0.5
costReducers = Tank-I
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}
}

+PART[proceduralTankRealFuels]:FOR[RP-0]
@@ -94,6 +122,20 @@
finalToolingCostMultiplier = 1
costReducers = Tank-I,SM-I
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}
}

+PART[proceduralTankRealFuels]:FOR[RP-0]
@@ -127,6 +169,20 @@
finalToolingCostMultiplier = 1.5
costReducers = Tank-III,Tank-III-Balloon
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}
}

+PART[proceduralTankRealFuels]:FOR[RP-0]
@@ -159,6 +215,21 @@
untooledMultiplier = 0.25
finalToolingCostMultiplier = 1.25
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}

}

+PART[proceduralTankRealFuels]:FOR[RP-0]
@@ -191,6 +262,20 @@
untooledMultiplier = 0.1
finalToolingCostMultiplier = 1.5
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}
}

+PART[proceduralTankRealFuels]:FOR[RP-0]
@@ -224,6 +309,20 @@
finalToolingCostMultiplier = 2
costReducers = SM-I
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}
}

+PART[proceduralTankRealFuels]:FOR[RP-0]
@@ -257,6 +356,20 @@
finalToolingCostMultiplier = 2.25
costReducers = SM-II
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}
}

+PART[proceduralTankRealFuels]:FOR[RP-0]
@@ -290,6 +403,20 @@
finalToolingCostMultiplier = 2.5
costReducers = SM-III
}
@MODULE[ProceduralPart]
{
!TECHLIMIT,* {}
TECHLIMIT
{
name = start
diameterMin = 0.01
diameterMax = Infinity
lengthMin = 0.01
lengthMax = Infinity
volumeMin = 0.001
volumeMax = Infinity
}
}
}

@PART[proceduralTankRealFuels]:FOR[zzzRP-0]
192 changes: 7 additions & 185 deletions GameData/RP-0/Tree/ProcSizes.cfg
Original file line number Diff line number Diff line change
@@ -14,13 +14,7 @@
!advConstruction = DEL
!specializedConstruction = DEL
!advMetalworks = DEL
%start = 2.0
%materialsScienceSatellite = 3.1
%materialsScienceHuman = 6.6 // allows Saturn I, use this instead of the 4.6m it "should" be
%materialsScienceAdvCapsules = 7.0
%materialsScienceLunar = 10.1
%materialsScienceSpaceStation = 16.0
%materialsScienceSpaceplanes = 50.0
%start = 50.0
}
@PROCROCKET_MINDIAMETER:FOR[RP-0]
{
@@ -36,83 +30,11 @@
!advConstruction = DEL
!specializedConstruction = DEL
!advMetalworks = DEL
%start = 2.0
%materialsScienceSatellite = 3.1
%materialsScienceHuman = 6.6 // allows Saturn I, use this instead of the 4.6m it "should" be
%materialsScienceAdvCapsules = 7.0
%materialsScienceLunar = 10.1
%materialsScienceSpaceStation = 16.0
%materialsScienceSpaceplanes = 50.0
%start = 50.0
}

!PART[pf_tech_fairing*]:FOR[RP-0] {}
!PART[pf_tech_rocket*]:FOR[RP-0] {}
PART
{
RP0conf = true
RSSROConfig = True
name = rp0_proc_size_3m
TechRequired = engineering101
description = Allows tank, thrust plate, fairing bases, and interstages up to 3.1m in diameter.

MODEL
{
model = ProceduralFairings/baseModel
}

title = Procedural Diameter Upgrade [3m]
module = Part
author = Starstrider42 (config), e-dog (model), NK (RP-0 changes)
entryCost = 0
cost = 0
category = none
manufacturer = Keramzit Engineering
}
+PART[rp0_proc_size_3m]:FIRST
{
@name = rp0_proc_size_4m
@TechRequired = basicConstruction
@title = Procedural Diameter Upgrade [6.6m]
@description = Allows tank, thrust plate, fairing bases, and interstages up to 4.6m in diameter.
}
// from here on the part names are wrong but descriptions are correct (left the names as they were for backwards compatibility)
+PART[rp0_proc_size_3m]:FIRST
{
@name = rp0_proc_size_5m
@TechRequired = generalConstruction
@title = Procedural Diameter Upgrade [7m]
@description = Allows tank, thrust plate, fairing bases, and interstages up to 7m in diameter.
}
+PART[rp0_proc_size_3m]:FIRST
{
@name = rp0_proc_size_7m
@TechRequired = advConstruction
@title = Procedural Diameter Upgrade [10.1m]
@description = Allows tank, thrust plate, fairing bases, and interstages up to 10.1m in diameter.
}
+PART[rp0_proc_size_3m]:FIRST
{
@name = rp0_proc_size_10m
@TechRequired = specializedConstruction
@title = Procedural Diameter Upgrade [16m]
@description = Allows tank, thrust plate, fairing bases, and interstages up to 16m in diameter.
}
+PART[rp0_proc_size_3m]:FIRST
{
@name = rp0_proc_size_50m
@TechRequired = advMetalworks
@title = Procedural Diameter Upgrade [50m]
@description = Allows tank, thrust plate, fairing bases, and interstages up to 50m in diameter.
}
// Change the model if we don't have PF but do have PP
@PART[RP0_proc_size*]:FOR[RP-0]:NEEDS[ProceduralParts&!ProceduralFairings]
{
@MODEL
{
@model = ProceduralParts/Parts/cylinderTank
}
}

// *** Proc Parts sizes
@PART[*]:HAS[@MODULE[ProceduralPart]]:BEFORE[RP-0] // to not collide with the tree
@@ -133,117 +55,17 @@ PART
{
name = start
diameterMin = 0.01
diameterMax = 2.0
lengthMin = 0.01
lengthMax = 15.0
volumeMin = 0.001
volumeMax = Infinity
}
TECHLIMIT
{
name = materialsScienceSatellite
diameterMax = 3.1
lengthMax = 30.0
volumeMax = Infinity
}
TECHLIMIT
{
name = materialsScienceHuman
diameterMax = 6.6
lengthMax = 60.0
volumeMax = Infinity
}
TECHLIMIT
{
name = materialsScienceAdvCapsules
diameterMax = 7
lengthMax = 80
volumeMax = Infinity
}
TECHLIMIT
{
name = materialsScienceLunar
diameterMax = 10.1
lengthMax = 100
volumeMax = Infinity
}
TECHLIMIT
{
name = materialsScienceSpaceStation
diameterMax = 16.0
lengthMax = 200
volumeMax = Infinity
}
TECHLIMIT
{
name = materialsScienceSpaceplanes
diameterMax = Infinity
lengthMax = Infinity
volumeMax = Infinity
}
}
}
@PART[proceduralSRBRealFuels]:FOR[RP-0]
{
@MODULE[ProceduralPart]
{
!TECHLIMIT,*
{}
TECHLIMIT
{
name = start // TL-1
diameterMin = 0.01
diameterMax = 0.2
lengthMin = 0.01
lengthMax = 2.0
volumeMin = 0.0001
volumeMax = Infinity
}
TECHLIMIT
{
name = solids1956 // TL0
diameterMax = 0.5
lengthMax = 4.0
volumeMax = Infinity
}
TECHLIMIT
{
name = solids1962 // TL1
diameterMax = 1.1
lengthMax = 10.0
volumeMax = Infinity
}
TECHLIMIT
{
name = solids1964 // TL2
diameterMax = 1.5
lengthMax = 20.0
volumeMax = Infinity
}
TECHLIMIT
{
name = solids1967 // TL3
diameterMax = 3.1
lengthMax = 50.0
volumeMax = Infinity
}
TECHLIMIT
{
name = solids1972 // TL4
diameterMax = 7.0
lengthMax = 60.0
volumeMax = Infinity
}
TECHLIMIT
{
name = solids1981 // TL5 solids
diameterMax = 11
lengthMax = 120
lengthMax = Infinity
volumeMin = Infinity
volumeMax = Infinity
}
// Some TL6-7 solids nodes? Haven't made them yet.
}
}

!PART[proceduralSRBRealFuels] {}

@PART[proceduralStackDecoupler]:FOR[RP-0]
{
@MODULE[ProceduralPart]

0 comments on commit c63d2cf

Please sign in to comment.