Anyway, i noticed the model was not properly centered on the Z axis and had been placed so that it's front face was very close to 0.0 on the Z axis, I remembered from the spacebar thread that this would cause problems with the box drawn around it when using the targetting system so i decided to re-center and re-export the model...
..now i remember why i'd placed the model off center originally, when trying to dock the player now flies through the back wall of the docking bay and some distance into the interior of the model before the docking rings appear, so i'm wondering if there's a fault with the model, or does Oolite have problems detecting docking bays if the stations model is too big in scale?
Looking at the docking bays entry in the subentity list of the station:
Code: Select all
<string>griff_station_bay 0 0 1150.0 1 0 0 0</string>
edit: Turns out it is, just moved the whole model back 700 uinits on z, re-exported into .dat format and into oolite and docking is working ok now - the bay is only being offset 450.0 units.
Another thing i noticed, is if i move the subentity entry for the docking bay further down the list so it appears after either a turret or a flasher, oolite gets problems positioning the bay subentity - it appears outside the station and rotating against the rotation of the station, see here - white arrow denotes docking bay:
eg - this is ok:
<key>subentities</key>
<array>
<string>griff_station_subents 0 0 0 1 0 0 0</string>
<string>griff_station_plates 0 0 0 1 0 0 0</string>
<string>griff_station_bay 0 0 1150.0 1 0 0 0</string>
<string>station_turret1 0 589.6975 1351.527 1 0 0 0</string>
<string>station_turret2 -589.6975 0 1351.527 1 0 0 -1</string>
<string>*FLASHER* -64.97 684.5685 1482.745 5 1 0 52</string>
</array>
this is bad and makes the griff_station_bay appear outside the station:
<key>subentities</key>
<array>
<string>griff_station_subents 0 0 0 1 0 0 0</string>
<string>griff_station_plates 0 0 0 1 0 0 0</string>
<string>station_turret1 0 589.6975 1351.527 1 0 0 0</string>
<string>station_turret2 -589.6975 0 1351.527 1 0 0 -1</string>
<string>griff_station_bay 0 0 1150.0 1 0 0 0</string>
<string>*FLASHER* -64.97 684.5685 1482.745 5 1 0 52</string>
</array>
Not sure if this is related to the docking bay problems being reported in the last few posts of the random hits thread, where there's reports of docking bays not appearing or being positioned where turrets should be?
I'm using oolite v 1.71.2