Difference between revisions of "Oresrati Challenge OXP"

From Elite Wiki
m (Cholmondely moved page Oresrati to Oresrati Challenge OXP: Somehow managed to misname page)
m (Links: Added another)
 
Line 68: Line 68:
 
*[https://bb.oolite.space/viewtopic.php?t=9159 Visited Oresrati yet?] (2011-18)
 
*[https://bb.oolite.space/viewtopic.php?t=9159 Visited Oresrati yet?] (2011-18)
 
*[https://bb.oolite.space/viewtopic.php?t=8912 I've broken the 7 ly limit! (sort of...)] (2010-22)
 
*[https://bb.oolite.space/viewtopic.php?t=8912 I've broken the 7 ly limit! (sort of...)] (2010-22)
 +
*[[Oresrati]]
  
 
[[Category:Missions OXPs]]
 
[[Category:Missions OXPs]]

Latest revision as of 16:18, 16 June 2026

Oresrati is at the bottom left-hand corner (click to enlarge)

Escape from Oresrati

Overview

There are no direct Witchspace Routes to/from Oresrati. It is too far from its nearest neighbours.

This OXP adds a fun mission to the loneliest system of the ooniverse, Oresrati: If you do find a way to reach Oresrati, this mission offers a way out of galaxy 8.


The Dark Side

This OXP was the first OXP allowing other OXPs to suspend its Functionality by using Call backs.

To achieve that write a call back function like the one below

this.checkSuspendOresratiChalenge = function()
{
  if(galaxyNumber == 7 && system.ID == 162 && (missionVariables.MYOXP_status == "STAGE_120" || missionVariables.MYOXP_status == "STAGE_100" || missionVariables.MYOXP_status == "STAGE_110"))
  {
     return(true);
  }
       else 
       {
               return(false);
       }
}


and in the startUp of your worldscript add the following code,


this.startUp = function()
{
	if(worldScripts["oresratichalange_main"])
	{
		worldScripts.oresratichalange_main.addToCallbacks({worldScript: "YourOXPWordScriptName", callBack: "checkSuspendOresratiChalenge"});
	}
}


Enjoy

License

This OXP is released under the Creative Commons Attribution - Non-Commercial - Share Alike 3.0 license with the following clauses:

  • Whilst you are free (and encouraged) to re-use any of the scripting, models or texturing in this OXP, the usage must be distinct from that within this OXP. Unique identifiers such as (but not limited to) unique shipdata.plist entity keys, mission variables, script names (this.name), equipment identity strings (EQ_), description list arrays and entity roles must not be re-used without prior agreement. Basically if it's unique or would identify or overwrite anything in the original OXP, then you may not re-use it (for obvious compatibility reasons).
  • rebundling of this OXP within another distribution is permitted as long as it is unchanged. The following derivates however are permitted and except from the above:
  • the conversion of files between XML and openStep.
  • the merging of files with other files of the same type from other OXPs.
  • The license information (either as this file or merged into a larger one) must be included in the OXP.
  • Even though it is not compulsory, if you are re-using any sizable or recognisable piece of this OXP, please let me know :)

Special thanks to Thargoid for allowing me to borrow bits from his license file.


Download

File:OresratiChallenge v0.9.zip

Unzip the file, and then move the folder "OresratiChallenge v0.9.oxp" to the AddOns directory of your Oolite installation. Then start the game up and the mission should be added.

Requirements

Requires v1.74.0 or later of Oolite. It will not run on older versions.

Links