YS Flight Traffic?
-
- Newbie
- Posts: 27
- Joined: Sat Mar 26, 2016 8:17 pm
- Favorite Aircraft: A-10
- OS: Mac
- Has thanked: 35 times
- Been thanked: 5 times
YS Flight Traffic?
Any help would be greatly appreciated
-Vern Burn
- 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: YS Flight Traffic?
What programs were you attempting to use? I believe that Scenery editor lets you put in airplanes and have them fly a course/pattern. YSMajor accomplished this with straight ground objects and a motion path on his Vietnam Map. However the 241st map has a stock C-130 that taxi's to the runway, pauses and then takes off. Perhaps if you opened this in the latest Scenery Editor you could reverse engineer it some.
I vaguely remember some maps (like the stock Heathrow) having traffic addons, but I'm not sure how these were made. PatrickN and other Scenery Editor wizzards might be able to help answer your question further, but I'd recommend trying to reverse engineer something via Scenery Editor.
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
- Neocon
- First Class Membership
- Posts: 3955
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1770 times
- Been thanked: 1810 times
- Contact:
Re: YS Flight Traffic?
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: YS Flight Traffic?
As I understand, it's possible make scenery that always have active inbuilt mission.Patrick31337 wrote:I think you just add the file path for the saved .ysf file to the .lst file after the .stp file path.
Also, sew that stock scenery use YFS ("ysf" is incorrect name!) file for placing ground objects. Here is example from stock "scenery.lst":
Code: Select all
SMALL_MAP scenery/small.fld scenery/small.stp scenery/small.yfs
U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: YS Flight Traffic?
It's a little exploit we've been using for years to play replays publicly on YSFlight Servers (eg: Airshows).
The only downside is smoke is not drawn for some reason. Perhaps Soji will fix this one day. When loading a ground YFS file that has aircraft records, YSFlight will give a warning. Instead I feel this should be embraced, and no warning given. Full support should be given to allow aircraft in record files... It's something for the wishlist thread.
Anyway thought you'd like to know about that as you generally are quite creative in pushing YSFlights limits.
- AdityaB
- Veteran
- Posts: 547
- Joined: Sat Oct 17, 2015 12:40 pm
- Favorite Aircraft: All
- Location: India
- OS: Windows 10
- Has thanked: 163 times
- Been thanked: 144 times
Re: YS Flight Traffic?
Hey, that's something new to me!OfficerFlake wrote:Hey u2 did you also know you can have aircraft records saved in the "ground file" YFS?
It's a little exploit we've been using for years to play replays publicly on YSFlight Servers (eg: Airshows).
So each replay has, let's say one aircraft doing the circuits..... So can we call any number of such files? Or is it restricted to only one?
Thanks a lot
YS Flight South Asia
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: YS Flight Traffic?
Turbofan if I am not mistaken made a few YFS file addons in the past to add "live traffic" feel to scenery.
-
- Newbie
- Posts: 27
- Joined: Sat Mar 26, 2016 8:17 pm
- Favorite Aircraft: A-10
- OS: Mac
- Has thanked: 35 times
- Been thanked: 5 times
Re: YS Flight Traffic?
Ello decaff,decaff_42 wrote:Hello there fellow mac user!
What programs were you attempting to use? I believe that Scenery editor lets you put in airplanes and have them fly a course/pattern. YSMajor accomplished this with straight ground objects and a motion path on his Vietnam Map. However the 241st map has a stock C-130 that taxi's to the runway, pauses and then takes off. Perhaps if you opened this in the latest Scenery Editor you could reverse engineer it some.
I vaguely remember some maps (like the stock Heathrow) having traffic addons, but I'm not sure how these were made. PatrickN and other Scenery Editor wizzards might be able to help answer your question further, but I'd recommend trying to reverse engineer something via Scenery Editor.
Just 2 programs really, Scenery Editor and MU. I've been trying to use Eric's Mission Utility which i got to work once then I kept getting a coding error so i fiddled with the script but wasn't too well versed in it so I put it off. I haven't been able to actually create a working path in the Scenery Editor, which could mean I'm doing something wrong...
- DD-Destroyer
- Contributor
- Posts: 323
- Joined: Tue May 22, 2012 11:45 pm
- Favorite Aircraft: FA-50 Golden Eagle
- Location: Seoul
- OS: Windows
- Has thanked: 4 times
- Been thanked: 165 times
- Contact:
- Barr
- Veteran
- Posts: 1012
- Joined: Wed Mar 28, 2012 8:49 pm
- Favorite Aircraft: The Boeing 757
- Location: Providence, Rhode Island
- OS: Windows 10/Gentoo
- Has thanked: 272 times
- Been thanked: 206 times
Re: YS Flight Traffic?
So does anyone know if the .yfs file loads on servers?
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.
- Gunny
- Business Class Membership
- Posts: 3250
- Joined: Sun Feb 06, 2011 6:17 pm
- Favorite Aircraft: Any thing with a prop.
- Location: New Iberia.LA.
- OS: Windows 10 & XP SP3
- Has thanked: 586 times
- Been thanked: 786 times
Re: YS Flight Traffic?
I have a problem using the .yfs file as I can not control my primary aircraft using 20150425 version.The .yfs loads ok but the replay model defaults to the primary aircraft and the actual primary is disabled.I can get the views just not control of the primary.Any clues to help would be appreciated.
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: YS Flight Traffic?
You need to make sure your servers "record replay" setting is set otherwise the aircraft are destroyed.
gunny at the top of the YFS file you might see "Event blocks" - delete all those entries. Finally go to the AIRPLANE line of the aircraft you wish to edit and it will read AIRPLANE xxxx yyyy where yyyy is TRUE or FALSE. Set to true to make the player aircraft.
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: YS Flight Traffic?
As I know there is only "Record Flight" option inside menu "Network(N) -> Network Option(O) -> Server1". If you switch this ON, then all server activity would be recorded and only when you stop server work, you can view this record ONLY IN OFFLINE!OfficerFlake wrote:Actually, it does load on servers!
You need to make sure your servers "record replay" setting is set otherwise the aircraft are destroyed.
And there no any possibility for run replay directly on server using standart YSFlight network manager (maybe OpenYS can do it, i don't know).
But one trick there maybe can use is to define YFS file directly in scenery.lst for those scenery, that used on server. Look inside stock scenery list and you will see similar to this
Code: Select all
SMALL_MAP scenery/small.fld scenery/small.stp scenery/small.yfs
U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: YS Flight Traffic?
Correct, in fact this is exactly how it is done for a replay to be loaded on a server.u2fly wrote:But one trick there maybe can use is to define YFS file directly in scenery.lst for those scenery, that used on server. Look inside stock scenery list and you will see similar to thisCode: Select all
SMALL_MAP scenery/small.fld scenery/small.stp scenery/small.yfs
- Barr
- Veteran
- Posts: 1012
- Joined: Wed Mar 28, 2012 8:49 pm
- Favorite Aircraft: The Boeing 757
- Location: Providence, Rhode Island
- OS: Windows 10/Gentoo
- Has thanked: 272 times
- Been thanked: 206 times
Re: YS Flight Traffic?
Now how about Openys?
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.
- 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: YS Flight Traffic?
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
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: YS Flight Traffic?
One flight data packet in YSF is ~96 bytes long. Add several aircraft and the disable nagle algorythmn (look it up!) and bandwidth use and lag increases a lot.
OpenYS has a replay loading and playing function already (see the commands for this) but it's quite primitive at the moment.
- Turbofan
- Senior Veteran
- Posts: 2072
- Joined: Thu Feb 03, 2011 4:22 pm
- Favorite Aircraft: Boeing 747, all variants
- Location: Southern Plains
- Has thanked: 1172 times
- Been thanked: 843 times
- Contact:
Re: YS Flight Traffic?
And I haven't released addons for replays per se, but I have released some actual replays before.
- AdityaB
- Veteran
- Posts: 547
- Joined: Sat Oct 17, 2015 12:40 pm
- Favorite Aircraft: All
- Location: India
- OS: Windows 10
- Has thanked: 163 times
- Been thanked: 144 times
Re: YS Flight Traffic?
Of course there can be multiple aircraft in a .ysf
I meant in the .lst (scenery) file can we have something like:
Code: Select all
TEST user/xyz/test.fld user/xyz/test.stp user/xyz/traffic1.ysf user/xyz/traffic2.ysf
Thanks a lot
YS Flight South Asia
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: YS Flight Traffic?
Sadly no, only one record.
If you want I can write an app to merge the two records into the one record (and not append on to the end? Like YSFlightReplayMerger does)
Who is online
Users browsing this forum: No registered users and 3 guests