Difference between revisions of "Jaguar Company"

From Elite Wiki
(Updated to v2.3)
(Updated to v2.4)
Line 2: Line 2:
 
{{Infobox OXPb
 
{{Infobox OXPb
 
|title = Jaguar Company
 
|title = Jaguar Company
|version = 2.3
+
|version = 2.4
|release = 2012-12-08
+
|release = 2012-12-27
 
|license = CC BY-NC-SA 3.0
 
|license = CC BY-NC-SA 3.0
 
|features = New patrol
 
|features = New patrol
Line 15: Line 15:
 
|image = [[Image:Jaguar Company.png|128px]]
 
|image = [[Image:Jaguar Company.png|128px]]
 
|download = [[Jaguar Company#Downloads|Download Links]]
 
|download = [[Jaguar Company#Downloads|Download Links]]
|version = 2.3 (2012-12-08)
+
|version = 2.4 (2012-12-27)
 
|story = [[Jaguar Company#Version History|Version History]]
 
|story = [[Jaguar Company#Version History|Version History]]
 
|stations = [[Jaguar Company#Jaguar Company Base|Jaguar Company Base]]
 
|stations = [[Jaguar Company#Jaguar Company Base|Jaguar Company Base]]
Line 59: Line 59:
 
== Downloads ==
 
== Downloads ==
 
* [https://www.box.com/s/wisczoxe2c8n8gmjuk43 box.com]
 
* [https://www.box.com/s/wisczoxe2c8n8gmjuk43 box.com]
* [https://dl.dropbox.com/u/31706855/Oolite/OXPs/jaguar_company_2.3.zip dropbox.com]
+
* [https://dl.dropbox.com/u/31706855/Oolite/OXPs/jaguar_company_2.4.zip dropbox.com]
* rsync://ebspso.dnsalias.org/jaguar_company_2.3 or ebspso.dnsalias.org::jaguar_company_2.3 (rsync)
+
* rsync://ebspso.dnsalias.org/jaguar_company_2.4 or ebspso.dnsalias.org::jaguar_company_2.4 (rsync)
   
 
== Install ==
 
== Install ==
After unzipping, move or copy the folder, "jaguar_company_2.3.oxp", into your AddOns directory.
+
After unzipping, move or copy the folder, "jaguar_company_2.4.oxp", into your AddOns directory.
   
 
== Uninstall ==
 
== Uninstall ==
Delete the directory, "jaguar_company_2.3.oxp", from your AddOns directory.
+
Delete the directory, "jaguar_company_2.4.oxp", from your AddOns directory.
   
 
== Oolite v1.77 and newer ==
 
== Oolite v1.77 and newer ==
Line 72: Line 72:
   
 
== Version History ==
 
== Version History ==
'''v2.3 (2012-12-08)'''
+
'''v2.4 (2012-12-27)'''
* Integration with [[Snoopers|Snoopers OXP]] if available.
+
* Bug fix for spawning Jaguar Company. Potential to spawn the base at all times if the [[Galactic_Navy|Galactic Navy]] wasn't present.
* Pilot name for patrol, tug and miner ships.
+
* Bug fix for checking the safe zone around the base. Wasn't checking to see if it actually existed.
* Pilot name transfered to escape pod and then used in rescue message on arrival at a station.
+
* Main world script saves the last system ID that was visited for interstellar space.
* Use pilot's name if available in attack messages. Otherwise use the displayName.
+
* Timer on start up for the worldscripts has been added to allow each worldscript to be loaded in. Stops a potential dependency error happening.
* Use pilot's name if available as the Snoopers news source. Otherwise use a random name.
+
* Stray commas in the route list arrays removed.
* Force Snoopers news to be shown at the base.
+
* Welcome code has been cleaned up.
* New const in the main script for Snoopers Error Codes.
+
* <code>[[Missiontext.plist|missiontext.plist]]</code> and <code>[[Misc_plists#descriptions.plist|descriptions.plist]]</code> cleaned up.
* Make sure thargoids/tharglets are ALWAYS seen as hostile.
+
* Altered all player [[Oolite_JavaScript_Reference:_Player#consoleMessage|consoleMessage's]] to show messages for the default time limit.
  +
* Changed all player [[Oolite_JavaScript_Reference:_Player#commsMessage|commsMessage's]] to [[Oolite_JavaScript_Reference:_Player#consoleMessage|consoleMessage]].
  +
* Changed some of the player [[Oolite_JavaScript_Reference:_Player#consoleMessage|consoleMessage's]] back into [[Oolite_JavaScript_Reference:_Player#commsMessage|commsMessage]].
  +
* Only insert news into Snoopers about battle help if more than 10 minutes has passed since the last news item was inserted.
  +
* If you set $alwaysSpawn to true with [[OXPConfig]] the base will be spawned if it doesn't exist.
  +
* Patrol ships follow the [[Galactic_Navy|Galactic Navy]].
  +
** If by some freak accident, all of the [[Galactic_Navy|Galactic Navy]] is destroyed, the patrol ships will go back to base if it exists. Otherwise they will patrol the witchpoint to planet lane.
  +
* New reputation level. Shows the location of Jaguar Company Bases in the current galaxy.
  +
** Re-implementation of the game random number generators for <code>system.pseudoRandomNumber</code> and <code>system.scrambledPseudoRandomNumber</code>, to allow checking of all the systems in the current galaxy. The system versions only gives back a value for the current system.
  +
** Oolite v1.76.1 or older only show a list of system names. Go to the long range chart then select the status screen (F6, F6, F5). Borrowed some code from Spara's [[Trophy_Collector|Trophy Collector OXP]] for this.
  +
** Oolite v1.77 or newer display the locations on the long range chart. Uses the new object method of <code>mission.markSystem</code> so it won't intefere with other OXPs. (Hopefully)
   
 
For a full version history see [[Jaguar Company/Version History|Version History]].
 
For a full version history see [[Jaguar Company/Version History|Version History]].

Revision as of 03:48, 27 December 2012

Levelindicator0.png
0-{{{2}}}
Version Released License Features Category Author(s) Feedback
2.4 2012-12-27 CC BY-NC-SA 3.0 New patrol Mechanics OXPs Tricky BB-Link

Jaguar Company
Jaguar Company.png
Download Link Download Links
Version 2.4 (2012-12-27)
History Version History
Stations Jaguar Company Base
Ships Jaguar Company
Missions None
Equipment None
Alternative HUD
Available
None
Sound Set
Available
None
Category Mechanics OXPs
Author Tricky
OXPConfig logo.png

Sometime ago I posted some images on the Screenshots thread of the Oolite BB, of what is possible with Griff's multi-decal Player Cobra Mk III OXP. I mentioned that I have a lioness on the back of my Cobbie 3 hunters. Someone else suggested that jaguars might be better. This formed an idea in my head and Jaguar Company was born.


Overview

Adds in an Elite group of pilots to patrol the space lanes in Anarchy, Feudal and Multi-Government systems.

The members of Jaguar Company are part-time reservists so there is a chance that they will appear if there is a major Galactic Naval convoy in the system.

Requirements

Optional OXPs

This is highly recommended.

Jaguar Company

Jaguar Company 3.png
 
Jaguar Company 1.png
Half of Jaguar Company
Jaguar Company 2.png
Jaguar Company

Jaguar Company Base

On docking approach

Downloads

  • box.com
  • dropbox.com
  • rsync://ebspso.dnsalias.org/jaguar_company_2.4 or ebspso.dnsalias.org::jaguar_company_2.4 (rsync)

Install

After unzipping, move or copy the folder, "jaguar_company_2.4.oxp", into your AddOns directory.

Uninstall

Delete the directory, "jaguar_company_2.4.oxp", from your AddOns directory.

Oolite v1.77 and newer

Use visual effect code for Oolite v1.77 and newer by setting 'this.$visualEffects' to true in 'jaguar_company.js' found in the Scripts directory.

Version History

v2.4 (2012-12-27)

  • Bug fix for spawning Jaguar Company. Potential to spawn the base at all times if the Galactic Navy wasn't present.
  • Bug fix for checking the safe zone around the base. Wasn't checking to see if it actually existed.
  • Main world script saves the last system ID that was visited for interstellar space.
  • Timer on start up for the worldscripts has been added to allow each worldscript to be loaded in. Stops a potential dependency error happening.
  • Stray commas in the route list arrays removed.
  • Welcome code has been cleaned up.
  • missiontext.plist and descriptions.plist cleaned up.
  • Altered all player consoleMessage's to show messages for the default time limit.
  • Changed all player commsMessage's to consoleMessage.
  • Changed some of the player consoleMessage's back into commsMessage.
  • Only insert news into Snoopers about battle help if more than 10 minutes has passed since the last news item was inserted.
  • If you set $alwaysSpawn to true with OXPConfig the base will be spawned if it doesn't exist.
  • Patrol ships follow the Galactic Navy.
    • If by some freak accident, all of the Galactic Navy is destroyed, the patrol ships will go back to base if it exists. Otherwise they will patrol the witchpoint to planet lane.
  • New reputation level. Shows the location of Jaguar Company Bases in the current galaxy.
    • Re-implementation of the game random number generators for system.pseudoRandomNumber and system.scrambledPseudoRandomNumber, to allow checking of all the systems in the current galaxy. The system versions only gives back a value for the current system.
    • Oolite v1.76.1 or older only show a list of system names. Go to the long range chart then select the status screen (F6, F6, F5). Borrowed some code from Spara's Trophy Collector OXP for this.
    • Oolite v1.77 or newer display the locations on the long range chart. Uses the new object method of mission.markSystem so it won't intefere with other OXPs. (Hopefully)

For a full version history see Version History.

Future Versions

  • Torus drive sync for the boring bits.

Copyright

Copyright © 2012 Richard Thomas Harrison (Tricky)

This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

To view a copy of this license, visit Attribution-NonCommercial-ShareAlike (CC BY-NC-SA) or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

OXP Categories