This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TOOL] PyModelEditor  (Read 33977 times)

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #15 on: March 29, 2011, 09:48:33 am »
Hey guys still trying to get this to work, I have finaly got pyqt4 opengl and python 2.6 but when I run the module it just gives me this error

Code: [Select]
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************
   
IDLE 2.6.6      ==== No Subprocess ====
>>>
Traceback (most recent call last):
  File "C:UsersGamesOverDesktopPyModelEditor AlphaReleasestartme.py", line 4, in <module>
    from PyQt4 import QtGui, QtCore
ImportError: No module named PyQt4
>>>


my best guess is that something is in the wrong directory, seeing as it is telling me there is no such module as pyqt4... can someone explain to me were pyqt4 is supposed to be in relation to python and were opengl 2.6 should be installed / what folder the pyqt contents should be in...
In a sum up how do I setup the files for pyqt4 opengl python and pymodel editor so they work with each other.
I would love to get this tool working but still having trouble please anyone that knows how to do this, please help.  :cry:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

gorq

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 141
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #16 on: April 22, 2011, 01:17:52 pm »
i want to try ur new color, light and particle emissor editors; i will give feedback soon ^^ Thnx to be still developing it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Zim4ik

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 407
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #17 on: May 11, 2011, 07:41:53 pm »
Yeah! It`s working for me!

TIP: Download QT witch matches with your python version
example: if python 2.66 download PyQt-Py2.6-x86-gpl-4.8.4-1.exe   Windows 32 bit installer
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Supora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #18 on: May 23, 2011, 04:44:10 pm »
i have a import error
cannot import name QtCore
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #19 on: May 24, 2011, 01:16:59 pm »
if the model has particle pymodeleditor an error. (v51)
http://img109.imageshack.us/img109/4941/vellear89834.jpg
may be in the next version this will be fixed?
(if the model has no particles, then the button (Edit particles) automatically would create an "empty" particle)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

gorq

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 141
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #20 on: June 12, 2011, 05:04:47 pm »
I think something is wrong with writing bloick. Models modified by pym2 does not usually works for other programs. Maybe is it changing some format stuff? Wow reads it nice but i have several problems with this edited models then
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Garthog

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #21 on: July 19, 2011, 09:00:04 pm »
Quote
C:Python32>python.exe C:UsersAymericDocumentsWorld of Warcraftpymodeledito
rpymodeleditorstartme.py
python.exe: can't open file 'C:UsersAymericDocumentsWorld': [Errno 2] No suc
h file or directory

C:Python32>python.exe "C:UsersAymericDocumentsWorld of Warcraftpymodeledit
orpymodeleditorstartme.py"
Traceback (most recent call last):
  File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
startme.py", line 4, in <module>
    from pymodeleditor import PyModelEditor as Editor
  File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
pymodeleditor.py", line 16, in <module>
    from glView import *
  File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
glView.py", line 74
    print "oO"
             ^
SyntaxError: invalid syntax

This is what i'm getting when I run it via startme.py.
I have Python32.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #22 on: July 21, 2011, 02:44:57 am »
Quote from: "Garthog"
Quote
C:Python32>python.exe C:UsersAymericDocumentsWorld of Warcraftpymodeledito
rpymodeleditorstartme.py
python.exe: can't open file 'C:UsersAymericDocumentsWorld': [Errno 2] No suc
h file or directory

C:Python32>python.exe "C:UsersAymericDocumentsWorld of Warcraftpymodeledit
orpymodeleditorstartme.py"
Traceback (most recent call last):
  File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
startme.py", line 4, in <module>
    from pymodeleditor import PyModelEditor as Editor
  File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
pymodeleditor.py", line 16, in <module>
    from glView import *
  File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
glView.py", line 74
    print "oO"
             ^
SyntaxError: invalid syntax

This is what i'm getting when I run it via startme.py.
I have Python32.
pymodeleditor works only in 2.6 python.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

gorq

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 141
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #23 on: August 02, 2011, 04:16:25 pm »
Inico and me has noticed some bugs on Pymodel.

It brokes some anims (usually talk, laught and emotework)
Added attachment points do not work well (they do not appear or exist)
The first Material is always bugged, u can change the stuff but when u save it or u change to another material, the first one becomes as it was at the beginning.

DP: To the newly users that are having trouble installing it: U have to use, u must use Python 2.6.6 (or 2.6.7), pyqt4 for python 2.6 and pyopengl 3.0 (for 2.6)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #24 on: August 08, 2011, 02:20:27 pm »
Can I use PyModelEditor to make a Creature to Character edit? For example; Tigon with armor?
I got PyME alr but is it attachment I shall add for armor or geosets? :P
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #25 on: August 09, 2011, 11:15:52 am »
Quote from: "phucko1"
Can I use PyModelEditor to make a Creature to Character edit? For example; Tigon with armor?
I got PyME alr but is it attachment I shall add for armor or geosets? :P
Yes, you can.
-----
In the Textures are several types.
Hardcoded - the texture is only used in the specified path.
Item  capes - This type of texturee used in, armor and weapons textures. The path to the texture is taken from the DBC. (itemdisplayinfo)
Body or Clothes - This type of texture used to texture the character's body and put on their armor (armor texture boots, gloves, bracers etc.)
------
Just change the type of texture.
------
If you want to dress to Tigon, a helmet and shoulders. You need to add three attachment. Open any character model (for example: Humanmale.m2) in py, and see how they are made for attachments them.

Full image: http://i.hebimage.com/0811/4e40fd06bc352.png
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #26 on: August 09, 2011, 11:47:00 am »
Tigu a add you a project on the traker.
There you can collect bugs and feature requests.

bugtraker/index.php?do=toplevel&project=6
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #27 on: August 09, 2011, 01:00:27 pm »
Quote from: "Steff"
Tigu a add you a project on the traker.
There you can collect bugs and feature requests.

bugtraker/index.php?do=toplevel&project=6
Great!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

gorq

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 141
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #28 on: August 24, 2011, 11:05:52 pm »
bugtracker is not workin for me (im still registered and loged in)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [TOOL] PyModelEditor
« Reply #29 on: August 25, 2011, 07:59:46 am »
Oo, I have everything working
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more