Skip to content

Commit

Permalink
Improve funding curve names
Browse files Browse the repository at this point in the history
  • Loading branch information
siimav committed Aug 16, 2024
1 parent ec9d66b commit 969abf7
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 59 deletions.
88 changes: 44 additions & 44 deletions GameData/RP-1/ProgramHandlerSettings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,44 @@ PROGRAMHANDLERSETTINGS
key = 3100 2 0 0
key = 3100.001 1 0 0
}
defaultFundingCurve = FlatFundingCurve
defaultFundingCurve = Flat
paymentCurves
{
version = 1
Keys
{
key = FlatFundingCurve
key = MildBackloadedFundingCurve
key = BackloadedFundingCurve
key = StrongBackloadedFundingCurve
key = FrontloadedFundingCurve
key = MidFundingCurve
key = MildFrontloadedFundingCurve
key = MildMidFundingCurve
key = BimodalBackloadedFundingCurve
key = SlowRampupCurve
key = MildRampupCurve
key = Flat
key = MildBackloaded
key = Backloaded
key = StrongBackloaded
key = Frontloaded
key = Mid
key = StrongMidloaded
key = StrongFrontloaded
key = BimodalBackloaded
key = SlowRampup
key = MildRampup
}
Values
{
VALUE // FlatFundingCurve
VALUE // Flat
{
key = 0.0 0.0 1.0 1.0
key = 1.0 1.0 1.0 0.8
key = 2 1.4 0.25 0.25
}

VALUE // MildBackloadedFundingCurve
VALUE // MildBackloaded
{
key = 0 0 0 0.66
key = 0.55 0.45 1.009091 1.009091
key = 0.65 0.57 1.26 1.26
key = 0.9 0.9 1.16 1.16
key = 1 1 0.7 0.7
key = 2 1.4 0.4 0.4
key = 0 0 0 0.66
key = 0.55 0.45 1.009091 1.009091
key = 0.65 0.57 1.26 1.26
key = 0.9 0.9 1.16 1.16
key = 1 1 0.7 0.7
key = 2 1.4 0.4 0.4
}

VALUE // BackloadedFundingCurve
VALUE // Backloaded
{
key = 0.0 0.0 0.6 0.6
key = 0.5 0.37 0.9 0.9
Expand All @@ -57,19 +57,19 @@ PROGRAMHANDLERSETTINGS
key = 2 1.4 0.25 0.25
}

VALUE // StrongBackloadedFundingCurve
VALUE // StrongBackloaded
{
key = 0 0 0.66 0.66
key = 0.5 0.33 0.8299999 0.8299999
key = 0.6 0.43 1.35 1.35
key = 0.7 0.6 1.85 1.85
key = 0.8 0.8 1.65 1.65
key = 0.9 0.93 1 1
key = 1 1 0.5499998 0.5499998
key = 2 1.4 0.4 0.4
key = 0 0 0.66 0.66
key = 0.5 0.33 0.8299999 0.8299999
key = 0.6 0.43 1.35 1.35
key = 0.7 0.6 1.85 1.85
key = 0.8 0.8 1.65 1.65
key = 0.9 0.93 1 1
key = 1 1 0.5499998 0.5499998
key = 2 1.4 0.4 0.4
}

VALUE // FrontloadedFundingCurve
VALUE // Frontloaded
{
key = 0.0 0.0 0.95 0.95
key = 0.25 0.33 2.05 2.05
Expand All @@ -79,15 +79,15 @@ PROGRAMHANDLERSETTINGS
key = 2 1.4 0.25 0.25
}

VALUE // MidFundingCurve
{
key = 0 0 0 0.67
key = 0.5 0.5 1.35 1.35
key = 1 1 0.69 0.69
key = 2 1.4 0.25 0.25
}
VALUE // Mid
{
key = 0 0 0 0.67
key = 0.5 0.5 1.35 1.35
key = 1 1 0.69 0.69
key = 2 1.4 0.25 0.25
}

VALUE // MildFrontloadedFundingCurve
VALUE // StrongMidloaded
{
key = 0 0 0 0.277
key = 0.15 0.0523 0.51 0.51
Expand All @@ -97,9 +97,9 @@ PROGRAMHANDLERSETTINGS
key = 1 1 0.39 0.39
key = 2 1.25 0.19 0.19
}

VALUE // MildMidFundingCurve
VALUE // StrongFrontloaded
{
key = 0 0 0.2575197 0.2575197
key = 0.1 0.04241252 0.644084 0.644084
Expand All @@ -115,7 +115,7 @@ PROGRAMHANDLERSETTINGS
key = 2 1.2 0.2 0.2
}

VALUE // BimodalBackloadedFundingCurve
VALUE // BimodalBackloaded
{
key = 0 0 0.75 0.75
key = 0.22 0.1425 0.675 0.675
Expand All @@ -126,7 +126,7 @@ PROGRAMHANDLERSETTINGS
key = 1 1 0.725 0.725
key = 2 1.4 0.25 0.25
}
VALUE // SlowRampupCurve
VALUE // SlowRampup
{
key = 0 0 0.5353503 0.5353503
key = 0.45 0.3023436 0.9159516 0.9159516
Expand All @@ -137,7 +137,7 @@ PROGRAMHANDLERSETTINGS
key = 1 1 0.5286162 0.5286162
key = 2 1.4 0.4 0.4
}
VALUE // MildRampupCurve
VALUE // MildRampup
{
key = 0 0 0.7840495 0.7840495
key = 0.3 0.2358488 0.8137624 0.8137624
Expand Down
30 changes: 15 additions & 15 deletions GameData/RP-1/Programs/Programs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete X-Planes (Mach 2 Supersonic) and X-Planes (Karman Line) contracts.
nominalDurationYears = 9
baseFunding = 800000
fundingCurve = BimodalBackloadedFundingCurve
fundingCurve = BimodalBackloaded
repDeltaOnCompletePerYearEarly = 130
repPenaltyPerYearLate = 130
slots = 2
Expand Down Expand Up @@ -71,7 +71,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete Karman Line, Reach a Suborbital Trajectory & Return (uncrewed), and Downrange Milestone (5000 km) contracts.
nominalDurationYears = 6
baseFunding = 210000
fundingCurve = SlowRampupCurve
fundingCurve = SlowRampup
repDeltaOnCompletePerYearEarly = 45
repPenaltyPerYearLate = 45
slots = 2
Expand Down Expand Up @@ -105,7 +105,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete Karman Line, Film Return, Bio Return, and Advanced Bio Return contracts.
nominalDurationYears = 6
baseFunding = 210000
fundingCurve = SlowRampupCurve
fundingCurve = SlowRampup
repDeltaOnCompletePerYearEarly = 45
repPenaltyPerYearLate = 45
slots = 2
Expand Down Expand Up @@ -158,7 +158,7 @@ RP0_PROGRAM
objectivesPrettyText = Launch the first satellite, a science sat, an atmospheric analysis sat, the first sat in a polar orbit, and the first solar powered sat.
nominalDurationYears = 4
baseFunding = 532000
fundingCurve = MildBackloadedFundingCurve
fundingCurve = MildBackloaded
repDeltaOnCompletePerYearEarly = 140
repPenaltyPerYearLate = 140
slots = 2
Expand Down Expand Up @@ -305,7 +305,7 @@ RP0_PROGRAM
objectivesPrettyText = Launch satellites to photograph the Earth, analyze weather, measure solar wind and cosmic rays, and determine the extent of the magnetosphere.
nominalDurationYears = 4
baseFunding = 560000
fundingCurve = MildRampupCurve
fundingCurve = MildRampup
repDeltaOnCompletePerYearEarly = 145
repPenaltyPerYearLate = 145
slots = 1
Expand Down Expand Up @@ -353,7 +353,7 @@ RP0_PROGRAM
objectivesPrettyText = Launch the first commercial-use satellites and build a satellite communication network.
nominalDurationYears = 4
baseFunding = 560000
fundingCurve = MildRampupCurve
fundingCurve = MildRampup
repDeltaOnCompletePerYearEarly = 145
repPenaltyPerYearLate = 145
slots = 1
Expand Down Expand Up @@ -453,7 +453,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete the Geostationary Communications Network.
nominalDurationYears = 2
baseFunding = 700000
fundingCurve = MildBackloadedFundingCurve
fundingCurve = MildBackloaded
repDeltaOnCompletePerYearEarly = 420
repPenaltyPerYearLate = 420
slots = 2
Expand Down Expand Up @@ -496,7 +496,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete a Geostationary or Molniya Communications Network.
nominalDurationYears = 3
baseFunding = 800000
fundingCurve = MildBackloadedFundingCurve
fundingCurve = MildBackloaded
repDeltaOnCompletePerYearEarly = 270
repPenaltyPerYearLate = 270
slots = 2
Expand Down Expand Up @@ -601,7 +601,7 @@ RP0_PROGRAM
objectivesPrettyText = Land probes on the Moon.
nominalDurationYears = 5
baseFunding = 1375000
fundingCurve = MildBackloadedFundingCurve
fundingCurve = MildBackloaded
repDeltaOnCompletePerYearEarly = 315
repPenaltyPerYearLate = 315
repToConfidence = 3
Expand Down Expand Up @@ -646,7 +646,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete the program by successfully docking 2 craft.
nominalDurationYears = 8
baseFunding = 5200000
fundingCurve = BackloadedFundingCurve
fundingCurve = Backloaded
repDeltaOnCompletePerYearEarly = 895
repPenaltyPerYearLate = 895
repToConfidence = 3
Expand Down Expand Up @@ -704,7 +704,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete the program by putting an astronaut into orbit and returning them.
nominalDurationYears = 4
baseFunding = 1200000
fundingCurve = MildBackloadedFundingCurve
fundingCurve = MildBackloaded
repDeltaOnCompletePerYearEarly = 315
repPenaltyPerYearLate = 315
repToConfidence = 3
Expand Down Expand Up @@ -760,7 +760,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete the program by successfully docking 2 craft.
nominalDurationYears = 4
baseFunding = 2200000
fundingCurve = MildBackloadedFundingCurve
fundingCurve = MildBackloaded
repDeltaOnCompletePerYearEarly = 575
repPenaltyPerYearLate = 575
repToConfidence = 3
Expand Down Expand Up @@ -807,7 +807,7 @@ RP0_PROGRAM
objectivesPrettyText = Complete the program by successfully docking a spaceplane to another vessel in orbit.
nominalDurationYears = 10
baseFunding = 4000000
fundingCurve = BackloadedFundingCurve
fundingCurve = Backloaded
repDeltaOnCompletePerYearEarly = 605
repPenaltyPerYearLate = 605
repToConfidence = 3
Expand Down Expand Up @@ -852,7 +852,7 @@ RP0_PROGRAM
objectivesPrettyText = Orbit Venus and Mars.
nominalDurationYears = 7
baseFunding = 2100000
fundingCurve = FrontloadedFundingCurve
fundingCurve = Frontloaded
repDeltaOnCompletePerYearEarly = 390
repPenaltyPerYearLate = 390
slots = 2
Expand Down Expand Up @@ -898,7 +898,7 @@ RP0_PROGRAM
objectivesPrettyText = Send crew to flyby, orbit, and land on the Moon.
nominalDurationYears = 12
baseFunding = 15720000
fundingCurve = MildMidFundingCurve
fundingCurve = StrongFrontloaded
repDeltaOnCompletePerYearEarly = 1060
repPenaltyPerYearLate = 1060
repToConfidence = 3
Expand Down

0 comments on commit 969abf7

Please sign in to comment.