Custom Hangars

A Forum dedicated to the Suggestion, Creation and Editing of XWA Dynamic Link Library Files

Moderator: JeremyaFr

Post Reply

Re: Custom Hangars

User avatar
ual002
Lieutenant
XWAU Member
Posts: 783
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Wed Jul 29, 2020 9:25 pm

So far so good with the Player only invert stuff. I'd say adding some indicators for the Shuttle, player and droids would be a nifty thing to add to the XWA Hangar Map Editor eventually. Basically have it read the stuff from the [HangarObjects] section. No rush there, that something for quality of life/ease of use for others later.

I'm gonna test the IFF stuff now on a Dreadnaught.
Image Image Image Image Image

User avatar
ual002
Lieutenant
XWAU Member
Posts: 783
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Fri Jul 31, 2020 3:24 am

Tests are going well, I have an IFF coded Nebulon B frigate I finished. It made me wonder if I could sub out the animated shuttle for a TIE fighter. I can, but its orientation in the hangar is a little wonky. I wonder if its possible to adjust the initial heading position of the animated shuttle while parked? Ideally I'd like to be able to specify any heading and make it turn to face the hangar exit, but I'd be happy with a straight forward heading and launch. I could replicate NPC floor and rack launch fighters this way.
Image Image Image Image Image

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Mon Aug 03, 2020 6:51 pm

WIP

Hello,
I've updated the WIP version.

I've added a ShuttleOrientation setting.
To set the shuttle orientation, set "ShuttleOrientation = value". value is an unsigned integer. The default value is 43136.

EDIT: link removed

User avatar
ual002
Lieutenant
XWAU Member
Posts: 783
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Mon Aug 03, 2020 8:23 pm

That's fantastic. I will experiment Immediately.
Image Image Image Image Image

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Wed Aug 05, 2020 7:46 pm

WIP

Hello,
I've updated the WIP version.

I've added PlayerOffsetX and PlayerOffsetY settings.

To set the x position offset of the player craft, set "PlayerOffsetX = value". value is an integer. The default value is 0.
To set the y position offset of the player craft, set "PlayerOffsetY = value". value is an integer. The default value is 0.
To set the z position offset of the player craft, set "PlayerOffsetZ = value". value is an integer. The default value is 0.

EDIT: link removed

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Thu Aug 06, 2020 4:28 pm

WIP

Hello,
I've updated the WIP version.

I've added a workaround for the shuttle sound effects in the hangar.

EDIT: link removed

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Fri Aug 07, 2020 12:42 pm

WIP

Hello,
I've updated the WIP version.

I've fixed the shuttle rotation.
If the orientation value is greater or equal to 32768 (or equal to 0), the rotation is clockwise, else it is anticlockwise.

EDIT: link removed

User avatar
ual002
Lieutenant
XWAU Member
Posts: 783
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Sat Aug 08, 2020 1:04 am

Shuttle turning works great.
Image Image Image Image Image

Bman
Lieutenant
Posts: 864
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Sun Aug 09, 2020 12:24 am

Hi Jeremy, might have asked this before. Apologies if so. Assume player craft is still in the hangar before mission start. Is it possible to have more than one A.I. shuttle craft (animation) taking off and landing in the hangar, and if so, can they be at different time intervals? For example, the lambda shuttle (index 50) does it's usual routine, and another separate craft (starfighter or whatever) comes and goes at "x" seconds independently from the Lambda Shuttle. I suppose one of them would have to be the return craft in the animation for the player since his starfighter was destroyed during mission play.
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

User avatar
ual002
Lieutenant
XWAU Member
Posts: 783
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Sun Aug 09, 2020 1:33 am

I support this.

But I also expect there is a way to separate the recovery shuttle from the arrival/departure shuttle.
Image Image Image Image Image

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Mon Aug 10, 2020 7:18 pm

WIP

Hello,
I've updated the WIP version.

I've added a HangarIff setting.
To set the hangar flightgroup color, set "HangarIff = value". value is an integer. The default value is -1. -1 means that the IFF of the command ship is used.

xwa_hook_hangars_WIP.zip
You do not have the required permissions to view the files attached to this post.

Post Reply