Page 10 of 11

Re: Editing S-Foils

Posted: Mon Jun 22, 2020 5:59 am
by Rookie_One1
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 ?

Re: Editing S-Foils

Posted: Mon Jun 22, 2020 4:33 pm
by JeremyaFr
Hello,
Are you using the latest versions of the hooks?

Re: Editing S-Foils

Posted: Mon Jun 22, 2020 5:55 pm
by Rookie_One1
Yes

Re: Editing S-Foils

Posted: Wed Jun 24, 2020 3:19 pm
by Rookie_One1
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 ?

Re: Editing S-Foils

Posted: Wed Sep 02, 2020 10:41 am
by JeremyaFr
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.

Re: Editing S-Foils

Posted: Wed Sep 02, 2020 1:00 pm
by Exiled
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

Re: Editing S-Foils

Posted: Wed Sep 02, 2020 2:29 pm
by JeremyaFr
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

Re: Editing S-Foils

Posted: Wed Sep 02, 2020 3:01 pm
by Ace Antilles
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.

Re: Editing S-Foils

Posted: Sat Oct 10, 2020 3:01 pm
by JeremyaFr
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.

Re: Editing S-Foils

Posted: Sat Oct 17, 2020 9:25 pm
by Rookie_One1
Thanks Jeremy

Re: Editing S-Foils

Posted: Thu Oct 22, 2020 6:18 pm
by JeremyaFr
UPDATE

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

I've added support for object replacement.

Re: Editing S-Foils

Posted: Thu Feb 25, 2021 5:34 pm
by JeremyaFr
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".

Re: Editing S-Foils

Posted: Tue Mar 16, 2021 2:10 pm
by JeremyaFr
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.

Re: Editing S-Foils

Posted: Tue Mar 16, 2021 3:17 pm
by Ace Antilles
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.

Re: Editing S-Foils

Posted: Tue Mar 16, 2021 4:30 pm
by marcop000
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 !

Re: Editing S-Foils

Posted: Mon Apr 12, 2021 12:05 am
by JaggedFel
@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.

Re: Editing S-Foils

Posted: Mon Apr 12, 2021 3:21 pm
by JeremyaFr
UPDATE

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

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

Re: Editing S-Foils

Posted: Mon Apr 12, 2021 5:23 pm
by Ace Antilles
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!

Re: Editing S-Foils

Posted: Sun May 30, 2021 7:16 pm
by JeremyaFr
UPDATE

Hello,
I've updated the sfoils hook.

I've added Sfx_SFoil. You can now add custom sounds for the s-foils on a per-craft basis.

For SFoil sounds, sounds defined in "Wave\Sfx_SFoil.lst" are used if the lst file exists. The sounds are indexed by the crafts model index.

To setup Sfx_SFoil, copy the following files to WAVE\Sfx_SFoil\
From WAVE\FE_HIGH_RES\
Copy files:
S-Foil.wav

Re: Editing S-Foils

Posted: Sat Nov 27, 2021 2:58 pm
by JeremyaFr
WIP

Hello,
Here is a WIP version of the S-Foils hook.

I've added a new feature: hangar doors.

To create hangar doors, create a file named "FlightModels\[Model]SFoilsHangarDoors.txt" or create a section named "[SFoilsHangarDoors]" in "FlightModels\[Model].ini".

The format is a line per mesh:
mesh index, angle, opening speed, closing speed.

When a craft of the same team approach the hangar, the doors are opened. The doors are not opened if an enemy craft is near the hangar. When there is no craft near the hangar, the doors are closed.
To define the distance from the craft with the hangar, create a setting name "HangarDoorsDistance". The default value is 16384.
The hook uses hangars for Starships, Freighters, Platforms, and uses near crafts for Starfighters, Utility Vehicules, Transports, Droids.

Download:
xwa_hook_sfoils_WIP.zip

Re: Editing S-Foils

Posted: Sat Nov 27, 2021 3:02 pm
by Vince T
Oh this is great! I have a load of custom ship remakes in the pipeline that can benefit from this!
Great work!

Re: Editing S-Foils

Posted: Sat Nov 27, 2021 3:03 pm
by Ace Antilles
This looks very interesting!
Hopefully next we can get opening canopys or ramps when you land inside the hangar itself :)

Re: Editing S-Foils

Posted: Sun Nov 28, 2021 6:15 am
by Bman
Awesome Jeremy. Thanks! In addition, I suppose in a clever way, as long as the transformation vectors of the hangar door mesh(es) are setup correctly, they could even act as "force field" meshes. Maybe have a static transparent texture replaced with a delayed semi-transparent animations effect. Not sure how the timing would work, or if such a trigger event could work with the effects animation feature. I'm thinking of the new Platform stations for example with their forcefields.

Re: Editing S-Foils

Posted: Fri Dec 24, 2021 1:54 pm
by JeremyaFr
WIP

Hello,
Here is a new WIP of the sfoils hook.

I've added hangar hatches. Hatches can be opening canopies or ramps.

To create object hatches or ramps, create a file named "FlightModels\[Model]SFoilsHatches.txt" or create a section named "[SFoilsHatches]" in "FlightModels\[Model].ini".
The format is a line per mesh:
mesh index, angle, opening speed, closing speed.

Download:
xwa_hook_sfoils_WIP_2112232005.zip

Re: Editing S-Foils

Posted: Fri Dec 24, 2021 11:19 pm
by Ace Antilles
JeremyaFr wrote:
Fri Dec 24, 2021 1:54 pm
WIP

Hello,
Here is a new WIP of the sfoils hook.

I've added hangar hatches. Hatches can be opening canopies or ramps.

To create object hatches or ramps, create a file named "FlightModels\[Model]SFoilsHatches.txt" or create a section named "[SFoilsHatches]" in "FlightModels\[Model].ini".
The format is a line per mesh:
mesh index, angle, opening speed, closing speed.

Download:
xwa_hook_sfoils_WIP_2112232005.zip
This works brilliantly so far!!
Lots of new possibilities and some have already been planned in advance :D ;)