664a79b515cf1

Post Reply

Your name:
Subject:
Message Icon:

Verification:
This box must be left blank:

The deck number where you shall meet Dr. Janice Polito:

Shortcuts: Alt+s to submit/post; Alt+p to preview


Topic Summary

Posted by: Kolya
« on: 25. September 2013, 21:57:32 »

As StaticZ pointed out there is another Blender script that supports exporting as well as importing of Dark BIN files.
It seems the author nemyax is still developing it. Get the latest version.
Posted by: Kolya
« on: 19. March 2011, 21:53:32 »

You can convert models to 3ds which Blender can read. The tool to convert them is included in the ShockEd Toolkit.
Posted by: lostone1993
« on: 19. March 2011, 20:44:53 »

There Wouldent be one that can do the opposite and import shock 2 models ?
Posted by: The Brain
« on: 06. July 2007, 22:37:03 »

New version released.
Posted by: The Brain
« on: 29. July 2006, 11:19:36 »

Thanks, IceNine!

EDIT: Link to my web page removed.
Posted by: IceNine
« on: 16. May 2006, 19:53:48 »

Nice job! Always glad to see more ways to easily get stuff into the SS2 engine.
Posted by: The Brain
« on: 16. May 2006, 05:50:52 »

This is export script written in Python for Blender.

It exports mesh and material data from Blender to specifically formatted text file. This text file has .E file extension and it can be converted to Dark Engine's object file format by using  Nameless Voice's conversion tools.

Install instructions:

  • Extract file blender2e_export.py from attached .ZIP-file to yourblendlerinstallationdirectory\.blender\script directory.
  • Open .blender\bpymenus file in your favourite text editor and locate Export section.
  • Add this line before closing parenthesis :
Code: [Select]
'Dark Engine .E-file (.e)...' 240 blender2e_export.py 'Export to Dark Engine's E file format...'
  • Start Blender and check if there is new menu option under File->Export menu. There should be option named 'Dark Engine .E-file (.e)...'.

Usage instructions:
  • Select scene or object(s) in active scene which you want to export and go to File->Export->'Dark Engine .E-file (.e)...' .

If conversion is completed successfully, you should see file save dialog. Choose name to your file. Remember to add .e file extension, script won't do this for you (for now, at least).

If there is no file save dialog, check Blender's console window for error messages and post them to here.

Script is released under GPL-license, which is included in script file.

You can get Blender from here: http://www.blender.org/
Nameless Voice's toolkit lies here:  http://www.geocities.com/nameless_voice/
or here: https://www.systemshock.org/index.php/topic,387.0.html
Installation of Python isn't required, but if you are interested to do some  Python scripting, you can find it here: http://www.python.org/

Code: [Select]
Changelog:
================

0.6.1 First public release.
*No known bugs.

0.6.2  Fixed bsp-error "add_pgon, pgon X accesses NULL material Y" when you had over 10 materials
in your model and you tried to compile .e file to .bin file.

0.6.5  * Added few lines of code to detect which version of Blender is used.
       * Added detection of smoothed faces.
       * Minor changes made to code.

0.6.6  * Added detection of shadeless materials.

See included CHANGE.LOG-file in .zip for more details.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
664a79b5168cc