Station Approaches and manual docking

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

In order to keep things simple and efficient, I think I'm going to try to introduce a penalty for unauthorized docking, which will be a percentage of the player's credit amount (say 10%), with a ceiling of 5000 credits. I will try to experiment with this later today and see if it can live up to the expectations.

The script event handler playerRequestedDockingClearance has been added as well. This has one string argument, based on the outcome of the request:
- "DOCKING_CLEARANCE_GRANTED", if all goes well.
- "DOCKING_CLEARANCE_DENIED_SHIP_OFFENDER", if the player has offender or fugitive legal status.
- "DOCKING_CLEARANCE_DENIED_TRAFFIC_INBOUND", if there are ships in queue to dock.
- "DOCKING_CLEARANCE_DENIED_TRAFFIC_OUTBOUND", if there are ships in queue to launch.
- "DOCKING_CLEARANCE_DENIED_NOT_MAIN_STATION", if the docking request is not addressed at the main station.

The plan is that docking using the Docking Computer will automatically imply clearance, thus giving an extra reason for the player to seek to buy a DC.

Docking clearance request will not be available at all in strict mode.

I hope that all this will not disturb current game balance. But you know, it might just work after all...
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Y’know, I’m somewhat uncomfortable with adding this sort of complication by default. Fiddling with station communications strikes me as un-Oolitey.
User avatar
JohnnyBoy
---- E L I T E ----
---- E L I T E ----
Posts: 490
Joined: Mon May 05, 2008 9:41 pm
Location: West Sussex, UK (rich agricultural)

Post by JohnnyBoy »

another_commander wrote:
I think I'm going to try to introduce a penalty for unauthorized docking...
More bureaucracy, more taxes... Has the Ooliverse become part of the European Union??? :lol: ;) :P
"That's no vicious Treeoid. That's my wife."
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

These's already a penalty for unauthorized docking. Several in fact.....

There's the zap, boom splat! Penalty,
The terminal game of chicken penalty,
And lets not forget the left a bit, right a bit, No, NO NO!!! Penalty for dyspraxic pilots.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

another_commander wrote:
In order to keep things simple and efficient, I think I'm going to try to introduce a penalty for unauthorized docking, which will be a percentage of the player's credit amount (say 10%), with a ceiling of 5000 credits. I will try to experiment with this later today and see if it can live up to the expectations.
I think it`s a good idea. Not every new idea is a bad idea ... :roll:
More bureaucracy, more taxes... Has the Ooliverse become part of the European Union???
You mean, you miss the good old times when the only taxes you had to pay were war taxes to enable your feudal overlord to try and stomp on other countries or be stomped upon, not loads of taxes to pay social systems with for trivialities like health insurance for the masses or the like? :twisted:

:P

L
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Post by drew »

I may be wrong here, but I'm sure I recall on the Spectrum version of Elite that if you had become a fugitive in a particular system and you tried to dock in that system, you died on impact with the station.

The explanation in the play ground (!) at the time, was that the 'door' on the front of the space station was closed and you smashed into it. Obviously with only wireframe graphics, it wasn't possible to tell the difference...

Didn't FE2/FFE do something similar? Closing the front door if you were a bad boy?

There is even a canon reference to this type of behaviour in 'The Dark Wheel' at Cirag.

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
User avatar
JohnnyBoy
---- E L I T E ----
---- E L I T E ----
Posts: 490
Joined: Mon May 05, 2008 9:41 pm
Location: West Sussex, UK (rich agricultural)

Re: ...

Post by JohnnyBoy »

Lestradae wrote:
You mean, you miss the good old times when the only taxes you had to pay were war taxes to enable your feudal overlord to try and stomp on other countries or be stomped upon, not loads of taxes to pay social systems with for trivialities like health insurance for the masses or the like? :twisted: :P
Lestradae - as an Oolite commander, my 'health insurance' is bolted to the front of my SuperCobra and has a range of 25km... ;) :)
"That's no vicious Treeoid. That's my wife."
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

Didn't FE2/FFE do something similar? Closing the front door if you were a bad boy?
Yes and it did more. A nice animation from the bay to the door by use of a lift. That sort of thing I liked. I liked almost everything from FF2 and FFE except the combat that was flawed by Newtonian flight but that's another topic.

But yes you had a nice door which could close.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Re: ...

Post by Lestradae »

JohnnyBoy wrote:
Lestradae - as an Oolite commander, my 'health insurance' is bolted to the front of my SuperCobra and has a range of 25km... ;) :)
:lol:

I can see it now: "This is my SuperCobra. The mil-Laser on the front is called "Health Insurance". The baby on the back? "Private Pension Accumulator"

:)

L
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Ahruman wrote:
Y’know, I’m somewhat uncomfortable with adding this sort of complication by default. Fiddling with station communications strikes me as un-Oolitey.
I can see where you are coming from. This is why the entire feature is inside #ifdef / #endif guards. If we ever decide to go and add it in, it will be just a matter of defining a macro in the code or removing the guards. Alternatively, we could build it in as a Game Option. But I know what you mean when you say "un-Oolitey".

Further news: It now works. The fine is now 5% of the credits amount, up to 5000Cr. Offenders are given clearance, fugitives are not (to be compliant with the docking computer behaviour), which means that if you are fugitive, there is no way to enter a main station without a fine. In case of the sun going nova, there are no penalties for docking without clearance due to the emergency situation. The station now responds to clearance requests by selecting messages for each case from a list defined in descriptions.plist. This way we avoid seeing the same message again and again every time clearance is requested.

This is almost ready, but it is NOT currently planned for next release, as indicated above. Whether it will be part of the next release or not will be decided in the future, depending on how much it changes the feeling and balance of the game and always with Ahruman's approval.
Last edited by another_commander on Tue Sep 23, 2008 9:23 am, edited 1 time in total.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

Could this docking approach scenario not be given some kind of switch that is "off" by default, but can be switched on by oxps?

That way, someone who deems this should not be in the core game doesn`t have to use it/see it, and whoever wants to have it in installs the oxp?

Viable compromise?

L
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

another_commander wrote:
can see where you are coming from. This is why the entire feature is inside #ifdef / #endif guards. If we ever decide to go and add it in, it will be just a matter of defining a macro in the code or removing the guards. Alternatively, we could build it in as a Game Option. But I know what you mean when you say "un-Oolitey".
I’d rather make it an OXPable feature.
  • Add requireDockingClearance() : Boolean and allowDockingClearance(ship : Ship) : Boolean callbacks to station scripts.
  • Add a default, require-docking-clearance, to planetinfo.plist.
  • Allow a “default default” to be specified in the universal section.
An OXP to enable docking the docking clearance system would then consist of the following planetinfo.plist:

Code: Select all

{
    universal =
    {
        require-docking-clearance = yes;
    }
}
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Or how about as a key in station's shipdata.plist (with default to false when the key isn't present, to allow for standard stations etc to be unmodified).

Then OXP stations could specifically be created to request and require it?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Thargoid wrote:
Or how about as a key in station's shipdata.plist (with default to false when the key isn't present, to allow for standard stations etc to be unmodified).

Then OXP stations could specifically be created to request and require it?
Given that the system only works between main station and player (no general ship-to-ship clearances at the moment), I find that this solution could really work well. I think I would like to give this a try.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Isn't just fantastic how this forum works - this thread is a particularly good example! :) I love Oolite and all it represents.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
Post Reply