Author Topic: Help with making weapons with Blender version 2.71  (Read 6181 times)

The stickied thread is outdated. How would i go about making it for newer versions of blender?
« Last Edit: September 02, 2014, 03:55:34 PM by Dannu »

By this i mean adding joints etc. I got the model itself

The newest Blender DTS exporter only works for Blender 2.49b. Sorry, but you have to go through 2.49b to get the model into Blockland, there isn't a way in 2.71.

If you want to download a pre-packaged version of 2.49b with the exporter: http://forum.blockland.us/index.php?topic=238465.0
Make sure when moving models from 2.71 you click "Legacy Mesh" while saving, otherwise your model wont have any faces in 2.49b.

If you want to download a pre-packaged version of 2.49b with the exporter: http://forum.blockland.us/index.php?topic=238465.0
Make sure when moving models from 2.71 you click "Legacy Mesh" while saving, otherwise your model wont have any faces in 2.49b.
You're the first person I've seen to acknowledge the existence of that thread. I'm glad to know at least somebody knows it exists.

When i try to export, it says: Python script error, check console. Or something similar to that. Console said nothing, so i got screenshots of folders.

Scripts i installed into .blender>scripts
Contents of my blender folder with python

When i try to export, it says: Python script error, check console. Or something similar to that. Console said nothing, so i got screenshots of folders.

Scripts i installed into .blender>scripts
Contents of my blender folder with python
Do you mean the console said nothing important or that the console was empty? If there's a Python script error there's a good chance there is something important in the console that helps you solve the problem. Your folders look fine. Please take a screenshot of your console after the error.

Do you mean the console said nothing important or that the console was empty? If there's a Python script error there's a good chance there is something important in the console that helps you solve the problem. Your folders look fine. Please take a screenshot of your console after the error.
The Console application had no response whatsoever, that's what i meant. Or does python use something else?

-snip cause handicapped-
« Last Edit: September 01, 2014, 03:11:43 PM by Dannu »

« Last Edit: September 02, 2014, 03:56:06 PM by Dannu »

The Console application had no response whatsoever
You mean the console froze?

Welp, i got the Console.py file here
That's Blender's console's source code. What we need is the output where a screenshot would suffice.

I am completely unsure what you mean. The console app, that comes default with the mac, did not output any error log, except one at startup. Where do i get the error log?

Well I don't know how the mac version works but here's what I get on Windows after opening Blender and exporting a cube.


« Last Edit: September 02, 2014, 03:55:49 PM by Dannu »

Okay, after lots of tinkering, i got something that resembles a error log
Code: [Select]
name-mbp:~ name$ /Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/blender ; exit;
Compiled with Python version 2.3.5.
Checking for installed Python... got it!
/Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/.blender/scripts/DTSPython/Dts_Shape.py:282: FutureWarning: x<<y losing bits or changing sign will return a long in Python 2.4 and up
  StateOn = 1 << 31
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/.blender/scripts/Dts_Blender.py", line 42, in ?
    from DtsPrefs import *
  File "/Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/.blender/scripts/DtsPrefs.py", line 25, in ?
    from DtsSceneInfo import *
  File "/Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/.blender/scripts/DtsSceneInfo.py", line 1140
    thisLevel.sort(lambda x,y: cmp(x.dtsObjName if x.dtsObjName != None else x.dtsNodeName, y.dtsObjName if y.dtsObjName != None else y.dtsNodeName))
                                                 ^
SyntaxError: invalid syntax

If anyone else has the same problem in the future, tell them:
Right click blender application in the folder
Click Show Package Contents
Navigate into the folder MacOS

Open Terminal
Type open and a press space
Go back to MacOS and drag the blender terminal file into the blender window
Press return
You now are running blender through terminal and error logs should pop up there

Okay, after lots of tinkering, i got something that resembles a error log
Code: [Select]
name-mbp:~ name$ /Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/blender ; exit;
Compiled with Python version 2.3.5.
Checking for installed Python... got it!
/Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/.blender/scripts/DTSPython/Dts_Shape.py:282: FutureWarning: x<<y losing bits or changing sign will return a long in Python 2.4 and up
  StateOn = 1 << 31
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/.blender/scripts/Dts_Blender.py", line 42, in ?
    from DtsPrefs import *
  File "/Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/.blender/scripts/DtsPrefs.py", line 25, in ?
    from DtsSceneInfo import *
  File "/Applications/blender-2.49b-OSX-10.4-py2.3-intel/blender.app/Contents/MacOS/.blender/scripts/DtsSceneInfo.py", line 1140
    thisLevel.sort(lambda x,y: cmp(x.dtsObjName if x.dtsObjName != None else x.dtsNodeName, y.dtsObjName if y.dtsObjName != None else y.dtsNodeName))
                                                 ^
SyntaxError: invalid syntax

If anyone else has the same problem in the future, tell them:
Right click blender application in the folder
Click Show Package Contents
Navigate into the folder MacOS

Open Terminal
Type open and a press space
Go back to MacOS and drag the blender terminal file into the blender window
Press return
You now are running blender through terminal and error logs should pop up there
The DTS exporter obviously has a problem. Did you use the MacInstallBlenderDTloveport.a pplescript to install the exporter?