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?
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.
Question
undercoveryankee
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:
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
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.