.DAT Variables: Aircraft
- 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: .DAT Variables
GEARHORN
and
STALHORN
are there (I an air there are, though not found in this thread....) sound variables?
I mean something like a custom taxiing find, custom max throttle sound....?
By the way how do you create new variables or unearth them??
Thanks a lot
YS Flight South Asia
-
- Senior Veteran
- Posts: 1851
- Joined: Tue Feb 07, 2012 10:00 am
- Favorite Aircraft: .
- OS: windoze 10 64-bit
- Has thanked: 617 times
- Been thanked: 619 times
Re: .DAT Variables
Custom sounds are not supported as yet.
New variables are introduced as YS is updated. These new variables are found in the stock planes by painstaking analysis of the stock .dat files.
- 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: .DAT Variables
Code: Select all
VISLDAID VASI
Code: Select all
VISLDAID PAPI
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)
- waspe414
- Staff
- Posts: 1581
- Joined: Thu Feb 10, 2011 9:35 pm
- Favorite Aircraft: Kiowa, Mitten, Hornet
- Location: Canada
- Has thanked: 154 times
- Been thanked: 506 times
Re: .DAT Variables
Setting VISLDAID PAPI in the .dat of a ground object with a .dnm will set the parent SRF of that DNM to the PAPI light. I'm still not sure how colour change angle is calculated, but it does seem to be relative to the face.
Conversion to PAPI shading is not affected by face brightness or SURF name. Adding the tag to the Burke .dat turned every face bright, though, so I'm not positive what's going on with brightness. Face colour only affects at what angle the light changes from red to white (regardless of input, the light is still red). There's nothing special in the SURF header to indicate lights.
I've not messed with the VASI setting, but its implementation should be the same. I'm not sure what the differences are, aside from PAPI being 1x4 and VASI being 2x2.
Interestingly, the face shading seems to start from the negative X axis. Left and right papis are mirrors of each other, and the light faces are all vertical, yet they change in the opposite direction.
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
- 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: .DAT Variables
So in stock PAPI you have a srf with 4 polygons, being the lights, and another srf to house those lights.
I did a write up on this somewhere on this forum...
- kiwiflieger
- Contributor
- Posts: 227
- Joined: Thu Mar 27, 2014 7:09 am
- Favorite Aircraft: Die Fledermaus
- Has thanked: 125 times
- Been thanked: 92 times
Re: .DAT Variables
This one?OfficerFlake wrote:I did a write up on this somewhere on this forum..
- 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: 1726 times
- Contact:
Re: .DAT Variables
AIM-9 = 200lb
AIM-120 = 275lb
B250 = 250lb
B500 = 500lb
AGM = 600lb
Fuel Tank (empty) = 300lb
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
- Skipper
- Rookie
- Posts: 83
- Joined: Mon Dec 09, 2013 8:28 pm
- Favorite Aircraft: Spitfire/F-15E
- Location: SAM VOR 240 radial, 27nm
- OS: Windows 10
- Has thanked: 15 times
- Been thanked: 57 times
- Contact:
Re: .DAT Variables
Would this change the weight of the weapons, depending on what you've set here?Midnight Rambler wrote:WEIGLOAD - The weight of the payload (missles and bombs). This influences the model's flight characteristics, especially in a fighter.
- 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: 1726 times
- Contact:
Re: .DAT Variables
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
-
- Senior Veteran
- Posts: 1851
- Joined: Tue Feb 07, 2012 10:00 am
- Favorite Aircraft: .
- OS: windoze 10 64-bit
- Has thanked: 617 times
- Been thanked: 619 times
Re: .DAT Variables
Updated with proper 2015 descriptions, slightly more information on other variables and fixed (minor) formatting errors.
Quite sure we still missed some variables though, like PROPVMIN.
- 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: .DAT Variables
Inside stock "CONCORDE" found next
Code: Select all
LOOKOFST 0.0m 0.0m 0.0m
Code: Select all
...
KEY F6 OUTSIDEPLAYERVIEW3
KEY F7 OUTSIDEPLAYERVIEW2
...
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: .DAT Variables
Oh Myyyy!Midnight Rambler wrote:How many degrees of YAW the aircraft moves at CRITSPEED when the stick is hard in one second.
Slight typo, doesn't matter that much though.
Thanks for this write up - using it now to define the DATFile class of my YSFlight library!
- 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: 1726 times
- Contact:
Re: .DAT Variables
Is this like a coefficient to the soft lock and lock ranges?
For Example:
Range = RCS * stock Range
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
- 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: .DAT Variables
Code: Select all
EXCAMERA "NAME" 0.0m 0.0m 0.0m 0deg 0deg 0deg CABIN
I read related topic EXCAMERA and its too not include CABIN option
viewtopic.php?t=1587
So, for now there are (at least) three different options for this variable:
Code: Select all
EXCAMERA "INSTRUCTOR_VIEW" 0.0m 0.0m 0.0m 0deg 0deg 0deg INSIDE
EXCAMERA "EXTERNAL_VIEW" 0.0m 0.0m 0.0m 0deg 0deg 0deg OUTSIDE
EXCAMERA "PASSENGER_VIEW" 0.0m 0.0m 0.0m 0deg 0deg 0deg CABIN
OUTSIDE - show faces inverted (cutted) + fully disable visual cockpit & instruments panel & HUD
CABIN - show visual cockpit (like INSIDE) but fully disable visual instrument panel & HUD (something like passenger that is sitting in the back seat; usefull for 2nd pilot position in tandem aircraft)
P.S.: best choice is not use this optional keywords inside comments or not use any comments in EXCAMERA string (#comment). For example if you write this...
Code: Select all
EXCAMERA "NAME" 0.0m 0.0m 0.0m 0deg 0deg 0deg CABIN # INSIDE
ATTENTION!
Do not use EXCAMERA variable without any option keyword, because it will generate errors!
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)
- 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: 1769 times
- Been thanked: 1810 times
- Contact:
Re: .DAT Variables
That's good information. I don't think I have seen the CABIN option before.u2fly wrote:something like passenger that is sitting in the back seat; usefull for 2nd pilot position in tandem 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: .DAT Variables
It already presented in few stock bombers for "BOMBBAY" view (../aircraft/b29.dat, ../aircraft/g4m.dat, ../aircraft/lancaster.dat, ...)Patrick31337 wrote:That's good information. I don't think I have seen the CABIN option before.
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)
- 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: .DAT Variables
-- New discovered variables
CKPITIST FALSE #show instrument panel in the COCKPITP neutral view (if FALSE then instrument panel can be made availiable only in EXCAMERA views)
CKPITHUD TRUE #show HUD in the COCKPITP neutral view (if FALSE then HUD can be made availiable only in EXCAMERA views)
ISPNLHUD TRUE #use both HUD and instrument panel (set aircraft to show them together, if other not specified)
-- New discovered variables options
Code: Select all
EXCAMERA "NAVIGATOR" 0.0m 0.0m 0.0m 0deg 0deg 0deg INSIDE NOHUD
-- Summary
Using combination of those variables and this EXCAMERA option you can make aircraft where main pilot will see only HUD, and other pilot will see only custom instrument panel (defined using INSPANL variable from *.ist file)
Code: Select all
EXCAMERA "NAVIGATOR" 0.0m 0.0m 0.0m 0deg 0deg 0deg INSIDE NOHUD
CKPITIST FALSE
CKPITHUD TRUE
ISPNLHUD TRUE
--
All this and some additional info you could get from next edition of YSFLIGHT HANDBOOK soon!
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)
-
- Contributor
- Posts: 201
- Joined: Wed Mar 16, 2011 7:57 am
- Favorite Aircraft: Ball-Bartoe Jetwing
- OS: Windows XP
- Has thanked: 58 times
- Been thanked: 122 times
Re: .DAT Variables
- 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: .DAT Variables
Correct, the "bullet" is always oriented north. Oversight in coding I think.Grigor wrote:though the orientation of the srf doesn't exactly follow the attitude of the plane.
- 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: .DAT Variables
This issue presented in "YSFlight ver.20150425", but in "YSFlight Test ver.20170122" there NO such limitations, and each bullets has random orientation!(I already check it today)xX_SuperSic58_Xx wrote:Correct, the "bullet" is always oriented north. Oversight in coding I think.Grigor wrote:though the orientation of the srf doesn't exactly follow the attitude of the plane.
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)
Who is online
Users browsing this forum: No registered users and 6 guests