Page 1 of 1

.dat files

Posted: Sun Jun 16, 2019 5:29 pm
by Luisitoo
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

Re: .dat files

Posted: Mon Jun 17, 2019 3:55 am
by waspe414
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.

Re: .dat files

Posted: Mon Jun 17, 2019 4:10 am
by Luisitoo
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.

Re: .dat files

Posted: Mon Jun 17, 2019 6:26 pm
by waspe414
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.

Re: .dat files

Posted: Mon Jun 17, 2019 10:36 pm
by u2fly
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 ;-)