.dat files

Questions, comments, concerns, & fixes
Post Reply
Luisitoo
Newbie
Newbie
Posts: 2
Joined: Sun Jun 16, 2019 5:26 pm
Favorite Aircraft: N/A
OS: Windows 8
Has thanked: 4 times

.dat files

Post by Luisitoo » Sun Jun 16, 2019 5:29 pm

i need help on installing a flare addon, well i dont understand what should i do with the file.. im confused basically.

thanks.



viewtopic.php?f=235&t=8900

User avatar
waspe414
Staff
Staff
Posts: 1257
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: CH-136 Kiowa, Yak-130 Mitten
Location: Canada
Has thanked: 116 times
Been thanked: 226 times

Re: .dat files

Post by waspe414 » Mon Jun 17, 2019 3:55 am

Add this to your .dat file:
WPNSHAPE FLR FLYING filepath/to/file/here/flare.srf

Find the filepath of the flare SRF you want, and change the filepath accordingly.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

Luisitoo
Newbie
Newbie
Posts: 2
Joined: Sun Jun 16, 2019 5:26 pm
Favorite Aircraft: N/A
OS: Windows 8
Has thanked: 4 times

Re: .dat files

Post by Luisitoo » Mon Jun 17, 2019 4:10 am

welp see thats the thing.. i dont understand how the filepath thing works..

which .dat file? a specific aircraft .dat file?
(ex. "a6.dat")
or do i just rename the flr.srf to that?

where do i find the .dat file? in the aircraft folder? also i dont understand how the filepath thing works.. oof
do i rename the flr.srf to "WPNSHAPE FLR FLYING filepath/to/file/here/flare.srf" and paste it in one of the folders?

help, thanks.

User avatar
waspe414
Staff
Staff
Posts: 1257
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: CH-136 Kiowa, Yak-130 Mitten
Location: Canada
Has thanked: 116 times
Been thanked: 226 times

Re: .dat files

Post by waspe414 » Mon Jun 17, 2019 6:26 pm

All weapon skins aside from gun and flare can be changed universally by overwriting the correct file in the misc folder, which changes the default skin. To change a weapon skin for a specific aircraft, you can add the WPNSHAPE line to its .dat. At this point there is no way to change the flare shape for all aircraft aside from editing every single .dat file to include the WPNSHAPE FLR FLYING line.

.dat files for stock aircraft are found in the aircraft folder, but for addon aircraft they can be found in a number of places. Most addons are created to have their files in the user folder, with subfolders for pack or author, but that's not a guarantee. Some install directly into the aircraft folder, others have the pack folder in the main YS folder.

The filepath for the WPNSHAPE line directs YSFlight to the file you want to load, starting from the YS executable you are running. If you put the flare.srf into the misc folder, the filepath would be "misc/flare.srf". If it's in a user folder, the filepath would be "user/Username/weapons/flare.srf" or similar.


And try to edit your posts rather than create new ones if no one has responded.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1256
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 749 times
Been thanked: 277 times
Contact:

Re: .dat files

Post by u2fly » Mon Jun 17, 2019 10:36 pm

Luisitoo wrote:
Sun Jun 16, 2019 5:29 pm
i need help on installing a flare addon, well i dont understand what should i do with the file.. im confused basically.

thanks.

(flare addon by Neocon) - viewtopic.php?f=235&t=8900
I highly recommend you read YSFlight Handbook — it include many details on addons installing & customizing ;-)
/!\ READ YSFLIGHT HANDBOOK (online + PDF) | updated 2019/04/25

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”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest