[Blender] scripts to import/export .SRF .DNM .FLD .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: [Blender] scripts to import/export .SRF .DNM .FLD .YFS
Got a error when using the import script
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.
- 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: [Blender] scripts to import/export .SRF .DNM .FLD .YFS
Did that. I just overwrote the old scripts that were in there. Since it didnt work i just replaced with the old ones again. But ill try againu2fly wrote:Did you read "install.html"? Look like no.Barracuz wrote:Got a error when using the import script
You must move folder ysfs inside .blender/scripts/. So all scripts from there release must be as ./blender/scripts/ysfs/******.py.
EDIT
Its all good mayne. Mustve done something wrong
Now if only I could download more ram.
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.
-
- Newbie
- Posts: 8
- Joined: Mon Nov 28, 2016 3:25 am
- Favorite Aircraft: F-22 Raptor, Spitfire, P51 Mustang, etc...
- OS: Windows
- Has thanked: 4 times
- Been thanked: 14 times
Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS
Hi. I'm new to making aircraft for YSFlight. Could I ask how you use the hardpoints export script in the pack for blender 2.49?u2fly wrote:After five years from first release of YSFS for Blender (2011.10.02) I happy to present updated YSFS for Blender 2.49b!
YSFS ver.1.01 for Blender 2.49b
This is updated version of YSFS scripts for Blender 2.49b or older (with Python 2.6)
CHANGELOG:
1.01 (2016.10.08) by u2fly - http://github.com/ysflight-opensourceDOWNLOAD - attached to this post!
- NEW: All scripts including texture library placed in ./blender/scripts/ysfs
- NEW: In Blender menu all related scripts shown as "YS - ..."
- Fixed: stupid names of sripts files
- Fixed: "modeExport" value in export_srf.py script now take correctly from ysfs_config.py
- Other small fixes
--
P.S.: for those who look YSFS for Blender 2.7 or above look here
- YSFS 2.0 (opensource) - http://github.com/ysflight-opensource/ysfs_2_0
- ExportSRF aka YSFS 3.0 (freeware, proprietary) - viewtopic.php?t=8145
Edit: I figured it out.
For the curious:
- Create an 'empty'
- Name it any of these: LEFTGEAR, RIGHTGEAR, WHEELGEAR, ARRESTER, MACHNGUN, SMOKEGEN, VAPORPO0, VAPORPO1, HPT
- And run the hardpoint export script.
Something's broken in the HPT export bit though.
-
- 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: [Blender] scripts to import/export .SRF .DNM .FLD .YFS
-
- Newbie
- Posts: 8
- Joined: Mon Nov 28, 2016 3:25 am
- Favorite Aircraft: F-22 Raptor, Spitfire, P51 Mustang, etc...
- OS: Windows
- Has thanked: 4 times
- Been thanked: 14 times
Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS
The script doesn't recognize 'empty' objects in Blender named HRDPOINT. It takes empties named 'HPT' and outputs their coordinate values as YSFlight HRDPOINT coordinates.NightRaven wrote:I think hardpoints are called HRDPOINT, not HPT, so the script does not recognise the variable you are trying to input.
I tried it with empty objects named HRDPOINT. It outputted zilch, which it also does with objects with names that fall outside the naming parameters I stated a while ago.
- 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: [Blender] scripts to import/export .SRF .DNM .FLD .YFS
If I could fix it soon I will make next update for YSFS ver.1.x branch.AdmiralKew wrote:The script doesn't recognize 'empty' objects in Blender named HRDPOINT. It takes empties named 'HPT' and outputs their coordinate values as YSFlight HRDPOINT coordinates.NightRaven wrote:I think hardpoints are called HRDPOINT, not HPT, so the script does not recognise the variable you are trying to input.
I tried it with empty objects named HRDPOINT. It outputted zilch, which it also does with objects with names that fall outside the naming parameters I stated a while ago.
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: [Blender] scripts to import/export .SRF .DNM .FLD .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)
- 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: [Blender] scripts to import/export .SRF .DNM .FLD .YFS
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: [Blender] scripts to import/export .SRF .DNM .FLD .YFS
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
Who is online
Users browsing this forum: No registered users and 4 guests