I thought I'd set conditions in the shipdata for the Raceedat Coriolis station but a quick look reveals that I didn't! Although it has a very low role of 'station', it also has a coriolis as a role, which in testing I didn't find a problem, however, this should be changed to 'coriolis(0)' to avoid making it appear in other systems.
Other than the name a Raceedat station is the same as any other Coriolis station, but uses the Gritty Coriolis OXP texture.
The line of code quoted before,
<string>addSystemShips: SIRF-YARD0 1 1.0</string>
will always attempt to put a station on top of an existing one, rather than replacing it through Oolite's system populator based on roles.
Download Resistance Commander plus many other exciting OXPs HERE
will always attempt to put a station on top of an existing one, rather than replacing it through Oolite's system populator based on roles.
Thanks for the clarification!
I never got the idea that something could be wrong with the above line, because the SIRFYards always spawned correctly in my game, the main stations too, and no one seems to have observed this docking slit clash before ...
For the RS successor, this problem has accidentally already been resolved, as the SIRFYards are no longer adjacent to the main station, but far-out in TL 12+ systems where they will quite probably not be able to crash into anything.
I never got the idea that something could be wrong with the above line, because the SIRFYards always spawned correctly in my game, the main stations too, and no one seems to have observed this docking slit clash before ...
For the RS successor, this problem has accidentally already been resolved, as the SIRFYards are no longer adjacent to the main station, but far-out in TL 12+ systems where they will quite probably not be able to crash into anything.
Obviously, the bug is more complex than that. If I take RS out, the stations do not become Raceedat-type ones, but even the RS successor, which does not place SIRFs in those systems, does not remove the additional walls!
Thus, RS seemingly affects the selection of the station, but the walls appear to come from somewhere else. Anyway, the oxp that did add the Raceedat stations has been updated - I didn't update yet, but I guess after I do, there will at max be one station with those walls in it.
The walls are definitely not from the replaced coriolis. They more likely appear to be from a dodo or navy station (the latter probably the source).
I noticed that if you use the offending 'wall' as the ceiling/floor, you won't receive any damage, as the stations actual docking bay is not represented with any collision detection, but the dislocated one is.
Don't know if that makes any difference to your bug hunt..
Could it be that the station simply uses the wrong docking bay? In the game there are two variants: One horizontal and one vertical bay. If you insert the vertical variant into a horizontal hole in the station (or vice versa) you would get the effect you are observing.
And by the way: I just observed this with a Behemoth II which had its docking bay fitted vertically into its horizontal slit.
If it's not the wrong bay in the first place, then it is for some reason turned by 90 degrees. I remember we had problems with misplaced/misaligned subentities before, and I remember that the position of the docking bay in the subentity list is important. I think it has to be the first subentity in the list. Perhaps it would be worthwhile checking that out.