C++ Question Multiple Docking Ports

lethal_d0se

Addon Developer
Addon Developer
Joined
Jan 23, 2010
Messages
15
Reaction score
0
Points
0
Hello all, i'm using the ShuttlePB sample files to create a .dll for my ship. However the ShuttlePB only has one docking port.

How would one go about creating multiple docking ports?

Thanks for your time.
 

computerex

Addon Developer
Addon Developer
Joined
Oct 16, 2007
Messages
1,282
Reaction score
17
Points
0
Location
Florida
Hello all, i'm using the ShuttlePB sample files to create a .dll for my ship. However the ShuttlePB only has one docking port.

How would one go about creating multiple docking ports?

Thanks for your time.

Use the CreateDock API call.
 

marcogavazzeni

Addon Developer
Addon Developer
Joined
Jan 5, 2009
Messages
219
Reaction score
0
Points
16
Location
Near Verona
Website
orbiteritalia.forumotion.com
Hello all, i'm using the ShuttlePB sample files to create a .dll for my ship. However the ShuttlePB only has one docking port.

How would one go about creating multiple docking ports?

Thanks for your time.

DOCKHANDLE Dock0,Dock1;

Dock0 = CreateDock(_V(0,-2.248,13.097), _V(0,0,1), _V(0,1,0));
Dock1 = CreateDock(_V(0,-2.248,13.097), _V(0,0,1), _V(0,1,0));
 
Top