Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: blowfish on February 08, 2008, 09:09:13 pm

Title: How do I do dockpoints?
Post by: blowfish on February 08, 2008, 09:09:13 pm
I am working on a ship, which (like most ships) has docking ports.  I know that each port has to have two points, and where they have to be in relation to each other, but is there any specific requirement for how far apart they have to be?  And when I do the path, is there any specific requirements for where the points of the path should be?
Title: Re: How do I do dockpoints?
Post by: blowfish on February 09, 2008, 01:13:03 pm
Anyone?  :confused:
Title: Re: How do I do dockpoints?
Post by: Water on February 09, 2008, 02:00:01 pm
You could try opening some files in PCS2 and see how it has been done for other ships
Title: Re: How do I do dockpoints?
Post by: blowfish on February 09, 2008, 02:03:57 pm
I know how its done, I just want to know if there is anything that has to be a specific number.
Title: Re: How do I do dockpoints?
Post by: Vasudan Admiral on February 09, 2008, 07:05:39 pm
Bobboau's tut for PCS1 should help you out. Pretty much the same stuff applies to PCS2. :)

http://freespace.volitionwatch.com/blackwater/fstut/fstut_index01.htm

About the second dockpoint, it's only used to orientate the docking ship, so it's the direction of it compared to the first one that matters rather than the distance. Standard practice is just to stick it 1m in the appropriate direction.

As for the paths, you should use PCS2s awesome little auto-gen paths function. It should produce pretty good results in most cases once you have a dockpoint defined.
Title: Re: How do I do dockpoints?
Post by: blowfish on February 09, 2008, 08:40:38 pm
So the first dockpoint is in the center of your docking port, and the second is just in the appropriate direction?

EDIT: Spelling.
Title: Re: How do I do dockpoints?
Post by: Vasudan Admiral on February 09, 2008, 09:07:02 pm
Pretty much, yeah. :)