Docking clearance OXP

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
lave
Deadly
Deadly
Posts: 141
Joined: Thu Sep 09, 2010 12:21 am
Location: Deep in Leesti space mining asteroids for a living.
Contact:

Docking clearance OXP

Post by lave »

Hi all again.

I have the Docking clearance oxp.

I am looking to change the on screen messages a little bit, but I can't see any script file that has the comm messages in it.

Where are they?

Thanks.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Docking clearance OXP

Post by Eric Walch »

lave wrote:
Hi all again.

I have the Docking clearance oxp.

I am looking to change the on screen messages a little bit, but I can't see any script file that has the comm messages in it.

Where are they?

Thanks.
The messages are part of Oolite core messages. They are in descriptions.plist inside Oolite itself.

Code: Select all

	// /general docking - main station
	// Space station docking clearance
	"station-docking-clearance-acknowledged-d-ships-approaching" =
	(
		"Your docking request is acknowledged. Please hold for clearance.",
		"Please wait until all ships have completed their approach. Your queue position is %d.",
		"We have inbound traffic, commander. Please stand by. You are number %d in the queue.",
		"We cannot clear you for docking due to prioritized incoming traffic. Your queue position is %d.",
		"We have ships on approach to station. Please hold for clearance."
	);
	"station-docking-clearance-holding-d-ships-approaching" =
	(
		"Please be patient – you are being held in a docking queue.",
		"Traffic is heavy, please continue to hold until we can clear an approach for you.",
		"You are being queued for docking. Thank you for your patience.",
		"Please wait until all ships have completed their approach. Your queue position is %d.",
		"We have inbound traffic, commander. Please stand by. You are number %d in the queue.",
		"We cannot clear you for docking due to prioritized incoming traffic. Your queue position is %d.",
		"We have ships on approach to station. Please hold for clearance."
	);
						
	"station-docking-clearance-acknowledged-d-ships-departing" =
	(
		"Please wait until launching ships have cleared the docking corridor. Your queue position is %d.",
		"We have outbound traffic, Commander. Please stand by.",
		"Clearance cannot be granted at this moment, due to prioritized outgoing traffic. Please hold station.",
		"There are ships in the launching queue. Your queue position is %d - please hold."
	);
	"station-docking-clearance-holding-d-ships-departing" =
	(
		"Please be patient – you are being held in a docking queue.",
		"Traffic is heavy, please continue to hold until we can clear an approach for you.",
		"You are being queued for docking. Thank you for your patience.",
		"Please wait until queued ships have launched. Your queue position is %d.",
		"We have outbound traffic, commander. Please stand by. You are number %d in the queue.",
		"We cannot clear you for docking due to prioritized outbound traffic. Your queue position is %d.",
		"We have launching ships pending. Please hold for clearance."
	);
	"station-docking-clearance-not-required" =
	(
		"We do not require docking clearance, Commander. Feel free to dock at any time.",
		"Docking clearance not required.",
		"Come on in, Commander!"
	);
	"station-docking-clearance-H-clearance-refused" =
	(
		"%H station refuses to grant docking clearance to fugitive vessels.",
		"Fugitive vessel, we cannot clear you for docking. You are not welcome to %H",
		"Negative. %H security scans indicate your ship has a criminal record.",
		"Docking clearance is denied, as per GalCop Station Security Regulations."
	);
	"station-docking-clearance-denied" =
	(
		"Docking clearance refused to all hostile vessels.",
		"Docking not allowed. You are not welcome.",
		"Negative. Your ship cannot dock here.",
		"Docking clearance denied."
	);
	"station-docking-clearance-granted-until-@" =
	(
		"You are cleared to dock. Please proceed. Clearance expires at %@",
		"You have docking clearance, Commander. Your window is up to %@",
		"Docking authorized. You have an approach slot terminating at %@",
		"Permission granted. Proceed for docking approach. Slot valid until %@"
	);
	"station-docking-clearance-extended-until-@" =
	(
		"Your docking clearance extension has been approved, you now have until %@"
	);
	"station-docking-clearance-about-to-expire" =
	(
		"You have 30 seconds left to dock.",
		"Your docking window is about to close.  Hurry up!",
		"Warning! Your docking clearance is about to expire."
	);
	"station-docking-clearance-expired" =
	(
		"Your docking clearance has expired.  Please clear the docking corridor."
	);
	"station-docking-clearance-cancelled" =
	(
		"Docking clearance cancelled, Commander. Please leave the docking area."
	);
	"station-docking-clearance-abort-cancelled" =
	(
		"Due to an emergency your docking clearance has been revoked.  Please clear the station approach immediately."
	);
	"station-docking-clearance-fined-@-cr" =
	(
		"You have been fined %@ for unauthorized docking. Docking without asking for clearance is not allowed here.",
		"You have been fined %@ for violating the station's docking protocol. Docking without clearance is not allowed here.",
		"You docked without any clearance. For violating the station's docking protocol you have been fined %@."
	);
		
But you can make your own oxp and add a description.plist containing above keys. In that case Oolie will use the messages from your oxp instead of its own. The "%@" and "%d" characters are filled in by Oolite itself. You have no control over that.
User avatar
lave
Deadly
Deadly
Posts: 141
Joined: Thu Sep 09, 2010 12:21 am
Location: Deep in Leesti space mining asteroids for a living.
Contact:

Post by lave »

Thank you very much.
Post Reply