I'm developing an add-on that allows defining your own modules and building spaceships out of them... believe me, I know everything about that problem :lol:
When I have groups of parameters of which there can be an arbitrary number, I usually would go with something like this, in keeping with the general Orbiter cfg syntax:
Code:
BEGIN_WHEEL
pos = x y z
axis = x y z
etc = something
END_WHEEL
Then the user can just put as many _WHEEL blocks into the config as he needs.
Or you could do it in one block, similar to Orbiter dockport definitions, which is more convienient for writing, but less so for reading:
Code:
BEGIN_WHEELS
; syntax: position<V3> axis<V3>
x y z x y z
x y z x y z
END_WHEELS
I know you'll need a bit more data for the wheels that actually steer, these are just bare bones examples of what I do in such cases.