Editing S-Foils

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

Moderator: JeremyaFr

Post Reply

Re: Editing S-Foils

baggy101
Cadet 2nd Class
Posts: 72
Joined: Mon Feb 02, 2015 9:32 am

Post by baggy101 » Wed May 16, 2018 10:08 pm

Hi, ive got a problem with the skipray. It folds in half the wrong way to the left if that makes sense. How would I change it to rotate the way it should please?

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Wed May 16, 2018 10:33 pm

Replace the text in SkiprayBlastboatSFoils.txt with:

Code: Select all

;mesh index, angle, closing speed, opening speed
3, 64, 3, 3
4, 64, 3, 3
9, 64, 3, 3
14, 64, 3, 3
15, 64, 3, 3
16, 64, 3, 3
17, 64, 3, 3
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

User avatar
Grecoor
Recruit
Posts: 5
Joined: Thu Aug 09, 2018 8:05 am

Post by Grecoor » Mon Aug 13, 2018 7:32 pm

Hi, I have a question about s-foils. I´ve been using Gammatrons B-wing E and except in slot nr 4 I cant get the s-foils to work properly. The problem is the player camera will not follow the mesh of the cockpit. I tried the ship in both slot 42 and 68 and I even moved the b-wing around the slot list and the same problem happens with it when it´s not in slot 4. Is there a known solution to this (except the obvious of putting it in slot4)?

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

Post by JeremyaFr » Tue Aug 14, 2018 1:03 pm

Hello,
Which version/mod of the game do you use?
Vanilla CD, GoG, Steam? XWAUCP, DSUCP, none of them, other?

User avatar
Grecoor
Recruit
Posts: 5
Joined: Thu Aug 09, 2018 8:05 am

Post by Grecoor » Tue Aug 14, 2018 1:35 pm

Hi I´m using GoG version 2.02 with DSUCP v2.5.

I like to point out that every other custom ship with s-foils seems to be working. It´s just the B-wing that´s not. As far as I know that is the only ship model that turns the bridge area during closing of the s-foils.
As I said, the B-wing/E works in the nr4 slot but not in the others I tested it in. And to test I moved the B-wing around and the same thing happens to that ship.
Can there be something that needs to be added to the Hook to make the camera turn as well, or have botched my install somehow? Is there any other slot I can test a B-wing craft in that we know of were it should work?

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

Post by JeremyaFr » Tue Aug 14, 2018 2:25 pm

Making the camera turn for B-Wing on S-Foils closing for slots other than 4 is not yet supported.

User avatar
Grecoor
Recruit
Posts: 5
Joined: Thu Aug 09, 2018 8:05 am

Post by Grecoor » Tue Aug 14, 2018 2:29 pm

Aahhh. Good to know it wasen'nt anything wrong with my install. Thanks for the quick respons and your awesome work!

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

Post by JeremyaFr » Tue Aug 14, 2018 7:33 pm

Hello,
You can try this:

Code: Select all

# To align the camera with the bridge
At offset 08058C, replace 0F85F5000000 with 909090909090.
At offset 080D7C, replace 0F85E0000000 with 909090909090.
At offset 08304B, replace 0F85E9000000 with 909090909090.
If this works, I will include it in the hook.

User avatar
Grecoor
Recruit
Posts: 5
Joined: Thu Aug 09, 2018 8:05 am

Post by Grecoor » Tue Aug 14, 2018 8:11 pm

JeremyaFr wrote:
Tue Aug 14, 2018 7:33 pm
Hello,
You can try this:

Code: Select all

# To align the camera with the bridge
At offset 08058C, replace 0F85F5000000 with 909090909090.
At offset 080D7C, replace 0F85E0000000 with 909090909090.
At offset 08304B, replace 0F85E9000000 with 909090909090.
If this works, I will include it in the hook.
Holy Palpatine it works! You are a godsend! Good work.

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

Post by JeremyaFr » Wed Aug 15, 2018 12:37 pm

UPDATE

Hello,
I've updated the S-Foils hook to include the above patch.

Please redownload xwa_hook_sfoils.zip

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Wed Aug 15, 2018 7:54 pm

Cool thanks :)
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

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

Post by JeremyaFr » Wed Aug 29, 2018 4:40 pm

UPDATE

Hello,
I've found and fixed a bug in hook_sfoils.

Please redownload xwa_hook_sfoils.zip

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Wed Aug 29, 2018 10:22 pm

Brilliant you've fixed it

32 = 45 Degrees
64 = 90 Degrees
96 = 135 Degrees
128 = 180 Degrees
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

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

Post by JeremyaFr » Fri Aug 31, 2018 3:11 pm

UPDATE

Hello,
I've fixed a bug in hook_sfoils related to the bridge alignment.

Please redownload xwa_hook_sfoils.zip

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Fri Sep 21, 2018 12:57 pm

Something to think about Jeremy, when you enter the Pilot Proving Gounds, craft like the X-Wing and B-Wing automatically have there S-Foils open, but if you select any other craft with S-Foils (with the use of CraftSelectionCrafts.txt) there S-Foils remain closed and you have to press the "V" key to open them.

So my question is, Is there away to have any or all craft with S-Foils to automatically have there s-Foils open at the start of a Mission/Skirmish or Pilot Proving Ground?

Thanks
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

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

Post by JeremyaFr » Fri Sep 21, 2018 2:37 pm

UPDATE
I've updated the model filter.
The S-Foils will open at mission start for any craft.

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Fri Sep 21, 2018 2:54 pm

Wow your a machine :)
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Sat Sep 22, 2018 9:29 pm

Jeremy, I just noticed there's a problem with the "The S-Foils will open at mission start for any craft." update you made, it's with the shuttle that takes off in the hangar, it lifts off, but while it's turning around the sfoils open before it's left the hangar, so the wings are through the hangar floor. :(
shuttlefloorwings.jpg
You do not have the required permissions to view the files attached to this post.
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

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

Post by JeremyaFr » Sun Sep 23, 2018 3:09 pm

UPDATE
Darksaber wrote:
Sat Sep 22, 2018 9:29 pm
it's with the shuttle that takes off in the hangar, it lifts off, but while it's turning around the sfoils open before it's left the hangar, so the wings are through the hangar floor. :(
fixed

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Sun Sep 23, 2018 9:40 pm

Thanks Jeremy, that did it :)
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

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

Post by JeremyaFr » Wed Nov 28, 2018 5:33 pm

UPDATE

Hello,
I've fixed a bug in the sfoils hook that leads to a "The called hook was not correctly installed or initialized" error.

Please redownload xwa_hook_sfoils.zip

User avatar
DTM
Fleet Admiral (Administrator)
Posts: 2119
Joined: Tue Apr 22, 2003 11:01 pm
Contact:

Post by DTM » Mon Dec 24, 2018 2:11 pm

Hallo Jeremy,
I'm not sure if this is only with the latest version of the hook…:
I fly b0m8 using the test version of the Y-Wing with Landing gears.

Starting the mission, Sfoils opens automatically. That's ok.
Jumping into hyperspace, arriving in the new area, Sfoils close automatically...You have to press "V" every time you arrive into a new area to active the main wapons and close Landing gears…

Please get a look. Thanks!

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

Post by JeremyaFr » Mon Dec 24, 2018 3:10 pm

Hello,
you can try that:

Code: Select all

At offset 1081E4, replace 7405 with EB05.

User avatar
DTM
Fleet Admiral (Administrator)
Posts: 2119
Joined: Tue Apr 22, 2003 11:01 pm
Contact:

Post by DTM » Tue Dec 25, 2018 4:43 pm

Thanks Jeremy,
with this mod it works correctly!

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

Post by JeremyaFr » Wed Dec 26, 2018 12:46 pm

UPDATE

Hello,
I've included the above patch to the sfoils hook.

Please redownload xwa_hook_sfoils.zip

Post Reply