[TEST RELEASE] Unsafe Systems Warning Tool 0.1
Posted: Sat Jan 18, 2014 6:31 am
Bugbear Creations is proud to present their first OXP for Oolite: Unsafe Systems Warning Tool 0.1
TLDR: Download here
This OXP introduces a purchasable piece of equipment that provides the player with a warning if they are about to jump into a particularly unsafe system, or to an unfamiliar system.
The USWT can be purchased from any system with a Tech Level of 4 or above for 100Cr.
The safety of a system is determined by its government type. The eight government types from dangerous to safe are:
Anarchy
Feudal
Multi-Government
Dictatorship
Communist
Confederacy
Democracy
Corporate State
This OXP introduces the idea of a player experience rank. The experience rank is derived from the player's Elite score and from the ship time (the ship time being used as a measure of how long the player has managed to keep themselves alive).
The OXP also keeps track of the number of times the player has visited each system. This visit count is used to measure system 'familiarity'. Warnings are not raised for familiar systems.
Each system government type is given a safety rank. Anarchies are considered most unsafe and should only be traversed by an experienced pilot. Corporate States are considered most safe and can be safely traversed by pilots with low experience.
ALERTS
When a player initiates a witchspace jump to a new system, the players experience rank is calculated. This rank is then compared to the target system's safety rank, as determined from the government type.
If the player's experience falls below the destination safety rank, an alert is displayed via the comms log. This alert does not prevent the existing jump from completing, but just provides a timely message to the player to
reconsider their current destination.
Regardless of the player's familiarity with the destination, alerts are always displayed.
WARNINGS
If the player's experience exceeds the destination safety rank, then an assessment is made of the destination familiarity. Familiarity is measured as the number of times a specific system has been visited, with a default threshold being set at 3 visits (this may be a bit naggy and I'll probably lower this threshold to 1 for the final release.
If the destination has been visited less than 3 times, a warning is displayed via the comms log. Similar to alerts, this warning does not prevent the existing jump from completing, but provides a timely message to the player
to exercise caution.
A visit is defined as a single system traversal (initiated by an entry from witchspace) from the witchspace beacon to station aegis.
LIMITATIONS
The Unsafe Systems Warning tool does not provide any warning for Galactic Jumps.
AUTHOR'S NOTES
This OXP is my first attempt (after 8 years of playing Oolite) at modifying the game, and the OXP currently in a testing phase, so I'd really appreciate feedback regarding anythng you feel is comment worthy. I'd especially like to know if I've covered all the licencing issues satisfactorily.
My real intent for this OXP was simply to work out how to achieve some basic OXP tasks, such as writing to the log, writing and reading data from a saved game, implementing purchasable equipment, and working out how to represent objects in script.
As a result, the logic for this script is pretty straightforward and mostly intended as a proof of concept.
TLDR: Download here
This OXP introduces a purchasable piece of equipment that provides the player with a warning if they are about to jump into a particularly unsafe system, or to an unfamiliar system.
The USWT can be purchased from any system with a Tech Level of 4 or above for 100Cr.
The safety of a system is determined by its government type. The eight government types from dangerous to safe are:
Anarchy
Feudal
Multi-Government
Dictatorship
Communist
Confederacy
Democracy
Corporate State
This OXP introduces the idea of a player experience rank. The experience rank is derived from the player's Elite score and from the ship time (the ship time being used as a measure of how long the player has managed to keep themselves alive).
The OXP also keeps track of the number of times the player has visited each system. This visit count is used to measure system 'familiarity'. Warnings are not raised for familiar systems.
Each system government type is given a safety rank. Anarchies are considered most unsafe and should only be traversed by an experienced pilot. Corporate States are considered most safe and can be safely traversed by pilots with low experience.
ALERTS
When a player initiates a witchspace jump to a new system, the players experience rank is calculated. This rank is then compared to the target system's safety rank, as determined from the government type.
If the player's experience falls below the destination safety rank, an alert is displayed via the comms log. This alert does not prevent the existing jump from completing, but just provides a timely message to the player to
reconsider their current destination.
Regardless of the player's familiarity with the destination, alerts are always displayed.
WARNINGS
If the player's experience exceeds the destination safety rank, then an assessment is made of the destination familiarity. Familiarity is measured as the number of times a specific system has been visited, with a default threshold being set at 3 visits (this may be a bit naggy and I'll probably lower this threshold to 1 for the final release.
If the destination has been visited less than 3 times, a warning is displayed via the comms log. Similar to alerts, this warning does not prevent the existing jump from completing, but provides a timely message to the player
to exercise caution.
A visit is defined as a single system traversal (initiated by an entry from witchspace) from the witchspace beacon to station aegis.
LIMITATIONS
The Unsafe Systems Warning tool does not provide any warning for Galactic Jumps.
AUTHOR'S NOTES
This OXP is my first attempt (after 8 years of playing Oolite) at modifying the game, and the OXP currently in a testing phase, so I'd really appreciate feedback regarding anythng you feel is comment worthy. I'd especially like to know if I've covered all the licencing issues satisfactorily.
My real intent for this OXP was simply to work out how to achieve some basic OXP tasks, such as writing to the log, writing and reading data from a saved game, implementing purchasable equipment, and working out how to represent objects in script.
As a result, the logic for this script is pretty straightforward and mostly intended as a proof of concept.