Jump to content
  • 0

Survey contract - What distance from waypoint is in range to complete?


undercoveryankee
 Share

Question

I have a few survey contracts to take temperature measurements near waypoints on the Mün and Minmus. I'm trying to write a kOS script that will activate the thermometer whenever I'm close enough to a waypoint.

Problem is, kOS doesn't automatically tell me whether I'm within range of a waypoint, so I need to know what distance from the waypoint I should be looking for. I found these two lines from GameData/Squad/Contracts.cfg:

MinimumTriggerRange = 500 // The minimum range to trigger waypoints on ground surveys before gravitational adjustments
MaximumTriggerRange = 15000 // The minimum range to trigger waypoints on high altitude surveys

But I'm not sure how these numbers are used in the game. Is the radius of an "in spaceflight near <waypoint>" parameter always equal to MaximumTriggerRange (15 km), or does it scale with the size of the body and/or the altitude threshold on the waypoint?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...