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

Rookie_One1
Rebel Alliance
Posts: 1564
Joined: Thu Feb 26, 2004 12:01 am

Post by Rookie_One1 » Mon Jun 22, 2020 5:59 am

Hey Jeremy, concerning the hyper-space s-foil behavior, is it normal that no matter the setting that the player craft will ALWAYS close it's s-foils when entering hyperspace ?
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death

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

Post by JeremyaFr » Mon Jun 22, 2020 4:33 pm

Hello,
Are you using the latest versions of the hooks?

Rookie_One1
Rebel Alliance
Posts: 1564
Joined: Thu Feb 26, 2004 12:01 am

Post by Rookie_One1 » Mon Jun 22, 2020 5:55 pm

Yes
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death

Rookie_One1
Rebel Alliance
Posts: 1564
Joined: Thu Feb 26, 2004 12:01 am

Post by Rookie_One1 » Wed Jun 24, 2020 3:19 pm

do we know what is causing the player craft (not the AI craft, important distinction there) to close it's s-foils no matter what the CloseSFoilsInHyperspace setting is setted to ?
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death

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

Post by JeremyaFr » Wed Sep 02, 2020 10:41 am

UPDATE

Hello,
I've updated the s-foil hook.

I've updated the landing gears description.

The format of the ini section is the same for S-Foils and Landing Gears.
The s-foils are opened by default. When the mesh rotation angle is 0, it means that the s-foil is opened. When the mesh rotation angle is equal to the setting angle, it means that the s-foil is closed.
The landing gears are closed by default. When the mesh rotation angle is 0, it means that the landing gear is closed. When the mesh rotation angle is equal to the setting angle, it means that the landing gear is opened.
So closing and opening speeds are inverted for the landing gears.

For S-Foils, the format is:

Code: Select all

mesh index, angle, closing speed, opening speed.
For Landing Gears, the format is:

Code: Select all

mesh index, angle, opening speed, closing speed.

Exiled
Recruit
Posts: 8
Joined: Thu Jul 09, 2020 6:33 pm

Post by Exiled » Wed Sep 02, 2020 1:00 pm

Hello Jeremy

I've just downloaded the hooks using XWAHookSetup, but the date for the Hook_Sfoils.dll is 22/07/2020, then looking at the individual zip in the Hooks folder, I unzipped xwa_hook_sfoils.zip, and the only file to be updated what the readme file, the dll hasn't changed

also it might be helpful it you updated the example txt files to show what you have changed and give a proper example as you explanation above isn't very clear

Your XwingSFoils.txt, BWingSFoils.txt and ShuttleSFoils.txt are only relevant for the original craft models and not the XWAUP craft models, since your involved with the XWAUP, wouldn't examples for the XWAUP craft be better?

For example your XWingSFoils.txt looks like this

Code: Select all

;mesh index, angle, closing speed, opening speed
1, 8, 1, 1
2, 12, 1, 1
3, 12, 1, 1
4, 8, 1, 1

CloseSFoilsInHyperspace = 1
SFoilsAnimationSpeed = 1
But the Xwing.ini the Sfoils and landing gear sections look like this

Code: Select all

[SFoils]
;mesh index, angle, closing speed, opening speed
1, 8, 1, 1
2, 12, 2, 2
3, 12, 2, 2
4, 8, 1, 1
10, 8, 1, 1
11, 12, 2, 2
12, 12, 2, 2
13, 8, 1, 1
14, 8, 1, 1
15, 12, 2, 2
16, 12, 2, 2
17, 8, 1, 1

CloseSFoilsInHyperspace = 1
SFoilsAnimationSpeed = 1

[SFoilsLandingGears]
;mesh index, angle, closing speed, opening speed
34, 64, 20, 3
35, 64, 20, 3
36, 50, 4, 8
37, 12, 1, 2
38, 12, 1, 1
39, 12, 1, 1
This is without your latest changes, would you please give an example of what these sections now look like with your latest changes please

Thank you, this would be a greater help to understanding what you have changed

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

Post by JeremyaFr » Wed Sep 02, 2020 2:29 pm

Hello,

I only changed the readme:
hook_sfoils: update landing gears description

Exiled wrote:
Wed Sep 02, 2020 1:00 pm
This is without your latest changes, would you please give an example of what these sections now look like with your latest changes please

Code: Select all

[SFoils]
;mesh index, angle, closing speed, opening speed
1, 8, 1, 1
2, 12, 2, 2
3, 12, 2, 2
4, 8, 1, 1
10, 8, 1, 1
11, 12, 2, 2
12, 12, 2, 2
13, 8, 1, 1
14, 8, 1, 1
15, 12, 2, 2
16, 12, 2, 2
17, 8, 1, 1

CloseSFoilsInHyperspace = 1
SFoilsAnimationSpeed = 1

[SFoilsLandingGears]
;mesh index, angle, opening speed, closing speed
34, 64, 20, 3
35, 64, 20, 3
36, 50, 4, 8
37, 12, 1, 2
38, 12, 1, 1
39, 12, 1, 1

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 5792
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Wed Sep 02, 2020 3:01 pm

So what Jeremy is saying, just to be completely clear for everyone in non technical speak, there are NO changes to the Hook itself.
All that has changed is the readme file to reflect a better editing experience.

Old INI files will say
[SFoilsLandingGears]
;mesh index, angle, closing speed, opening speed

New ones in the future will say.

[SFoilsLandingGears]
;mesh index, angle, opening speed, closing speed

It's just switching 2 lines around for the Landing Gear description so that it makes proper sense.
It has no affect on the performance of any ships currently made. So nothing needs reinstalling etc. Just a descriptive wording change.
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

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

Post by JeremyaFr » Sat Oct 10, 2020 3:01 pm

UPDATE

Hello,
I've updated the s-foils hook.

Changes are:
- fix CloseSFoilsInHyperspace for player craft
- add AllowFireWhenSFoilsAreClosed
- add AutoCloseSFoils

The CloseSFoilsInHyperspace setting now works for the player craft.
With the AllowFireWhenSFoilsAreClosed setting, the player can fire when the s-foils are closed.
With the AutoCloseSFoils setting, you can choose between automaticaly or manualy close and open the s-foils and landing gears.

Rookie_One1
Rebel Alliance
Posts: 1564
Joined: Thu Feb 26, 2004 12:01 am

Post by Rookie_One1 » Sat Oct 17, 2020 9:25 pm

Thanks Jeremy
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death

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

Post by JeremyaFr » Thu Oct 22, 2020 6:18 pm

UPDATE

Hello,
I've updated the s-foils hook.

I've added support for object replacement.

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

Post by JeremyaFr » Thu Feb 25, 2021 5:34 pm

UPDATE

Hello,
I've updated the s-foils hook.

I've added a "ParkOrderSFoilsClosed" setting.
To close the S-Foils when the craft is parked, set the ParkOrderSFoilsClosed setting. To enable, set "1". To disable, set "0". The default value is "0".

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

Post by JeremyaFr » Tue Mar 16, 2021 2:10 pm

UPDATE

Hello,
I've updated the sfoils hook.

Thank to @marcop000, the in-game messages are now translated.

To set the language of the messages, set the Language setting.
Possible values are: it, es, fr, de, en
The default value is en.

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 5792
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Tue Mar 16, 2021 3:17 pm

JeremyaFr wrote:
Tue Mar 16, 2021 2:10 pm
UPDATE
Hello,
I've updated the sfoils hook.
Thank to @marcop000, the in-game messages are now translated.
To set the language of the messages, set the Language setting.
Possible values are: it, es, fr, de, en
The default value is en.
Great work Jeremy and Marco! To elaborate with a little more detail for people:
The translated messages refer to in-game S-foil events, like: Open S-foils, close Landing Gear, that kind of thing.

To use the Language setting, open Hook_Sfoils.cfg from the main XWA folder with Notepad etc.
The setting will be at the bottom of the list. The options are: it (Italian), es (Spanish), fr (French), de (German), en (English)
Change the Language = setting from en to to what you want it to be. The default value is en.

These Updates will also be in our next release. If you change the setting you may sometimes find you have to reset it after some Update installations.
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

marcop000
Cadet 1st Class
Posts: 160
Joined: Fri Dec 27, 2019 7:08 pm

Post by marcop000 » Tue Mar 16, 2021 4:30 pm

Hi @Ace Antilles ,

This is only the beginning.

My plan is translate xwing converter, xvt converter and TFTC in (Italian, Spanish, French and German).

In these days I'am working to a software that do it.

I have tried to send another private message to JeremyaFr, but the message is not sent I don't known why.

I ask here my question:

I have some problem to translate the ingame messages becouse if are long will be cutted (Generally the Italian, Spanish, German are more longer then English) and is frequent that are cutted.

For this reason I like to remove this limit if is possible.

@JeremyaFr I ask if you can help me for this.

I don't sure to have sufficent experience to solve this problem.

Thanks !

User avatar
JaggedFel
Galactic Empire
Posts: 306
Joined: Wed Sep 06, 2006 11:01 pm
Contact:

Post by JaggedFel » Mon Apr 12, 2021 12:05 am

@JeremyaFr, I'm looking at rolling in the latest updates to the hooks to YOGEME and I noticed that for the S-foils hook in the Mission section, it's looking for "CloseSFoilsAndOpenLangingGearsBeforeEnterHangar" and "CloseLangingGearsBeforeEnterHyperspace". Readme also says this, so technically everything's fine, but fixing the typo will probably cause less head scratching as people use it.
Ye Olde Galactic Empire Mission Editor v1.9.2
Current software WIPs: TIE Layout and Cutscene Editor, TIE/XvT Cockpit Editor
Libraries / Format specs: *.tie, *.plt, *.tfr, *.lfd , *.act, *.dat image files, *.fnt

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

Post by JeremyaFr » Mon Apr 12, 2021 3:21 pm

UPDATE

Hello,
I've updated the s-foils hook.

I've fixed a typo reported by @JaggedFel (Thank you)

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 5792
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Mon Apr 12, 2021 5:23 pm

JaggedFel wrote:
Mon Apr 12, 2021 12:05 am
@JeremyaFr, I'm looking at rolling in the latest updates to the hooks to YOGEME and I noticed that for the S-foils hook in the Mission section, it's looking for "CloseSFoilsAndOpenLangingGearsBeforeEnterHangar" and "CloseLangingGearsBeforeEnterHyperspace". Readme also says this, so technically everything's fine, but fixing the typo will probably cause less head scratching as people use it.
I think I was trying that the other day. No wonder it didn't work!
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

Post Reply