Back to Index Page generated: May 8, 2024, 6:16:03 AM

Expansion Superhub

Content

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description This huge station in the most productive systems is far more than a space port. It's a modern hospital, office space or even an industrial park. This huge station in the most productive systems is far more than a space port. It's a modern hospital, office space or even an industrial park.
Identifier oolite.oxp.Pagroove.Superhub oolite.oxp.Pagroove.Superhub
Title Superhub Superhub
Category Dockables Dockables
Author Pagroove Pagroove
Version 1.6.3 1.6.3
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
Optional Expansions
Conflict Expansions
Information URL http://wiki.alioth.net/index.php/Superhub n/a
Download URL https://wiki.alioth.net/img_auth.php/b/b1/Superhub_1.6.3.oxz n/a
License CC BY-NC-SA 4 CC BY-NC-SA 4
File Size n/a
Upload date 1610873443

Documentation

Also read http://wiki.alioth.net/index.php/Superhub

Readme.txt

Superhub

Model, Idea and Texture: P.A. Groove
Shading: Griff
Smaller Texture: Commander McLane
OXP structure and Scripting and docking area Thargoid
Scripting and Bug correcting v 1.6 Spara

Version History:

1.6.3
- Fixed semicolon problem in Mac, thanks to hoqllnq.


1.6

- Saving in station is now possible thanks to commander Spara!

shipdata.plist_
- added allegiance = "galcop" // this defines how npcs see the station in 1.79.
- removed script = "superhub.js" // scipt.js did not have any ship script functions and superhub.js does not exist.
- added station_roll = 0.1 // slows down the rotation making the station feel more massive. feel free to remove/tweak this, if it feels wrong.

_script.js_
- Positioning with scrambledPseudoRandom, so it will be different from system so system, but will always be in the same place in a system.



1.5 
- SuperHubs now appear at all Tech 14 and Tech 15 planets. (no more Random)
- Added a BGS Launch tunnel
- Added a License

1.4 
- Texture fix making it perform better by use of a smaller texture.

Changes from 1.2 to 1.3:

* Added the correct working smaller texture by Commander McLane into the package.
The smaller texture is recommended for playing on computers with light graphical capabilities (laptops and such).


Changes from 1.0. to 1.2:

Script changes by Thargoid:

* Added in the 50:50 chance again. 
* Added in a check on the system government (it seems to have gone AWOL from the version I sent you).
* Corrected a minor typo in the shipdata.plist (flase -> false)

Texture changes by P.A.Groove
* Added smaller version of the texture.
* Backup folder removed.


Installation
Extract the Superhubv1.oxp into your Addons directory of Oolite. Just to be sure start up Oolite with the SHIFT-key pressed until you see the spinning CobraMKIII.

--------------------------------------------------------------------------------------------------------------------------
About The Superhub
Traffic congestion in the Ooniverse is growing and while the stations are getting more advanced the market asked for a more radical solution. This solution comes in the form of the Gasec Superhub. The Gasec Superhub is the first station that is capable of transporting itself to it's destination* 2 engine bays allow the GASEC SR-GD (Space Rotary Galactic Drive) to be fitted. At the destination these engines can be taken out for re-use in other transport missions.

Safer to dock
Problem of the older stations was that docking always was dangerous, especially in larger freighters. How many times we have witnessed the sad sight of an exploding workers commuter? The superhub is accommodated for larger ships. Just fly into the blue orb and docking is taken care of

State of the art facilities
A superhub is far more than a space port. It's a modern hospital, office space or even an industrial park. Due to the Flex space (TM) technology Governments can design the superhub to their needs.

It's sturdy
How sturdy? we won't tell. And we don't encourage you to try it.

Habitat rings with a view
Our luxury apartments always have a birds eye view on space. Handy for the commander who can oversee his freight operations from afar.

(* flying or transport of the station is not featured in the oxp)

We wish you much pleasure in using our product

JAL GLOX
(Marketing director R&D GASECWORKS, Vetitice
--------------------------------------------------------------------------------------------------------------------------


Equipment

This expansion declares no equipment.

Ships

Name
Superhub docking port
Superhub
Superhub
Superhub

Models

This expansion declares no models.

Scripts

Path
Config/script.js
"use strict";

this.name           = "PAGroove_superhubPopulator";
this.author         = "Thargoid, spara";
this.copyright      = "This script is hereby placed in the public domain.";
this.description    = "Script to add a single superhub near the system main station";

this.systemWillPopulate = function() {
	//if(system.techLevel >= 13) {
	if (system.productivity >= 45000) {
		var xOffset = (system.scrambledPseudoRandomNumber(637) * 10000) + 10000; // x offset between 10 and 20km
		var yOffset = (system.scrambledPseudoRandomNumber(432) * 10000) + 10000; // y offset between 10 and 20km
		var exactPosition = system.mainStation.position.add([xOffset, yOffset, 0]);
		system.setPopulator("superhub", {
			callback: function(pos) {
				system.addShips("pagroove_superhub", 1, pos, 0);
			}.bind(this),
			location: "COORDINATES",
			coordinates: exactPosition,
			deterministic: true
		});
      }
}