Okay, I've re-written and simplified the script, but I am still getting the dreaded Microsoft VBScript runtime error. I believe the issue is with creating the child body, but maybe I am wrong.
#plugin Squashdown! #author NBOS #desc Compresses system positions along the Y axis sector = GetCurrentSector() j = sector.SystemCount For i = 1 to j o = sector.GetSystem( i-1) o.y =
I wanted to keep it simple, so I tried to script this to just add one megastructure around each star, but I keep getting VBScript errors. Something is wrong with the way I am trying to add the child…
#plugin List All Symbols on Map #author NBOS Software #desc Lists info about all the symbols on the current map Dim oMap, o, i, s oMap = GetCurrentMap() s = "" For i = 1 to oMap.O
#plugin List All Symbols on Map #author NBOS Software #desc Lists info about all the symbols on the current map Dim oMap, o, i, s oMap = GetCurrentMap() For i = 1 to oMap.ObjectCount o
#plugin Generate From Existing #author NBOS #desc Runs the generator against existing stars on the map. oSector = GetCurrentSector() j = oSector.SystemCount() for i = 1 to j o =
#plugin UABI Finder #author NBOS #desc Finds a body by UABI using recursion Dim WasFound, FoundBody Dim s sector = GetCurrentSector() s = "{F82527A3-F773-45D9-A134-D7CC24580069
#plugin ISO Value map = GetCurrentMap() n = map.GetFirstSelected() If n > -1 Then o = map.GetObject(n) elev = o.GetField( "ISOVALUE") elev = elev / 100 MsgBox "ISO L
#plugin Clone Selected #author NBOS #desc Clones/duplicates the selected systems Dim b, j, i, sector Randomize sector = GetCurrentSector() j = sector.SelectedCount() For i = 1 to j
Is there a way of setting the visibility? I'd like to temporarily hide shows that are not selected for clarity. I tried this script but all the stars are still visible.
#plugin Population Multiplier #author NBOS #desc Multiplies the population of all bodies by a given factor MultFactor = 10 sector = GetCurrentSector() numberOfSystems = sector.SystemCount() For
Okay, so I looked through the script again and found the the API index posted at the top of the forum <img class="emoji" src="/resources/emoji/tongue.png" title=":p" a
This is a scripting example that demonstrates bulk exporting 2D maps (png's). The script will output a 2D map for each system that meets a selected population requirement (see the script below for ho
The beta has been updated to improve searching speed when searching based on habitabiltiy and population.<br />Also added is support for Natural Language Search within scripts. The api doc will
I've managed to hack the Label Distance plugin so that it finds the star name in the plugin and turns the label visible from 10,000 ly away and sets it a different colour to stand out. It's a rather c
Thats not something the program can do out of the box, and honestly it's really too specific to ever be its own feature.<br />There's two ways of getting the information you want:<br />if
I can't upload to the site, so you'll have to copy and paste from here. This is the very crude first version. In order to change the formula used to calculate whether stars are connected or not, you h
I've fudged around it a bit by adding a string to the GMNotes field of the stars I'm interested in and searching for that, but that's obviously not ideal. I'd really like a way for the program to just
<br />, which (like many of the entries in there) is pretty meaningless to me because there's no explanation of what that means or even does. I tried to modify the LabelDistance plugin so that i