Sponsored Adverts

Author Topic: [MD5] EXPORT script for Blender 2.6x (OPEN)  (Read 167625 times)

0 Members and 2 Guests are viewing this topic.

Offline keless

  • Newbie
  • Posts: 29
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #45 on: September 21, 2010, 07:24:10 AM »
Shoot, ignore those errors-- I left in some (failed) attempt at action animation selection in the export UI. Try again, same link.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2360
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #46 on: September 21, 2010, 08:08:47 PM »
Yep, sterling work. Its now exporting animation length based on the "Start:" and "End:" positions.

There is a caveat using this approach though; you can't do a multi-export. Because the start/end data determines the length of an animation it would mean all anims being exported using the same values irrespective of actual (needed) length. The only way around that would be to add some sort of option field per animation where users set the start and end point of each action, a bit impractical doing that though (not too mention over-complicating the script).

Offline keless

  • Newbie
  • Posts: 29
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #47 on: September 23, 2010, 06:19:25 AM »
Added an enum drop-down for "mesh & anim", "mesh only" or "anim only" exporting.
http://dl.dropbox.com/u/1556553/io_export_md5.9-22-2010.py

It's not something I'd sell to my grandmother, but I'm calling this full featured.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2360
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #48 on: September 24, 2010, 07:18:18 AM »
Not had a chance to test this yet, but once I've done that I'll add it to the site as a download.

[EDIT]Now had a chance to use and yep so far everything exports out correctly. Well done. Will add this to the sites tools page ASAP.

Offline keless

  • Newbie
  • Posts: 29
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #49 on: September 29, 2010, 04:48:22 PM »
Thanks all around for the support. Cheers!

Offline motorsep

  • Jr. Member
  • *
  • Posts: 75
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #50 on: October 29, 2010, 01:24:48 PM »
Awesome exporter, thank you.

I have modified blender2md5 (by der_ton) that exports to Half-Life 2 SMD along with Doom 3 MD5. However the exporter is for Blender 2.49b.
Is there a way you could add an option to export to HL2 SMD to your exporter?
Thanks.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2360
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #51 on: November 05, 2010, 09:12:38 PM »
Tested in Blender 2.55beta, exported the same bunny mesh and an animation without any issues.

@ motorsep: wouldn't the HL2 *.smd be better off as a separate exporter or is does it use the same data as MD5?

Offline motorsep

  • Jr. Member
  • *
  • Posts: 75
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #52 on: November 06, 2010, 01:09:47 AM »
The output is not the same, but I think it uses the same math as for MD5.

Posted the same question at Blenderartists and the answer solved all the problems:

http://developer.valvesoftware.com/wiki/Blender_SMD_Tools

I haven't tried it yet, so I am not sure how comfortable GUI is, but sounds like it's what we have been waiting for, for a long time :)

Offline motorsep

  • Jr. Member
  • *
  • Posts: 75
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #53 on: December 09, 2010, 11:47:49 PM »
Doesn't work with 2.55.1

======================================
Traceback (most recent call last):
  File "/home/motorsep/software/blender25/2.55/scripts/io/io_export_md5.py", line 848, in invoke
    WindowManager.add_fileselect(self)
AttributeError: 'WindowManager' object has no attribute 'add_fileselect'

location:<unknown location>:-1

location:<unknown location>:-1
======================================

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2360
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #54 on: December 10, 2010, 12:31:59 AM »
In development subtrees of Blender always tend to break scripts so make sure you're using the latest official release from Blender.org.

Offline motorsep

  • Jr. Member
  • *
  • Posts: 75
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #55 on: December 10, 2010, 12:50:06 AM »
Aye. Switched to official 2.55 beta.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2360
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #56 on: December 31, 2010, 05:52:32 PM »
Script is broken in Blender 2.56beta with the following error;
Code: [Select]
Traceback (most recent call last):
  File "C:\Users\[user]\AppData\Roaming\Blender Foundation\Blender\2.56\scripts\io\io_export_md5.py", line 848, in invoke
    WindowManager.add_fileselect(self)
AttributeError: 'WindowManager' object has no attribute 'add_fileselect'

location:<unknown location>:-1

Offline motorsep

  • Jr. Member
  • *
  • Posts: 75
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #57 on: January 14, 2011, 12:50:38 AM »
Are script authors still around? Reallly need a fix to those issues, please.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2360
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #58 on: January 14, 2011, 04:36:38 AM »
Are both the MD5 and ASE script still broken in the 2.56b update!? I've not had a chance to test them yet.

Offline motorsep

  • Jr. Member
  • *
  • Posts: 75
Re: [MD5] EXPORT script for Blender 2.6x (OPEN)
« Reply #59 on: January 14, 2011, 01:01:09 PM »
last time I tried they were both broken.

 

Sponsored Adverts
RSS Copyright © 2019 KatsBits™. All Rights Reserved. No part of this or associated properties shall be reproduced without prior consent. AdvertisePrivacy PolicyDMCA (about DMCA) • Copyright PolicyCopyright Contact Home Blog Support About Contact Site Search Site Map RSS feed Forum YouTube FaceBook LinkedIn Twitter Instagram IMVU