I think I figured out how NPC ships are placed in formations but the player ship doesn’t seem to know where to go when forming with the capship formations.
Here are the formations:
[Formation]
nickname = battleship_wall
pos = 0, 0, 0
pos = 400, 0, 0
pos = -400, 0, 0
pos = 400, 200, 0
pos = -400, 200, 0
pos = 400, -200, 0
pos = -400, -200, 0
pos = 0, 200, 0
pos = 0, -200, 0
pl_pos = 0, 50, 225
[Formation]
nickname = battleship_cruisers
pos = 0, 0, 0
pos = 200, 70, 150
pos = -200, 70, 150
pos = 50, 100, 200
pos = -50, 100, 200
pos = -100, 130, 230
pos = 100, 130, 230
pos = -150, 150, 260
pos = 150, 150, 260
pl_pos = 0, 50, 225
[Formation]
nickname = battleship_cruiser_fighter
pos = 0, 0, 0
pos = 200, 70, 150
pos = -200, 70, 150
pos = 150, 100, 00
pos = -150, 100, 00
pos = -200, 130, 30
pos = 200, 130, 30
pos = -250, 100, 00
pos = 250, 100, 00
pl_pos = 0, 50, 225
[Formation]
nickname = battleship_delta
pos = 0, 0, 0
pos = 50, 70, 50
pos = -50, 70, 50
pos = 75, 100, 75
pos = -75, 100, 75
pos = 50, -70, 50
pos = -50, -70, 50
pos = 75, -100, 75
pos = -75, -100, 75
pl_pos = 0, 50, 225
[Formation]
nickname = cruiser_delta
pos = 0, 0, 0
pos = 50, 70, 50
pos = -50, 70, 50
pos = 75, 100, 75
pos = -75, 100, 75
pos = 100, 100, 90
pos = -100, 100, 90
pl_pos = 0, 50, 225
[Formation]
nickname = cruiser_gunboat_fighter
pos = 0, 0, 0
pos = 50, 70, 50
pos = -50, 70, 50
pos = 75, 50, -75
pos = -75, 50, -75
pos = 100, 60, -60
pos = -100, 60, -60
pl_pos = 0, 50, 225
[Formation]
nickname = destroyer_gunboat_fighter
pos = 0, 0, 0
pos = 100, 0, 20
pos = -100, 0, 20
pos = 35, 10, -75
pos = -35, 10, -75
pos = 50, 20, -60
pos = -50, 20, -60
pl_pos = 0, 50, 225
If I read these correctly, the player ship (pl_pos) should be slightly above and well behind the 0, 0, 0 ship and inline with it.
So, directly behind and slightly above.
The player ship however seems to be searching for its place in the formation and always ends up nose down looking at the capship, advancing forward, and then correcting position.
Formations seem to work when forming with transports…
[Formation]
nickname = escort_transports_delta_formation
pos = 0, 0, 0
pos = 50, -50, 0
pos = -25, 50, 100
pos = 75, 50, 100
pos = -75, 50, 75
pos = 125, 50, 75
pl_pos = 25, 50, 225
they work fine when forming with Walker’s formation in SP…
[Formation]
nickname = walkers_formation
pos = 0, 0, 0
pos = -100, -100, 100
pos = 100, -100, 100
pos = -100, 100, 200
pos = 100, 100, 200
pos = -200, 0, 0
pos = 200, 0, 0
pl_pos = 0, 0, 400
Any suggestions?
Thanks
R