Lugaru Model Import / Export scripts for Blender
Posted: Tue Nov 03, 2009 8:56 pm
Hi,
I just finished an importer and an exporter for Blender.
These two scripts are written in Python, and Blender can use them directly. Once they're in the proper directory, you can access them via the File -> Import / File -> Export menus from inside Blender.
You can get the scripts in a ZIP archive right here: viewtopic.php?f=7&t=5620&p=232622#p232622
(Used to be http://www.alice-dsl.net/wolf.mathwig/tools/py/ -- not anymore though)
Make sure you read the instructions on that site carefully. For Blender 2.49, you HAVE to install Python. You HAVE to place the scripts into the proper directory after unzipping the archive, this differs by Blender version. For 2.58, it's Blender's addons folder.
The scripts are self-explanatory, but I'll tell you how you're supposed to use them anyway:
Importer
You select the menu point File -> Import -> Lugaru models (.solid)...
You choose what type of model you want to import: Body, Weapon or Immobile
You choose the file from your disk, press the button "Import Solid"
Done
Blender 2.49: If you want to import more models, do that. Otherwise, click the button "Exit"
Exporter
You select one or more models in Object mode (Blender 2.58: Only one model per export!)
Make sure they've only got triangle faces and that they have some kind of UV map
You select the menu point File -> Export -> Lugaru models (.solid)...
Blender 2.49: You read the text. You understand what it says.
You select what type of model you want to export: Body, Weapon or Immobile
You choose the filename, press the button "Export Solid"
Done
Blender 2.49: If you want to export the selected models again for some reason, do that. Otherwise, click the button "Exit"
Please backup your Lugaru/Data folder BEFORE replacing models.
If there's something weird happening or if you have problems installing / using these scripts, post away. Random nerd posts are also welcome.
Blender 2.49: Note that this is opensource. So if you want to tinker with the source code, go ahead, it's right there. Python scripts aren't compiled in some way, and the language is one of the simplest languages around in terms of syntax.
Blender 2.58: The scripts are now GPL.
Have fun with that stuff.
Doesn't work with Black Shades, by the way. Black Shades has no texture mapping on SOLID models or something along those lines.
I just finished an importer and an exporter for Blender.
These two scripts are written in Python, and Blender can use them directly. Once they're in the proper directory, you can access them via the File -> Import / File -> Export menus from inside Blender.
You can get the scripts in a ZIP archive right here: viewtopic.php?f=7&t=5620&p=232622#p232622
(Used to be http://www.alice-dsl.net/wolf.mathwig/tools/py/ -- not anymore though)
Make sure you read the instructions on that site carefully. For Blender 2.49, you HAVE to install Python. You HAVE to place the scripts into the proper directory after unzipping the archive, this differs by Blender version. For 2.58, it's Blender's addons folder.
The scripts are self-explanatory, but I'll tell you how you're supposed to use them anyway:
Importer
You select the menu point File -> Import -> Lugaru models (.solid)...
You choose what type of model you want to import: Body, Weapon or Immobile
You choose the file from your disk, press the button "Import Solid"
Done
Blender 2.49: If you want to import more models, do that. Otherwise, click the button "Exit"
Exporter
You select one or more models in Object mode (Blender 2.58: Only one model per export!)
Make sure they've only got triangle faces and that they have some kind of UV map
You select the menu point File -> Export -> Lugaru models (.solid)...
Blender 2.49: You read the text. You understand what it says.
You select what type of model you want to export: Body, Weapon or Immobile
You choose the filename, press the button "Export Solid"
Done
Blender 2.49: If you want to export the selected models again for some reason, do that. Otherwise, click the button "Exit"
Please backup your Lugaru/Data folder BEFORE replacing models.
If there's something weird happening or if you have problems installing / using these scripts, post away. Random nerd posts are also welcome.
Blender 2.49: Note that this is opensource. So if you want to tinker with the source code, go ahead, it's right there. Python scripts aren't compiled in some way, and the language is one of the simplest languages around in terms of syntax.
Blender 2.58: The scripts are now GPL.
Have fun with that stuff.
Doesn't work with Black Shades, by the way. Black Shades has no texture mapping on SOLID models or something along those lines.