Skip to content

Commit

Permalink
Showing 23 changed files with 284 additions and 226 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
CONTRACT_TYPE
{
name = RepeatComSats
title = Communications Satellite
title = Commercial Communications Satellite
group = AdvSatellites
agent = Satellites

description = Add to your Communications Network. Design and launch a satellite into an orbit with the proper orbital parameters as outlined in the contract.\n\nThis contract can be completed as many times as you would like. The orbits will be randomly from Tundra, Geostationary, Molniya and Geosynchronous orbits.
description = We have a customer requesting a new Communications Satellite. Design a satellite within their specs and launch into an orbit with the proper orbital parameters as outlined in the contract.\n\nThis contract can be completed as many times as you would like. The orbits will be chosen randomly from Tundra, Geostationary, Molniya and Geosynchronous orbits.\n\n<b><color=red>NOTE: The satellite will be destroyed upon completion of the contract. This simulates transfer of the payload back to the customer.</color></b>

synopsis = Add a satellite to your Communications Network
synopsis = Launch a new Commercial Communications Satellite

completedMessage = Congratulations! The new satellite will increase our overall communication coverage!
completedMessage = Congratulations! The customer has reported the satellite is in the proper orbit.

sortKey = 900

@@ -24,10 +24,8 @@ CONTRACT_TYPE

targetBody = HomeWorld()



prestige = Trivial // 1.0x
advanceFunds = (12000 + (@AdvComSat/HasComSatPayload/minQuantity)) * (1 + Max(@AdvComSat/ReachSpecificOrbit/index, 1) * 0.4)
advanceFunds = (12000 + ((@AdvComSat/HasComSatPayload/minQuantity)*2)) * (1 + Max(@AdvComSat/ReachSpecificOrbit/index, 1) * 0.4)
rewardScience = 0
rewardReputation = Round(1 + (@advanceFunds / 500))
rewardFunds = (@advanceFunds * 1.33)
@@ -93,8 +91,9 @@ CONTRACT_TYPE
{
name = AdvComSat
type = VesselParameterGroup
title = Communications Satellite
defineList = AdvComSat
define = AdvComSatellite
dissassociateVesselsOnContractCompletion = true
title = Commercial Communications Satellite

PARAMETER
{
@@ -117,7 +116,7 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = Round(Pow(Random(0.5,1.5) * (0.3 + UnlockedTech().Count() / 100),2)*2500,1)
minQuantity = Round((Pow(Random(0.5,1.5) * (0.3 + UnlockedTech().Count() / 100),2)*2500)/2,1)
title = Have a ComSatPayload of at least @minQuantity units on the craft
}
PARAMETER
@@ -140,6 +139,12 @@ CONTRACT_TYPE
completionText = Stable Orbit: Confirmed
}
}

}
BEHAVIOUR
{
name = TransferVessel
type = DestroyVessel
onState = CONTRACT_SUCCESS
vessel = AdvComSatellite
}
}
Original file line number Diff line number Diff line change
@@ -108,8 +108,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 625
title = Have a ComSatPayload of at least 625 units on the craft
minQuantity = 315
title = Have a ComSatPayload of at least 315 units on the craft
}
PARAMETER
{
@@ -165,8 +165,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 625
title = Have a ComSatPayload of at least 625 units on the craft
minQuantity = 315
title = Have a ComSatPayload of at least 315 units on the craft
}
PARAMETER
{
@@ -222,8 +222,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 625
title = Have a ComSatPayload of at least 625 units on the craft
minQuantity = 315
title = Have a ComSatPayload of at least 315 units on the craft
}
PARAMETER
{
@@ -279,8 +279,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 625
title = Have a ComSatPayload of at least 625 units on the craft
minQuantity = 315
title = Have a ComSatPayload of at least 315 units on the craft
}
PARAMETER
{
266 changes: 133 additions & 133 deletions GameData/RP-0/Contracts/Advanced Satellites/IridiumNEXT.cfg

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
CONTRACT_TYPE
{
name = EarlyComSat
title = Communications Satellite (Early)
title = Commercial Communications Satellite (Early)
group = EarlySatellites


description = Now that we have tested out the Communications Satellite Technology, there are many uses we have for these Satellites. Launch a new communications Satellite into the specified orbit.\n\n<b><color=white>NOTE: You can not select this contract and the Communications Satellite (Advanced) contract. If you select the other contract while this is active, this will automatically fail.</color></b>
description = Now that we have tested out the Communications Satellite Technology, there are many uses we have for these Satellites. We have a customer that is requesting a new satellite. Launch a new communications Satellite into the specified orbit.\n\n<b><color=red>NOTE: The satellite will be destroyed upon completion of the contract. This simulates transfer of the payload back to the customer.</color></b><b><color=white>Removal Condition: Completion of a Commercial Communications Satellite contract</color></b>

synopsis = Launch a Communications Satellite
synopsis = Launch a Communications Satellite for a customer.

completedMessage = Success! The communications satellite was launched into the proper orbit. The intial shakeout tests have gone well.
completedMessage = Success! The communications satellite was launched into the proper orbit. Your customer is very happy.

sortKey = 499

@@ -27,10 +27,10 @@ CONTRACT_TYPE

// ************ REWARDS ************
prestige = Trivial // 1.0x
advanceFunds = 5000 + @EarlyComSat/HasComSatPayload/minQuantity
advanceFunds = 5000 + (@EarlyComSat/HasComSatPayload/minQuantity * 2)
rewardScience = 0
rewardReputation = 5
rewardFunds = 10000.0 + (((@EarlyComSat/Orbit/minPeA)+(@EarlyComSat/Orbit/minApA))/2)*0.005 + @EarlyComSat/HasComSatPayload/minQuantity
rewardFunds = 10000.0 + (((@EarlyComSat/Orbit/minPeA)+(@EarlyComSat/Orbit/minApA))/2)*0.005 + (@EarlyComSat/HasComSatPayload/minQuantity * 2)
failureReputation = 2
failureFunds = @advanceFunds * 1.5

@@ -59,6 +59,8 @@ CONTRACT_TYPE
{
name = EarlyComSat
type = VesselParameterGroup
define = EarlyComSatellite
dissassociateVesselsOnContractCompletion = true
title = Communications Satellite (Early)

PARAMETER
@@ -91,7 +93,7 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = Round(Random(300,1000),1)
minQuantity = Round(Random(150,500),1)
title = Have a ComSatPayload of at least @minQuantity units on the craft
}
PARAMETER
@@ -118,4 +120,11 @@ CONTRACT_TYPE
}
}
}
BEHAVIOUR
{
name = TransferVessel
type = DestroyVessel
onState = CONTRACT_SUCCESS
vessel = EarlyComSatellite
}
}
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@ CONTRACT_TYPE
group = EarlySatellites


description = We want to continue improving our knowledge of how communications work in space. Launch a new communications test satellite into the proper orbit. Be sure to include solar panels to generate power.\n\n<b><color=white>NOTE: You can not select this contract and the Communications Satellite (Early) contract. If you select the other contract while this is active, this will automatically fail.</color></b>
description = There are groups that want to understand more about communications with satellites. Launch a new communications test satellite into the proper orbit. Be sure to include solar panels to generate power.\n\n<b><color=red>NOTE: The satellite will be destroyed upon completion of the contract. This simulates transfer of the payload back to the customer.</color></b>\n\n<b><color=white>Removal Condition: Completion of a Communications Satellite (Early) contract</b></color>

synopsis = Launch a Communications Satellite
synopsis = Launch a Communications Test Satellite

completedMessage = Success! We are learning more about space communications with every launch.

@@ -30,7 +30,7 @@ CONTRACT_TYPE
advanceFunds = 5000
rewardScience = 0
rewardReputation = 5
rewardFunds = 10000.0 + @TestComSat/Orbit/minPeA*0.005 + @TestComSat/HasComSatPayload/minQuantity
rewardFunds = 10000.0 + @TestComSat/Orbit/minPeA*0.005 + (@TestComSat/HasComSatPayload/minQuantity)*2
failureReputation = 2
failureFunds = @advanceFunds * 1.5

@@ -58,7 +58,9 @@ CONTRACT_TYPE
{
name = TestComSat
type = VesselParameterGroup
title = First Communications Satellite
define = TestComSatellite
dissassociateVesselsOnContractCompletion = true
title = Communications Test Satellite

PARAMETER
{
@@ -90,7 +92,7 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = Round(Random(150,250),1)
minQuantity = Round(Random(75,125),1)
title = Have a ComSatPayload of at least @minQuantity units on the craft
}
PARAMETER
@@ -117,4 +119,12 @@ CONTRACT_TYPE
}
}
}

BEHAVIOUR
{
name = TransferVessel
type = DestroyVessel
onState = CONTRACT_SUCCESS
vessel = TestComSatellite
}
}
Original file line number Diff line number Diff line change
@@ -96,8 +96,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 250
title = Have a ComSatPayload of at least 250 units on the craft
minQuantity = 125
title = Have a ComSatPayload of at least 125 units on the craft
}
PARAMETER
@@ -148,8 +148,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 250
title = Have a ComSatPayload of at least 250 units on the craft
minQuantity = 125
title = Have a ComSatPayload of at least 125 units on the craft
}
PARAMETER
@@ -200,8 +200,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 250
title = Have a ComSatPayload of at least 250 units on the craft
minQuantity = 125
title = Have a ComSatPayload of at least 125 units on the craft
}
PARAMETER
Original file line number Diff line number Diff line change
@@ -101,8 +101,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 250
title = Have a ComSatPayload of at least 250 units on the craft
minQuantity = 125
title = Have a ComSatPayload of at least 125 units on the craft
}
PARAMETER
@@ -161,8 +161,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 250
title = Have a ComSatPayload of at least 250 units on the craft
minQuantity = 125
title = Have a ComSatPayload of at least 125 units on the craft
}
PARAMETER
@@ -221,8 +221,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 250
title = Have a ComSatPayload of at least 250 units on the craft
minQuantity = 125
title = Have a ComSatPayload of at least 125 units on the craft
}
PARAMETER
@@ -281,8 +281,8 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = 250
title = Have a ComSatPayload of at least 250 units on the craft
minQuantity = 125
title = Have a ComSatPayload of at least 125 units on the craft
}
PARAMETER
6 changes: 3 additions & 3 deletions GameData/RP-0/Contracts/Early Satellites/First Com Sat.cfg
Original file line number Diff line number Diff line change
@@ -26,8 +26,8 @@ CONTRACT_TYPE


// ************ REWARDS ************
prestige = Trivial // 1.0x
advanceFunds = 5000
prestige = Trivial
advanceFunds = 5000 + (@FirstComSat/HasComSatPayload/minQuantity * 2)
rewardScience = 0
rewardReputation = 5
rewardFunds = 15000
@@ -81,7 +81,7 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = Round(Random(150,170),1)
minQuantity = Round(Random(75,85),1)
title = Have a ComSatPayload of at least @minQuantity units on the craft
}
PARAMETER
2 changes: 1 addition & 1 deletion GameData/RP-0/Contracts/Early Satellites/First Nav Sat.cfg
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ CONTRACT_TYPE

// ************ REWARDS ************
prestige = Trivial // 1.0x
advanceFunds = 5000
advanceFunds = 5000 + (@FirstNavSat/HasNavSatPayload/minQuantity * 2)
rewardScience = 0
rewardReputation = 5
rewardFunds = 10000
6 changes: 3 additions & 3 deletions GameData/RP-0/Contracts/Early Satellites/Geostationary.cfg
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ CONTRACT_TYPE
// ************ REWARDS ************
prestige = Significant // 1.25x
advanceFunds = 10000
advanceFunds = 10000 + (@GeostationarySat/HasComSatPayload/minQuantity * 4)
rewardScience = 0
rewardReputation = 20
rewardFunds = 50000
@@ -46,7 +46,7 @@ CONTRACT_TYPE
PARAMETER
{
name = VesselGroup
name = GeostationarySat
type = VesselParameterGroup
title = Geostationary Satellite
define = Geostationary
@@ -72,7 +72,7 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = Round(Random(10,50),1)
minQuantity = Round(Random(5,25),1)
title = Have a ComSatPayload of at least @minQuantity units on the craft
}
PARAMETER
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ CONTRACT_TYPE
advanceFunds = 7500
rewardScience = 0
rewardReputation = 5
rewardFunds = 20000 + @VesselGroup/HasComSatPayload/minQuantity
rewardFunds = 20000 + (@VesselGroup/HasComSatPayload/minQuantity * 2)
failureReputation = 2
failureFunds = @advanceFunds * 1.5

@@ -93,7 +93,7 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = Round(Random(150,250),1)
minQuantity = Round(Random(75,125),1)
title = Have a ComSatPayload of at least @minQuantity units on the craft
}
PARAMETER
4 changes: 2 additions & 2 deletions GameData/RP-0/Contracts/Early Satellites/Tundra Satellite.cfg
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ CONTRACT_TYPE
advanceFunds = 10000
rewardScience = 0
rewardReputation = 10
rewardFunds = 35000 + (@VesselGroup/HasComSatPayload/minQuantity * 2)
rewardFunds = 35000 + (@VesselGroup/HasComSatPayload/minQuantity * 4)
failureReputation = 5
failureFunds = @advanceFunds * 1.5
@@ -94,7 +94,7 @@ CONTRACT_TYPE
name = HasComSatPayload
type = HasResource
resource = ComSatPayload
minQuantity = Round(Random(38,125),1)
minQuantity = Round(Random(20,63),1)
title = Have a ComSatPayload of at least @minQuantity units on the craft
}
PARAMETER
4 changes: 2 additions & 2 deletions GameData/RP-0/Contracts/Nav Sats/Early Nav Sats.cfg
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@ CONTRACT_TYPE
group = NavSats


description = Our engineers are once again requesting a new navigational satellite test article. Please place one into the proper orbit around Earth. This contract can be completed up to 4 times.
description = Our engineers are once again requesting a new navigational satellite test article. Please place one into the proper orbit around Earth. This contract can be completed up to 4 times.<b><color=white>Removal Condition: Completion of a Operational Navigation System contract</color></b>

synopsis = Launch a navigational satellite into the proper orbit

completedMessage = Success! We are getting more Doppler curves to refine our navigation algorithms.
completedMessage = Success! We are getting more Doppler curves to refine our navigation algorithms.

sortKey = 550

2 changes: 1 addition & 1 deletion GameData/RP-0/Contracts/Nav Sats/Operational Nav Sats.cfg
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ CONTRACT_TYPE

synopsis = Launch a constellation of 5 Navigational Satellites

completedMessage = Congratulations! All the satellites are operational and giving good fixes.
completedMessage = Congratulations! All the satellites are operational and giving good fixes.

sortKey = 551

4 changes: 2 additions & 2 deletions GameData/RP-0/Contracts/Nav Sats/Second-Gen Nav Sats.cfg
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@ CONTRACT_TYPE
group = NavSats


description = A more accurate technique for satellite navigation is to use Time-Difference Of Arrival of pulsed radio signals. Please place a new test navigational satellite into the proper orbit around Earth. This contract can be completed up to 3 times. <b><color=red>Note that these TDOA satellites use ComSatPayload rather than NavSatPayload.</color></b>
description = A more accurate technique for satellite navigation is to use Time-Difference Of Arrival of pulsed radio signals. Please place a new test navigational satellite into the proper orbit around Earth. This contract can be completed up to 3 times. <b><color=red>Note that these TDOA satellites use ComSatPayload rather than NavSatPayload.</color></b>

synopsis = Launch a navigational satellite into the proper orbit

completedMessage = Success! The accuracy is so good we found errors in existing geodetic surveys.
completedMessage = Success! The accuracy is so good we found errors in existing geodetic surveys.

sortKey = 552

12 changes: 6 additions & 6 deletions GameData/RP-0/Contracts/RP0_Contract_Resources.cfg
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ RESOURCE_DEFINITION
{
name = SoundingPayload
density = 0.0005
unitCost = 0.05
unitCost = 0.0
flowMode = NO_FLOW
transfer = NONE
isTweakable = true
@@ -13,8 +13,8 @@ RESOURCE_DEFINITION
RESOURCE_DEFINITION
{
name = ComSatPayload
density = 0.0004
unitCost = 0.05
density = 0.0008
unitCost = 0.0
flowMode = NO_FLOW
transfer = NONE
isTweakable = true
@@ -25,8 +25,8 @@ RESOURCE_DEFINITION
RESOURCE_DEFINITION
{
name = WeatherSatPayload
density = 0.0004
unitCost = 0.05
density = 0.0008
unitCost = 0.0
flowMode = NO_FLOW
transfer = NONE
isTweakable = true
@@ -38,7 +38,7 @@ RESOURCE_DEFINITION
{
name = NavSatPayload
density = 0.00012
unitCost = 0.1
unitCost = 0.0
flowMode = NO_FLOW
transfer = NONE
isTweakable = true
6 changes: 3 additions & 3 deletions GameData/RP-0/Contracts/SCANSat.cfg
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@

@deadline = 365 * @/targetBody1.Multiplier() // 1 year * mult

@advanceFunds = Random(1000, 3000.0) + 5000.0 * @/targetBody1.Multiplier()
@advanceFunds = Random(1000, 3000.0) + 5000.0 * (@/targetBody1.Multiplier() / 2)
@rewardFunds = @advanceFunds
@failureFunds = @advanceFunds * 1.5

@@ -34,7 +34,7 @@

@deadline = 365 * @/targetBody3.Multiplier() // 1 year * mult

@advanceFunds = Random(5000, 10000.0) + 10000.0 * @/targetBody3.Multiplier()
@advanceFunds = Random(5000, 10000.0) + 10000.0 * (@/targetBody3.Multiplier() / 2)
@rewardFunds = @advanceFunds
@failureFunds = @advanceFunds * 1.5

@@ -59,7 +59,7 @@

@deadline = 365 * @/targetBody2.Multiplier() // 1 year * mult

@advanceFunds = Random(5000, 10000.0) + 10000.0 * @/targetBody2.Multiplier()
@advanceFunds = Random(5000, 10000.0) + 10000.0 * (@/targetBody2.Multiplier() / 2)
@rewardFunds = @advanceFunds
@failureFunds = @advanceFunds * 1.5

17 changes: 13 additions & 4 deletions GameData/RP-0/Contracts/Weather Sats/Early Weather Sats.cfg
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@ CONTRACT_TYPE
group = WeatherSats


description = Our scientists are once again requesting a new weather satellite. Please place one into the proper orbit to observe Earth. This contract can be completed up to 6 times.<b><color=white>NOTE: You can not select this contract and the Second Generation Weather Sat contract. If you select the other contract while this is active, this will automatically fail.</color></b>
description = Our scientists are once again requesting a new weather satellite. Please place one into the proper orbit to observe Earth. This contract can be completed up to 6 times.\n\n<b><color=red>NOTE: The satellite will be destroyed upon completion of the contract. This simulates transfer of the payload back to the customer.</color></b>\n\n<b><color=white>Removal Condition: Completion of a Second Generation Weather Satellite contract.\nNOTE: You can not select this contract and the Second Generation Weather Sat contract. If you select the other contract while this is active, this will automatically fail.</color></b>

synopsis = Launch a weather satellite into the proper orbit

completedMessage = Success! The metorologists on Earth are thrilled with the results.
completedMessage = Success! The meteorologists on Earth are thrilled with the results.

sortKey = 501

@@ -30,7 +30,7 @@ CONTRACT_TYPE
advanceFunds = 15000
rewardScience = 0
rewardReputation = 10
rewardFunds = 5000
rewardFunds = 5000 + @EarlyWeatherSat/HasWeatherSatPayload/minQuantity * 4
failureReputation = 10
failureFunds = @advanceFunds * 1.5

@@ -58,6 +58,8 @@ CONTRACT_TYPE
{
name = EarlyWeatherSat
type = VesselParameterGroup
define = EarlyWeatherSatellite
dissassociateVesselsOnContractCompletion = true
title = Early Weather Satellite

PARAMETER
@@ -81,7 +83,7 @@ CONTRACT_TYPE
name = HasWeatherSatPayload
type = HasResource
resource = WeatherSatPayload
minQuantity = Round(Random(25,100),1)
minQuantity = Round(Random(12,50),1)
title = Have a WeatherSatPayload of at least @minQuantity units on the craft
}
PARAMETER
@@ -109,4 +111,11 @@ CONTRACT_TYPE
}
}
}
BEHAVIOUR
{
name = TransferVessel
type = DestroyVessel
onState = CONTRACT_SUCCESS
vessel = EarlyWeatherSatellite
}
}
4 changes: 2 additions & 2 deletions GameData/RP-0/Contracts/Weather Sats/First Weather Sat.cfg
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ CONTRACT_TYPE
advanceFunds = 10000
rewardScience = 0
rewardReputation = 10
rewardFunds = 5000
rewardFunds = 5000 + @FirstWeatherSat/HasWeatherSatPayload/minQuantity * 4
failureReputation = 10
failureFunds = @advanceFunds * 1.5

@@ -72,7 +72,7 @@ CONTRACT_TYPE
name = HasWeatherSatPayload
type = HasResource
resource = WeatherSatPayload
minQuantity = Round(Random(10,50),1)
minQuantity = Round(Random(5,25),1)
title = Have a WeatherSatPayload of at least @minQuantity units on the craft
}
PARAMETER
20 changes: 14 additions & 6 deletions GameData/RP-0/Contracts/Weather Sats/Geostationary Weather Sat.cfg
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ CONTRACT_TYPE
title = Geostationary Weather Satellite
group = WeatherSats

description = Geostationary satellites provide the best views of the clouds in specific areas for our meteorologists. Place a weather satellite in geostationary orbit near the marked area. This contract can be completed up to 6 times.
description = Geostationary satellites provide the best views of the clouds in specific areas for our meteorologists. Place a weather satellite in geostationary orbit near the marked area. This contract can be completed up to 6 times.\n\n<b><color=red>NOTE: The satellite will be destroyed upon completion of the contract. This simulates transfer of the payload back to the customer.</color></b>

synopsis = Launch a geostationary weather satellite to the marked area

@@ -24,10 +24,10 @@ CONTRACT_TYPE
targetBody = HomeWorld()

prestige = Significant // 1.25x
advanceFunds = (12500 * Pow(1 + (@GEOWeather/HasWeatherSatPayload/minQuantity / 1000), 1.25)) / 2
advanceFunds = (12500 * Pow(1 + ((@GEOWeather/HasWeatherSatPayload/minQuantity * 2) / 1000), 1.25)) / 2
rewardScience = 0
rewardReputation = 15
rewardFunds = 12500 * Pow(1 + (@GEOWeather/HasWeatherSatPayload/minQuantity / 1000), 1.25)
rewardFunds = 12500 * Pow(1 + ((@GEOWeather/HasWeatherSatPayload/minQuantity * 2) / 1000), 1.25)
failureReputation = 15
failureFunds = @advanceFunds * 1.5

@@ -55,8 +55,9 @@ CONTRACT_TYPE
{
name = GEOWeather
type = VesselParameterGroup
define = GEOWeatherSatellite
dissassociateVesselsOnContractCompletion = true
title = Geostationary Weather Satellite
defineList = GEOWeather

PARAMETER
{
@@ -79,7 +80,7 @@ CONTRACT_TYPE
name = HasWeatherSatPayload
type = HasResource
resource = WeatherSatPayload
minQuantity = Round(Random(500,1650),1)
minQuantity = Round(Random(250,825),1)
title = Have a WeatherSatPayload of at least @minQuantity units on the craft
}
PARAMETER
@@ -91,7 +92,7 @@ CONTRACT_TYPE
minPeriod = 23h 54m
maxPeriod = 23h 58m
disableOnStateChange = true
title = Acheive a Geostationary orbit within the stated parameters near the waypoint
title = Achieve a Geostationary orbit within the stated parameters near the waypoint
}
PARAMETER
{
@@ -128,4 +129,11 @@ CONTRACT_TYPE
forceEquatorial = true
}
}
BEHAVIOUR
{
name = TransferVessel
type = DestroyVessel
onState = CONTRACT_SUCCESS
vessel = GEOWeatherSatellite
}
}
17 changes: 13 additions & 4 deletions GameData/RP-0/Contracts/Weather Sats/Second Gen Weather Sats.cfg
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@ CONTRACT_TYPE
group = WeatherSats


description = Our experience has given us a better understanding of the best orbits to use for weather satellites. Please launch a new weather satellite into the proper orbit that is sun synchronous.\n\nRemember that Sun Synchronous orbits are slightly retrograde.<b><color=white>NOTE: You can not select this contract and the Geostationary Weather contract. If you select the other contract while this is active, this will automatically fail.</color></b>
description = Our experience has given us a better understanding of the best orbits to use for weather satellites. Please launch a new weather satellite into the proper orbit that is sun synchronous. Remember that Sun Synchronous orbits are slightly retrograde.\n\n<b><color=red>NOTE: The satellite will be destroyed upon completion of the contract. This simulates transfer of the payload back to the customer.</color></b>\n\n<b><color=white>Removal Condition: Completion of a Geostationary Weather Satellite contract.\nNOTE: You can not select this contract and the Geostationary Weather contract. If you select the other contract while this is active, this will automatically fail.</color></b>

synopsis = Launch a new weather satellite into the proper orbit

completedMessage = Success! The metorologists on Earth are thrilled with the results.
completedMessage = Success! The meteorologists on Earth are thrilled with the results.

sortKey = 502

@@ -30,7 +30,7 @@ CONTRACT_TYPE
advanceFunds = 15000
rewardScience = 0
rewardReputation = 10
rewardFunds = 10000 + @SecondGenWeather/HasWeatherSatPayload/minQuantity * 2
rewardFunds = 10000 + @SecondGenWeather/HasWeatherSatPayload/minQuantity * 4
failureReputation = 10
failureFunds = @advanceFunds * 1.5

@@ -66,6 +66,8 @@ CONTRACT_TYPE
{
name = SecondGenWeather
type = VesselParameterGroup
define = SecondGenWeatherSatellite
dissassociateVesselsOnContractCompletion = true
title = Second Generation Weather Satellite

PARAMETER
@@ -89,7 +91,7 @@ CONTRACT_TYPE
name = HasWeatherSatPayload
type = HasResource
resource = WeatherSatPayload
minQuantity = Round(Random(100,400),1)
minQuantity = Round(Random(50,200),1)
title = Have a WeatherSatPayload of at least @minQuantity units on the craft
}
PARAMETER
@@ -117,4 +119,11 @@ CONTRACT_TYPE
}
}
}
BEHAVIOUR
{
name = TransferVessel
type = DestroyVessel
onState = CONTRACT_SUCCESS
vessel = SecondGenWeatherSatellite
}
}
20 changes: 14 additions & 6 deletions GameData/RP-0/Contracts/Weather Sats/Sun Sync Weather Sats.cfg
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@ CONTRACT_TYPE
group = WeatherSats


description = Polar orbiting weather satellites are launched in sun-syncronous orbits that allow them to observe the same area on Earth twice a day with the same general lighting. The images they can return are of much higher resolution than geostationary satellites because their orbit is much lower. Launch a sun-synchronous weather satellite into the proper orbit.
description = Polar orbiting weather satellites are launched in sun-synchronous orbits that allow them to observe the same area on Earth twice a day with the same general lighting. The images they can return are of much higher resolution than geostationary satellites because their orbit is much lower. Launch a sun-synchronous weather satellite into the proper orbit. Remember that Sun Synchronous orbits are slightly retrograde.\n\n<b><color=red>NOTE: The satellite will be destroyed upon completion of the contract. This simulates transfer of the payload back to the customer.</color></b>

synopsis = Luanch a sun-synchronous weather satellite
synopsis = Launch a sun-synchronous weather satellite

completedMessage = Success! The quality of the images returned are great!

@@ -27,10 +27,10 @@ CONTRACT_TYPE


prestige = Significant // 1.25x
advanceFunds = (7000 * Pow(1 + (@SunSyncWeather/HasWeatherSatPayload/minQuantity / 1000), 1.25)) / 2
advanceFunds = (7000 * Pow(1 + ((@SunSyncWeather/HasWeatherSatPayload/minQuantity * 2) / 1000), 1.25)) / 2
rewardScience = 0
rewardReputation = 10
rewardFunds = 7000 * Pow(1 + (@SunSyncWeather/HasWeatherSatPayload/minQuantity / 1000), 1.25)
rewardFunds = 7000 * Pow(1 + ((@SunSyncWeather/HasWeatherSatPayload/minQuantity * 2) / 1000), 1.25)
failureReputation = 10
failureFunds = @advanceFunds * 1.5

@@ -79,8 +79,9 @@ CONTRACT_TYPE
{
name = SunSyncWeather
type = VesselParameterGroup
define = SunSyncWeatherSatellite
dissassociateVesselsOnContractCompletion = true
title = Sun Synchronous Weather Satellite
defineList = SunSyncWeather

PARAMETER
{
@@ -103,7 +104,7 @@ CONTRACT_TYPE
name = HasWeatherSatPayload
type = HasResource
resource = WeatherSatPayload
minQuantity = Round(Random(500,1000),1)
minQuantity = Round(Random(250,500),1)
title = Have a WeatherSatPayload of at least @minQuantity units on the craft
}
PARAMETER
@@ -127,4 +128,11 @@ CONTRACT_TYPE
}
}
}
BEHAVIOUR
{
name = TransferVessel
type = DestroyVessel
onState = CONTRACT_SUCCESS
vessel = SunSyncWeatherSatellite
}
}
2 changes: 1 addition & 1 deletion GameData/RP-0/KCT_Presets/RP0_KCTPresets.cfg
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ KCT_Preset
}
Global_Variables
{
ModuleTagHumanRated = 1.5
ModuleTagHumanRated = 2
}
}
}

0 comments on commit f25be08

Please sign in to comment.