• Hello and welcome to MSFC. We are a small and close knitted community who specialises in modding the game Star Trek Armada 2 and the Fleet Operations modification, however we have an open field for discussing a number of topics including movies, real life events and everything in-between.

    Being such a close community, we do have some restrictions, including all users required to be registered before being able to post as well as all members requiring to have participated in the community for sometime before being able to download our modding files to name the main ones. This is done for both the protection of our members and to encourage new members to get involved with the community. We also require all new registrations to first be authorised by an Administrator and to also have an active and confirmed email account.

    We have a policy of fairness and a non harassment environment, with the staff quick to act on the rare occasion of when this policy is breached. Feel free to register and join our community.

Build and Dock Hardpoint Question

dvatreknerd314

Lieutenant, Junior Grade
Clone Force 99
Joined
31 Jul 2012
Messages
1,373
Age
32
Hey everyone, I've got a question regarding hardpoints for building and docking, specifically how to specify the direction ships are supposed to come out of (for building) and dock at a starbase. I'll include this as a reference:
Hardpoint%2520Question.png
If I wanted to have a ship build from the lower hardpoint and go south from that hardpoint, how would I bring this about? I've tried adding another hardpoint in the direction I want it to go (as this method works for both orienting weapon hardpoints and sprite hardpoints), but it doesn't seem to work for docking and building. Instead, in both building and docking, the direction of the ships defaults to north. Would I have to modify something in the ODF of the file to get it to work, or is there a way to do this in Milkshape with hardpoints? Thanks!
 

MrVulcan

Crewman 2nd Class
Joined
17 Aug 2011
Messages
142
I'm not sure why the dock, repair, and build hardpoints aren't exporting properly in Milkshape. Looking at the exporter source, it seems that any "child" node will have orientation saved correctly (or semi-correctly)

Anyhow, if you are able to get "hp" type nodes exported fine, why don't you use "hp00" and "hp01" as dock/repair/build hardpoints?

You can change those in the ODF via:

Code:
repairHardpoint = "hp17"
buildHardpoint = "hp00"
dockingHardpoint = "hp00"

Also, you can change the side of the ship that aligns with the repair hp. The following was taken from the FleetOps Guide:

Code:
repairSide = #
0 = Center
1 = Left
2 = Right
3 = Aft right
4 = Aft
5 = Aft left
6 = Below
7 = Below right
8 = Above
9 = Above left
10 = Above right
 

dvatreknerd314

Lieutenant, Junior Grade
Clone Force 99
Joined
31 Jul 2012
Messages
1,373
Age
32
I'm not sure why the dock, repair, and build hardpoints aren't exporting properly in Milkshape. Looking at the exporter source, it seems that any "child" node will have orientation saved correctly (or semi-correctly)

Anyhow, if you are able to get "hp" type nodes exported fine, why don't you use "hp00" and "hp01" as dock/repair/build hardpoints?

I think the node's orientation is correctly exported, however I'm not certain how Armada 2 is interpreting those. I did notice one thing about trying to get emitter sprites to point in the right direction using milkshape: you have to make the joint point in the opposite direction (along the x axis only) to get the emitter orientation right. I'm wondering if a similar peculiarity exists when trying to orient docking and building hardpoints.
 

dvatreknerd314

Lieutenant, Junior Grade
Clone Force 99
Joined
31 Jul 2012
Messages
1,373
Age
32
I found the problem. The x-direction of the joints needed to be switched. It all works now :)
 

MrVulcan

Crewman 2nd Class
Joined
17 Aug 2011
Messages
142
Cool, great that you solved the problem. For reference, build/repair/dock hp's use y-axis as forward, z as "up", and x is to the right side of the ship.

Cheers
 
Top