Page 1 of 1

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Sat Oct 08, 2016 5:38 pm
by Barr
[quote="u2fly"][/quote]

Got a error when using the import script

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Sat Oct 08, 2016 6:53 pm
by Barr
u2fly wrote:
Barracuz wrote:Got a error when using the import script
Did you read "install.html"? Look like no.
You must move folder ysfs inside .blender/scripts/. So all scripts from there release must be as ./blender/scripts/ysfs/******.py.
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 again

EDIT
Its all good mayne. Mustve done something wrong :oops:

Now if only I could download more ram.

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Mon Nov 28, 2016 3:31 am
by AdmiralKew
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-opensource
  • 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
DOWNLOAD - attached to this post!
--
P.S.: for those who look YSFS for Blender 2.7 or above look here
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?

Edit: I figured it out.

For the curious:
- Create an 'empty' Image
- 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. Image

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Mon Nov 28, 2016 8:34 am
by NightRaven
I think hardpoints are called HRDPOINT, not HPT, so the script does not recognise the variable you are trying to input.

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Mon Nov 28, 2016 9:07 am
by AdmiralKew
NightRaven wrote:I think hardpoints are called HRDPOINT, not HPT, so the script does not recognise the variable you are trying to input.
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.

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.

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Mon Nov 28, 2016 10:21 am
by u2fly
AdmiralKew wrote:
NightRaven wrote:I think hardpoints are called HRDPOINT, not HPT, so the script does not recognise the variable you are trying to input.
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.

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.
If I could fix it soon I will make next update for YSFS ver.1.x branch.

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Sat Jan 28, 2017 12:54 am
by u2fly
Upcoming update for "YSFS ver.1.x" branch will include little improved "DNM Viewer" script. Especially for vertical panels mode, so it will look more compact.

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Sun Apr 09, 2017 2:15 am
by Barr
Can we use python 3.x for these scripts? Or must we download the 2.x version?

Re: [Blender] scripts to import/export .SRF .DNM .FLD .YFS

Posted: Sun Apr 09, 2017 2:28 am
by decaff_42
Blender 2.49 requires Python 2.6 for its scripts.