Editing S-Foils
Moderator: JeremyaFr
Re: Editing S-Foils
“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
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Rookie_One1
- Posts: 1657
- Joined: Thu Feb 26, 2004 12:01 am
stupid question : does the S-Foils close automatically for ships that usually do when they go in hyperspace and reopen when they exit ? (such as the B-Wing and the X-Wing) ?
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death
Current Holder of the Frying Pan of Death
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
The S-Foils will be opened when you exit hyperspace.
- keiranhalcyon7
- Posts: 599
- Joined: Tue Jan 02, 2018 6:41 am
It doesn't look like the s-foils are actually manipulated for hyperspace. I see npc X-Wings go into and emerge from hyperspace with s-foils open all the time. And switching quickly to exterior view after emerging from hyperspace does not show them opening (unlike at mission start). The actuation sounds do play, though.
- Rookie_One1
- Posts: 1657
- Joined: Thu Feb 26, 2004 12:01 am
Sorry, badly formatted question Jeremy,
I meant that for some of the craft, in vanilla game(for player ship at least) (and in lore), they jump to hyperspace with s-foils closed (X-Wing and B-Wing for example).
In the game, it meant that the s-foils would close automatically when you entered hyperspace and reopen automatically when exiting hyperspace (or maybe the game just play the sound for opening/closing the s-foils)
Anyway, Keiran answered, it look like the vanilla behavior is still there
Now, the big question is whether it's only present for those that is supposed to do that, or does it affect all craft with s-foils
I meant that for some of the craft, in vanilla game(for player ship at least) (and in lore), they jump to hyperspace with s-foils closed (X-Wing and B-Wing for example).
In the game, it meant that the s-foils would close automatically when you entered hyperspace and reopen automatically when exiting hyperspace (or maybe the game just play the sound for opening/closing the s-foils)
Anyway, Keiran answered, it look like the vanilla behavior is still there
Now, the big question is whether it's only present for those that is supposed to do that, or does it affect all craft with s-foils
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death
Current Holder of the Frying Pan of Death
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
WIP
Hello,
Here is a WIP version of the sfoils hook.
EDIT: link removed
When hyper out of hyperspace, the S-Foils of the AI controlled crafts will start closed and then they re-open.
Hello,
Here is a WIP version of the sfoils hook.
EDIT: link removed
When hyper out of hyperspace, the S-Foils of the AI controlled crafts will start closed and then they re-open.
- Vince T
- Posts: 14056
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
I gave it a quick test with the VSD in skirmish mode. Unfortunately it doesn't seem to work there. Had an ATR capture an enemy VSD. Once captured, it hypered out right away without closing the wings. Can somebody confirm it in a mission?
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death
Current Holder of the Frying Pan of Death
- Rookie_One1
- Posts: 1657
- Joined: Thu Feb 26, 2004 12:01 am
Sorry for double posting : Tested on B0m9, confirm it work when you hyper in (get in an area), it does not work when you hyper out (get out of an area)
When I check, Green 1 had it's s-foils opened when hypering out of area 1, but when arriving in area 2, it's s-foils were closed
When I check, Green 1 had it's s-foils opened when hypering out of area 1, but when arriving in area 2, it's s-foils were closed
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death
Current Holder of the Frying Pan of Death
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Sorry. There is a typo: it's "out of hyperspace", not "out to hyperspace".
"into hyperspace" is not yet implemented.
"into hyperspace" is not yet implemented.
- Vince T
- Posts: 14056
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Ah lol ok that explains a lot
Looking forward.
Looking forward.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
WIP
Hello,
Now the S-Foils are closed before entering into hyperspace.
EDIT: link removed
Hello,
Now the S-Foils are closed before entering into hyperspace.
EDIT: link removed
- Vince T
- Posts: 14056
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Just tested it with my vsd test mission. Works like a charm! Great job, Jeremy.
Only one thing I was wondering: Is 1 the lowest possible rotation speed? For the VSD I'd like to have the wings open/close a bit slower to give it more grandeur. Also, the closing animation seems to be a bit faster than the opening...
Only one thing I was wondering: Is 1 the lowest possible rotation speed? For the VSD I'd like to have the wings open/close a bit slower to give it more grandeur. Also, the closing animation seems to be a bit faster than the opening...
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
Rookie One, is that you?? - Ru Merleen, Rebel Spy at Imdaar Alpha
Current Holder of the Frying Pan of Death
Current Holder of the Frying Pan of Death
- Vince T
- Posts: 14056
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Tried that but then the wings won't move at all.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
The rotation value is stored as an integer. So the minimal value is 1.
I think that the animation being to fast is due to the fps. I will fix it. The game assumes a fps of 29.
I think that the animation being to fast is due to the fps. I will fix it. The game assumes a fps of 29.
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
WIP
Hello,
I've improved a bit the S-Foils animation speed.
EDIT: link removed
Hello,
I've improved a bit the S-Foils animation speed.
EDIT: link removed
- Vince T
- Posts: 14056
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Hmm that didn't work too well I'm afraid.
The rotation animation stutters severely, meanwhile all the 2d animations and the rotation speed in the library are noticably sped up.
The rotation animation stutters severely, meanwhile all the 2d animations and the rotation speed in the library are noticably sped up.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
I've found how to slow down the s-foils animation on a per craft basis.
I will add 2 settings to the ini file:
- one for disabling the closing and opening in hyperspace.
- one to slow down or speed up the animation. By default, the value will be 15: 1 is increased or decreased every 63 milliseconds. This value will be defined in the ini file. For instance, if you set the value to 29, then 1 is increased or decreased every 123 milliseconds.
I will add 2 settings to the ini file:
- one for disabling the closing and opening in hyperspace.
- one to slow down or speed up the animation. By default, the value will be 15: 1 is increased or decreased every 63 milliseconds. This value will be defined in the ini file. For instance, if you set the value to 29, then 1 is increased or decreased every 123 milliseconds.
- keiranhalcyon7
- Posts: 599
- Joined: Tue Jan 02, 2018 6:41 am
So this new setting would apply to all rotary meshes, and sets the base speed of the animations, in units of approximately 4.2ms?
-
- Posts: 28
- Joined: Fri Jun 14, 2019 1:35 am
So something interesting in skirmish. I was trying the S-foil hook and I copied the files into the appropriate directories and this happened at the end of the mission:
Also it seems that only the flight leader will actuate s foils. Wingmen still jump with s-foils open.
Also it seems that only the flight leader will actuate s foils. Wingmen still jump with s-foils open.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Is the speed one for individual craft or will it be per mesh?JeremyaFr wrote: ↑Tue Sep 03, 2019 8:15 pmI've found how to slow down the s-foils animation on a per craft basis.
I will add 2 settings to the ini file:
- one for disabling the closing and opening in hyperspace.
- one to slow down or speed up the animation. By default, the value will be 15: 1 is increased or decreased every 63 milliseconds. This value will be defined in the ini file. For instance, if you set the value to 29, then 1 is increased or decreased every 123 milliseconds.
“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
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
The setting will apply to all s-foils meshes.keiranhalcyon7 wrote: ↑Tue Sep 03, 2019 8:36 pmSo this new setting would apply to all rotary meshes, and sets the base speed of the animations, in units of approximately 4.2ms?
The setting will be per craft, not per mesh.
- Vince T
- Posts: 14056
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Hey Jeremy, I just had a thought occur to me:
As I wrote earlier, the last patch sped up all the 2d animations ingame as well. Now, I was wondering, if you're able to slow down the various rotation without sacrificing their individual FPS, would you also be able to individually speed up or slow down 2d animations? Unless it's been done already and I'm just out of the loop, this could mean explosions with way more frames and as such a more smoother animations. Same goes for hyperspace etc.
If that was already done and I just missed it, don't mind me, move along!
As I wrote earlier, the last patch sped up all the 2d animations ingame as well. Now, I was wondering, if you're able to slow down the various rotation without sacrificing their individual FPS, would you also be able to individually speed up or slow down 2d animations? Unless it's been done already and I'm just out of the loop, this could mean explosions with way more frames and as such a more smoother animations. Same goes for hyperspace etc.
If that was already done and I just missed it, don't mind me, move along!
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear