Skip to content

Commit

Permalink
Generate waypoints around landing spot for Mars Rover
Browse files Browse the repository at this point in the history
  • Loading branch information
siimav committed Aug 8, 2024
1 parent b6845d5 commit 76b95f6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
1 change: 0 additions & 1 deletion GameData/RP-1/Contracts/Mars/Mars Probe.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ CONTRACT_TYPE
name = VesselGroup
type = VesselParameterGroup
title = Atmospheric probe Mars
define = ProbeMars

PARAMETER
{
Expand Down
30 changes: 25 additions & 5 deletions GameData/RP-1/Contracts/Mars/Mars Rover.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ CONTRACT_TYPE
{
name = VesselGroup
type = VesselParameterGroup
title = Uncrewed rover on Mars
define = ProbeMars
title = Land near waypoint
define = MarsRover
dissassociateVesselsOnContractCompletion = true
resetChildrenWhenVesselDestroyed = true

PARAMETER
{
Expand All @@ -82,12 +84,30 @@ CONTRACT_TYPE
name = WaypointAlpha
type = VisitWaypoint
index = 0
distance = 100.0
distance = 50000.0
disableOnStateChange = true
title = Safely land near rover site Alpha on Mars
title = Safely land within 50km of site Alpha
hideChildren = true
showMessages = true
}
}

PARAMETER
{
name = VesselGroup2
type = VesselParameterGroup
title = Visit the other 2 waypoints
vessel = MarsRover

PARAMETER
{
name = Crewmembers
type = HasCrew
minCrew = 0
maxCrew = 0
title = Uncrewed
hideChildren = true
}
PARAMETER
{
name = WaypointBravo
Expand Down Expand Up @@ -145,7 +165,7 @@ CONTRACT_TYPE
icon = marker
altitude = 0.0
waterAllowed = false
nearIndex = 0
vessel = MarsRover
minDistance = 500.0
maxDistance = 1000.0
}
Expand Down

0 comments on commit 76b95f6

Please sign in to comment.