Login
Registration code:
Access code:
forgot your reg code?
Use the registration codes recieved during software registration. You must be logged in to upload files.
Fix Small Bodies Distance v1.0

Contributor:Alan BartholetRating:Not enough votes yet
Date Added:10/08/2009Downloads:1206
Description:According to NBOS Support
"'Small bodies' is really just a note that there are numerous small, unremarkable bodies in orbit (small chunks of rock). Its not a single body with a single orbit, but rather debris found in orbit at various places. So there's no orbital parameters per se, and they arent shown in the system diagram. Think of it as the orbital equivalent of a 'look out for falling rocks' sign."

Unfortunately by default 'Small Bodies' have a distance of 0. This causes the Travel Calculator to throw an invalid floating point violation error, in order to fix this we will set the distance to 0.01. This will achieve the same affect for all intents and purposes without causing the error.

This script will run on all bodies and child bodies in a sector. If a body of type 'BODY_TYPE_SMALLBODY' has a distance of 0 this script will update the distance to 0.01

Comments and rating are welcome and appreciated.
If you have any questions, suggestions or encounter a bug please contact me through the mailing list and include "Fix Small Bodies Distance" in the subject.

Change Log:
Version 1.0
- Initial upload
Comments
Copyright © 2003-2007, NBOS Software. All rights reserved. 'Fractal Mapper', 'ScreenMonkey', 'Character Sketcher', 'Inspiration Pad', 'Fractal World Explorer', 'Goblin API', 'AstroSynthesis' are trademarks of NBOS Software. 'Dwarven Beserker' art by V. Shane.
Member contributed resources