Formation flying spacing
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Formation flying spacing
Is there an option to adjust the spacing for planes using the "Form on my wing" command, or the default formations? I want to make a few wallpapers of some planes flying in formation, but with a larger gap between the planes. I was looking for a four plane formation, with about 50m lateral separation and a 20m stager.
LEAD
^
20m
wing <-50m-> v <-50m-> LEAD2nd
<-50m-> wing2nd
Is this a setting i can adjust in YSF or is it a coding thing that I don't want to mess with?
Thanks
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- waspe414
- Staff
- Posts: 1582
- Joined: Thu Feb 10, 2011 9:35 pm
- Favorite Aircraft: Kiowa, Mitten, Hornet
- Location: Canada
- Has thanked: 154 times
- Been thanked: 506 times
Re: Formation flying spacing
Select your airplanes, choose the formation you want, click OK (rather than Fly Now), and save the flight before flying. Now open the file in Notepad and find the line "FORMATIO 0 -7.92 -1.50 -7.92". There's one for each AI plane in the formation (meaning you can have some planes in formation, and some not).
Each of the last three numbers specify the AI's position relative to your aircraft (left/right, up/down, front/back). Change them to whatever you want, save the file, and reopen and fly it in YS.
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Re: Formation flying spacing
I can change the distance to what I want, but is it possible to delete a couple of the AIs so that they don't cause a massive fireball behind me after I start the flight? When I start, the planes start in their default positions really close to me, but then spread out making a lot of collisions. NOTE: I'm simply selecting the plane I want and then select a delta formation flight.
Would it be better to crunch the numbers and adjust their start positions [AIRPCMND POSITION -20180.71m 3298.50m 3153.00m] to incorporate the spacing I want?
If i only want four planes total, would it be possible to create three planes as wingmen and then go in and edit their formation distance? That way I'd be able to avoid the fireballs behind me that would take out the planes I wanted.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- waspe414
- Staff
- Posts: 1582
- Joined: Thu Feb 10, 2011 9:35 pm
- Favorite Aircraft: Kiowa, Mitten, Hornet
- Location: Canada
- Has thanked: 154 times
- Been thanked: 506 times
Re: Formation flying spacing
You could also turn off collisions.
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Re: Formation flying spacing
I'll get to experimenting tomorrow after classes. I should be able to post some pics if it all works out.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
-
- 57th Polyvalent Sq
- Posts: 1841
- Joined: Thu Jun 30, 2011 8:17 pm
- Favorite Aircraft: Anything that gets off the ground
- Has thanked: 227 times
- Been thanked: 71 times
Re: Formation flying spacing
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Re: Formation flying spacing
Not quite a straight line, more like one inside the next inside the next. Take a look:aragorn15 wrote:They might just form a straight line right be hind you.
http://imageshack.us/photo/my-images/41 ... at334.png/
When i first started out, they started zooming all around behind me and weren't in formation. When I used the form on my wing command, I got the above response from the planes
My formation settings were like this:
FORMATIO 0 -50 -1.50 -20
FORMATIO 0 50 -1.50 -20
FORMATIO 0 -100 -3.00 -40
I also altered the start positions so that they would be more spread apart to begin with.
Why weren't the planes simply in formation but with slightly more space between them?
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
-
- 57th Polyvalent Sq
- Posts: 1841
- Joined: Thu Jun 30, 2011 8:17 pm
- Favorite Aircraft: Anything that gets off the ground
- Has thanked: 227 times
- Been thanked: 71 times
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Re: Formation flying spacing
http://southeastasianews.org/images/USA ... _edit2.jpg
But the spacing of the standard formation flying, makes everything too close together, hence why I tried to make the spacing a little farther apart to make it more like a combat formation rather than an acrobatics formation.
Aragorn, you mentioned the .coll file. How could I edit that to make the spacing work?
I noticed that when I simply made 3 wingmen and saved the flight. When I opened it up, there wasn't an option for changing the formation spacing, so the .coll file makes sense.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- waspe414
- Staff
- Posts: 1582
- Joined: Thu Feb 10, 2011 9:35 pm
- Favorite Aircraft: Kiowa, Mitten, Hornet
- Location: Canada
- Has thanked: 154 times
- Been thanked: 506 times
Re: Formation flying spacing
Also, the coll will only modify the set formation distance. The distance of the formation from the "Form on my wing" command is controlled by the HTRADIUS line in the .dat. (Not sure if it's both aircraft radii added, averaged, or what, but play around with it.)
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
-
- 57th Polyvalent Sq
- Posts: 1841
- Joined: Thu Jun 30, 2011 8:17 pm
- Favorite Aircraft: Anything that gets off the ground
- Has thanked: 227 times
- Been thanked: 71 times
Re: Formation flying spacing
Edit: This is going into a lot of detail but Waspe summed it up pretty well.
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Re: Formation flying spacing
Also at the start when the planes start flying into each other and everywhere, I'm not jerking my plane enough to cause the flight to scatter like I suddenly pushed hard right stick. Could it be the planes just trying to move from their start positions to their formation positions and getting 'lost' on the way? I tried to edit the .yfs file to also change the starting positions of the AI planes to their formation positions, but it didn't seem to do anything.
The only edit that seemed to work was the deletion of two planes. At least that's a step in the right direction.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
-
- 57th Polyvalent Sq
- Posts: 1841
- Joined: Thu Jun 30, 2011 8:17 pm
- Favorite Aircraft: Anything that gets off the ground
- Has thanked: 227 times
- Been thanked: 71 times
Re: Formation flying spacing
- waspe414
- Staff
- Posts: 1582
- Joined: Thu Feb 10, 2011 9:35 pm
- Favorite Aircraft: Kiowa, Mitten, Hornet
- Location: Canada
- Has thanked: 154 times
- Been thanked: 506 times
Re: Formation flying spacing
No, making a formation doesn't hack the .stp. It adds the linesaragorn15 wrote:Try choosing your airplane and start position. Before hitting "Fly Now", go over to the "formation" tab and select "Diamond" or "Delta" from the list. This will make YS hack the .stp file and auto select aircraft. The .stp hack simply adds the necessary start positions to put the aircraft on your wing perfectly for take off.
AIRPCMND POSITION 45739.29m 2.10m -10563.83m
AIRPCMND ATTITUDE -100.00deg 0.00deg -0.00deg
rather than filling in a start position slot. (And those lines can be applied to any aircraft, player included.) Wingmen will take the start position assigned to them, formation aircraft will be spawned relative to you.
Try starting at one of the North or South STPs. From what I've seen, that crazy maneuvering is the AI attempting to get into position, but over correcting. If you immediately set it to autopilot they may fall into the correct places. Keep in mind that the farther the AI is from your plane the more your motion has an effect on them, so the more violently they have to fly.decaff_42 wrote:Also at the start when the planes start flying into each other and everywhere
I'll take a look at the FOM_TRNS lines and try and figure out what they control.
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Re: Formation flying spacing
When you say have some start at north and south positions, you mean to simply have selected wingmen and starting positions and to forget about the default formations options, right? When I tried this and opened up the .yfs file, there was no longer the ability to manipulate the formation positions of the planes, which is the only thing I want to do. When i use the form on my wing command, they are too close.waspe414 wrote: Try starting at one of the North or South STPs. From what I've seen, that crazy maneuvering is the AI attempting to get into position, but over correcting. If you immediately set it to autopilot they may fall into the correct places. Keep in mind that the farther the AI is from your plane the more your motion has an effect on them, so the more violently they have to fly.
Quick question about the numbering of the planes. Are the plane number like this?
1
2 3
4 5 6
I have been trying to figure our what planes to delete and with all the crashing and scattering I can't see which plane actually leaves my formation.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
-
- 57th Polyvalent Sq
- Posts: 1841
- Joined: Thu Jun 30, 2011 8:17 pm
- Favorite Aircraft: Anything that gets off the ground
- Has thanked: 227 times
- Been thanked: 71 times
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Re: Formation flying spacing
I was able to crunch some numbers and edit the start positions and formation spacing of the planes and It seems to work out. I got the lateral spacing much wider but a little more than I wanted, and it looks like I made a mistake with the forward/back dimension in this pic:
I think that all the scattering that was happening was a result of not changing the starting positions while expanding the formation positions of the planes. As you can tell I also deleted two of the planes.
I was able to find the starting position of my controlled plane by doing a little math based on the starting and formation position of the second plane. From there I edited the starting positions of the three AI panes to be in formation at their spawn and edited their formation positions so they wouldn't need to move from their relative start positions.
Instead of the four finger formation, i got a straight diagonal line. This is shot from the maximum zoomed out position and I'm still getting some fish-eye on the right most plane. The one I'm controlling is the one second from right. Is there a way to reduce the fish-eye effect? I know kuro's video tutorial mentioned something with zooms, but my mouse's scroll wheel doesn't seem to work for zooming even though that is it's only assigned function in YSF.
Is there any way we can post requests for coding additions to YSF for the next release? It would be nice to have a few options in the formations tab to set our own number and positions of airplanes in the formations.
EDIT: I got the planes to form the formation I want. I'll be posting pics in a while. Thanks for all your help guys
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- waspe414
- Staff
- Posts: 1582
- Joined: Thu Feb 10, 2011 9:35 pm
- Favorite Aircraft: Kiowa, Mitten, Hornet
- Location: Canada
- Has thanked: 154 times
- Been thanked: 506 times
Re: Formation flying spacing
Mac version may be different, but for Windows it's at the bottom of the Keys tab.decaff_42 wrote:Is there a way to reduce the fish-eye effect? I know kuro's video tutorial mentioned something with zooms, but my mouse's scroll wheel doesn't seem to work for zooming even though that is it's only assigned function in YSF.
Toss it in the Fantasy Wishlist. I don't know how often, if at all, Soji looks there, but it's really the only place there is.decaff_42 wrote:Is there any way we can post requests for coding additions to YSF for the next release? It would be nice to have a few options in the formations tab to set our own number and positions of airplanes in the formations.
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1727 times
- Contact:
Re: Formation flying spacing
I got the same setup, but my mouse's scroll wheel doesn't work for it. I've tried it in replays and and such, but without luck. It's a Kensington Model# 72121Mac version may be different, but for Windows it's at the bottom of the Keys tab.
http://eio.com/p-29666-kensington-72121 ... mouse.aspx
It's no gaming mouse, but I've had it for years and it works...except for this small, but highly wanted function. The scroll wheel works for web pages and even COD4, so I'm not sure why it's not working in YS.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- waspe414
- Staff
- Posts: 1582
- Joined: Thu Feb 10, 2011 9:35 pm
- Favorite Aircraft: Kiowa, Mitten, Hornet
- Location: Canada
- Has thanked: 154 times
- Been thanked: 506 times
Re: Formation flying spacing
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests