One issue remains: the position of the Superhub is still random, which means that it will be in a different direction and distance from the main station each time you return to the system. Do you want to keep this behaviour?
If not, you could replace all the Math.random() inside the this.spawnHub-function with system.scrambledPseudoRandomNumber(salt), using different integers for 'salt' each time.
One issue remains: the position of the Superhub is still random, which means that it will be in a different direction and distance from the main station each time you return to the system. Do you want to keep this behaviour?
If not, you could replace all the Math.random() inside the this.spawnHub-function with system.scrambledPseudoRandomNumber(salt), using different integers for 'salt' each time.
Hi Commander McLane. I think I wanna keep that but thanks for the code. If the Stations are spawned ad weird places then I change that.
Superhub v1.5 lacks a station script referenced by its shipdata.plist:
11:19:21.609 [script.load.notFound]: ***** ERROR: Could not find script file superhub.js.
Are there plans to add a special script for the station (such as blinking lights, red alert lights, etc) or is this just a minor oversight?
Well if you do decide to add one, it'd be cool to have the station launch a bunch of ships really rapidly if it's throwing sparks and presumably about to explode.
Well if you do decide to add one, it'd be cool to have the station launch a bunch of ships really rapidly if it's throwing sparks and presumably about to explode.
If the sparks are coming from an attack by a Thargoid Carrier, you'll see exactly that.
I noticed under the latest trunk--> Oolite development version 1.79-140612 that ships won't dock anymore at the SuperHub. It doesn't clear its docking corridors.
Thanks to Norby the Superhub. oxp is converted to oxz format so it should be available through the Oolite 1.80 download manager. Thanks to Spara saving is now possible in the hub and some code was cleaned up. For details see first post of this topic or the wiki page. http://wiki.alioth.net/index.php/Superhub.
18:58:45.043 [files.notFound]: Could not read Models/pagroove_superhub_mainhull.dat within OXZ at C:/Oolite/Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Pagroove.Superhub.oxz
18:58:45.043 [mesh.load.failed.fileNotFound]: ***** ERROR: could not find pagroove_superhub_mainhull.dat
18:58:45.043 [script.addShips.failed]: ***** SCRIPT ERROR: in <anonymous actions>, addShipsAtPrecisely: could not add 1 ships with role 'pagroove_superhub'
.
The .dat file is in the OXZ, but if I try and manually unzip it I get a whole load of errors - looks like the file itself is corrupt? Now trying to download it again, but the OXZ manager is giving me problems too [/color]
A direct download from the wiki works, but going via the OXZ manager or via a direct download from addons.oolite.org (the right hand column of the OXZ table) gives a file which won't unzip properly?
But I seem to be having issues with the OXZ manager anyway (see the bug report threads) so it may be linked to that perhaps.
I made a Superhub for Extra Planets OXZ which simply use the features of [wiki]Stations for Extra Planets[/wiki] to place some Superhubs over [wiki]Additional Planets[/wiki].
Ideal for [wiki]Bigships[/wiki] larger than standard docks (like [wiki]Andromeda[/wiki]) and for traders due to there is a rumor about the market capacity of Superhubs will be extended soon.