I'll often engage the DC as soon as I'm within the Aegis, then sit back and relax with a nice cup of tea - made earlier as the tea-maker doesn't work when the DC is active.
It's often nice ro relax after a long, hard flight.

Moderators: winston, another_commander
It was, which Bell and Braben leveraged/paid homage to in the original Elite by having it play with the docking computer. Of course, my experience with the original was that it was quite likely to crash, which made the gentle rhythms of the music clash with the nail-biting last few seconds when you didn't know if you'd make it or not.
In order for the Fast Docking Computer (shift+c) to work the following code must be included in the station's or carrier's entry in shipdata.plist:Cholmondely wrote: ↑Wed Oct 14, 2020 11:36 pmDeep Space Dredger: c works some of the time - the rest of the time it takes a veritable eternity as it sends your Cobra whizzing off to the far end of the galaxy; C never works...
Code: Select all
"allows_fast_docking" = yes;
Thank you for the tip, sir.Nite Owl wrote: ↑Thu Oct 15, 2020 5:09 amIn order for the Fast Docking Computer (shift+c) to work the following code must be included in the station's or carrier's entry in shipdata.plist:Cholmondely wrote: ↑Wed Oct 14, 2020 11:36 pmDeep Space Dredger: c works some of the time - the rest of the time it takes a veritable eternity as it sends your Cobra whizzing off to the far end of the galaxy; C never works...It might behoove you to make an in depth study of the HOW TO OXP page as you seem to have reached a point where The Dark Side is calling out to you. Do not worry, cookies are available. When first starting out on my never ending tweaking parade the list of plists that are a bit further down on that page proved invaluable. They give you access to an endless realm of possibilities. JavaScript and Materials and Shaders and all of the other stuff that make Oolite what it is are topics for later discussions. First learn the basics of the plists in an OXZ's Config folder and what they can and cannot do. Bookmark the HOW TO OXP page as you will be referring back to it quite often. My journeys there still occur almost daily.Code: Select all
"allows_fast_docking" = yes;
Would you happen to know of anything a tad less jargonised?In the macOS, iOS, NeXTSTEP, and GNUstep programming frameworks, property list files are files that store serialized objects. Property list files use the filename extension .plist, and thus are often referred to as p-list files.
Property list files are often used to store a user's settings. They are also used to store information about bundles and applications, a task served by the resource fork in the old Mac OS.
Property lists are also used for localization strings for development. These files use the .strings or .stringsdict extensions. The former is a "reduced" old-style plist containing only one dictionary without the braces (see propertyListFromStringsFileFormat),[1] while the latter is a fully-fledged plist. XCode also uses a .pbxproj extension for old-style plists used as project files.
Try this one: .PLIST File Extension, basically similar information but explained for non-programmers as well.Cholmondely wrote: ↑Thu Oct 15, 2020 7:27 amWould you happen to know of anything a tad less jargonised?
I also notice that very few of the programming tools which people have mentioned in these hallowed pages seem to work on an AppleMac!
Thank You! That is much better than Wikipedia.montana05 wrote: ↑Thu Oct 15, 2020 9:49 amTry this one: .PLIST File Extension, basically similar information but explained for non-programmers as well.Cholmondely wrote: ↑Thu Oct 15, 2020 7:27 amWould you happen to know of anything a tad less jargonised?
I also notice that very few of the programming tools which people have mentioned in these hallowed pages seem to work on an AppleMac!
.Category:Oolite scripting shows the available files Oolite is using.
This was the code Nite Owl gave above for "Viennese Waltz-free" docking with modern OXP dockables.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>biosphere_dome_sub</key>
<dict>
<key>ai_type</key>
<string>nullAI.plist</string>
<key>energy_recharge_rate</key>
<real>0</real>
<key>forward_weapon_type</key>
<string>WEAPON_NONE</string>
<key>max_energy</key>
<real>50</real>
<key>name</key>
<string>sphere-sub</string>
<key>model</key>
<string>sphere.dat</string>
<key>roles</key>
<string>sphere-sub-role</string>
<key>thrust</key>
<real>0</real>
<key>frangible</key>
<false/>
<key>rotational_velocity</key>
<!-- Frist number speed higher the slower - rotate around Y axis -->
<string>25 0.0 0.342 0.0</string>
</dict>
<key>biosphere</key>
<dict>
<key>ai_type</key>
<string>stationAI.plist</string>
<key>bounty</key>
<integer>0</integer>
<key>energy_recharge_rate</key>
<real>25</real>
<key>forward_weapon_type</key>
<string>WEAPON_NONE</string>
<key>fuel</key>
<integer>70</integer>
<key>has_ecm</key>
<true/>
<key>has_shield_enhancer</key>
<true/>
<key>max_energy</key>
<real>10000</real>
<key>max_flight_pitch</key>
<real>0</real>
<key>max_flight_roll</key>
<real>0</real>
<key>max_flight_speed</key>
<real>0</real>
<key>thrust</key>
<real>0</real>
<key>max_missiles</key>
<integer>0</integer>
<key>missiles</key>
<integer>0</integer>
<key>model</key>
<string>bs_base.dat</string>
<key>name</key>
<string>Bio-Sphere</string>
<key>roles</key>
<string>biosphere carrier</string>
<key>beacon</key>
<string>B-code</string>
<key>beacon_label</key>
<string>BioSphere</string>
<key>scanClass</key>
<string>CLASS_STATION</string>
<key>subentities</key>
<array>
<string>biosphere_dome_sub 0 0 -10 1 0 0 0</string>
<string>dock -0.1 -116.5 38.2 1 0 0 1</string>
<string>*FLASHER* 0 266 -16 40 0.5 0.5 50</string>
<string>*FLASHER* 0 -418 0 40 0.5 0.5 50</string>
<string>*FLASHER* -181 -116 188 20 0.5 0.5 20</string>
<string>*FLASHER* 181 -116 188 20 0.5 0.5 20</string>
<!-- Docking Cross -->
<string>*FLASHER* -0.1 -116.5 38.2 40 1 0.5 10</string>
<string>*FLASHER* -0.1 -103.5 38.2 60 1 0.25 5</string>
<string>*FLASHER* -0.1 -129.5 38.2 60 1 0.25 5</string>
<string>*FLASHER* 20.1 -116.5 38.2 60 1 0.25 5</string>
<string>*FLASHER* -20.1 -116.5 38.2 60 1 0.25 5</string>
</array>
<key>frangible</key>
<false/>
</dict>
</dict>
</plist>
Close enough,Cholmondely wrote: ↑Wed Mar 24, 2021 1:34 pmThis was the code Nite Owl gave above for "Viennese Waltz-free" docking with modern OXP dockables.
1/2) What about legacy script (as for BioSphere)?
Might it be:
<key>fast_docking</key>
<string>yes</string> ?
2/2) And ... which bit of the shipdata.plist tells Oolite that the bally thing is actually dockable in the first place?
Code: Select all
<key>allows_fast_docking</key>
<string>yes</string>
I really appreciate your work on the wiki, its brilliant. As mentioned in the past, if I can help (and see if
Is DockingAI relevant?hiran wrote: ↑Sun Jan 07, 2024 8:14 pmI am trying to understand how the docking computer works. Blyme, I did not read this full thread - but it seems related to the docking computer.
First I tried to find docking computer logic at all. Seems it is contained in the vanilla game distributed over several files:
Partly in PlayerEntity, partly in ShipEntity. Partly in the dockingAI.plist script.
But nowhere I find the real algorithm how to approach the dock. Seems the dockingInstructions must be coming from somewhere else - a location that I have not yet found.
Well spotted. Yes, it is definitely relevant although it looks like an almost verbatim copy of theCholmondely wrote: ↑Sun Jan 07, 2024 8:51 pmIs DockingAI relevant?hiran wrote: ↑Sun Jan 07, 2024 8:14 pmI am trying to understand how the docking computer works. Blyme, I did not read this full thread - but it seems related to the docking computer.
First I tried to find docking computer logic at all. Seems it is contained in the vanilla game distributed over several files:
Partly in PlayerEntity, partly in ShipEntity. Partly in the dockingAI.plist script.
But nowhere I find the real algorithm how to approach the dock. Seems the dockingInstructions must be coming from somewhere else - a location that I have not yet found.
dockingAI.plist
that I had seen earlier. Without any further explanation there is no added value. Hooray, someone commented that it is an extremely complex job. That explains everything!