[TUTORIAL] Modify Torchlight Meshes with Blender

Forum for discussing the Torchlight mod toolset.

[TUTORIAL] Modify Torchlight Meshes with Blender

Postby cacysunlee » Wed Oct 28, 2009 3:24 am

Tutorial 1
import torchlight OGRE meshes to BLENDER (only for static objects)
3dmax user follow this link : viewtopic.php?f=6&t=2311

you need :
the original Torchlight game : http://www.torchlightgame.com
Blender : http://www.blender.org
Python : http://www.python.org/download/
OgreCommandLineTools : http://www.ogre3d.org/download/tools
Blender Import Script (to downlaod click on sources there) : http://www.ogre3d.org/wiki/index.php/BlenderImport
note: use 32 bit downloads, if you have a 64 bit system. 'cause sometimes the 64 bit versions don't work very well. (thanks servvs)

1. install first python, then blender
2. download and install OgreCommandLineTools, note : this install the OgreXmlConverter.exe too
3a. download the blender import script "ogre_import.py"
3b. edit the ogre_import.py file in line 71 (in old scipt was it in line 127) and let the script know where OgreXmlConverter.exe is installed
for example : IMPORT_OGREXMLCONVERTER = "C:\\OgreCommandLineTools\\OgreXmlConverter.exe"
3c. save ogre_import.py and copy it to blender script folder, for example : C:\Program Files\Blender Foundation\Blender\.blender\scripts
4. unzip Pak.zip in your custom folder. you find Pak.zip in Torchlight install folder
5. in media\models\barrel you will find a barrel mesh, let us import this mesh to blender
6. start blender, press X key to delete the cube, then click on file and import OGRE.mesh, now select the barrel.MESH.
that's all.

now you can modify the mesh
example : http://i35.tinypic.com/2cr3hq1.jpg
if you don't know how i put the texture on barrel, then you must first start to learn blender
you can find videotutorials here : viewtopic.php?f=6&t=846


Tutorial 2 - work in progress
export blender mesh to torchlight OGRE

you need :
the original Torchlight game : http://www.torchlightgame.com
Blender Mesh Exporter : http://www.ogre3d.org/wiki/index.php/Blender_Exporter

work in progress !
Last edited by cacysunlee on Sun Nov 01, 2009 12:09 am, edited 11 times in total.
User avatar
cacysunlee
 
Posts: 62
Joined: Sun Aug 23, 2009 3:19 pm
Location: germany

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby Roughshod » Wed Oct 28, 2009 3:36 am

Fantastic tutorial, this is exactly what I was hoping for. Thank you for your efforts in typing this all up.
Roughshod
 
Posts: 26
Joined: Mon Oct 19, 2009 5:00 pm

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby Dusho » Wed Oct 28, 2009 4:09 am

very nice
I already mentioned in different thread, that there is script that should also work with bones, but bones naming in TL (spaces in names) is maybe causing script to fail.
here is the script:
http://blenderartists.org/forum/showthread.php?t=65380
I've sent an email to guy who made that script, but the script is years old, so I don't expect to have any feedback. But anyone who's little bit skilled with python and blender should be able to fix that script.
I also plan to use Blender to make some new stuff...
Dusho
 
Posts: 974
Joined: Sun Aug 09, 2009 10:09 am

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby jamesL » Wed Oct 28, 2009 4:34 am

cacysunlee wrote:!


that is an awesome ! tutorial
I tried to learn Blender over the summe, I watched Super3boy's vids on youtube
http://www.youtube.com/watch?v=whMozCIJGOw
but I just have no talent or skill at all :lol:
but still I find this very interesting and helpful and I know many others will too
thanks again
really looking forward to what you make
I don't have a sig
jamesL
 
Posts: 3356
Joined: Fri Jun 05, 2009 7:01 pm

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby Drakraze » Wed Oct 28, 2009 6:11 am

Thank you so much for this post. I have been waiting for a game like this for so long, then they drop the epic news that they are going to let people MOD! So now I am on a crash course in Modding and this was a great start along with some great tools. Thank you so much and I cant wait for more Tutorials.
Drakraze
 
Posts: 3
Joined: Wed Oct 28, 2009 6:01 am

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby Cpryd001 » Wed Oct 28, 2009 9:30 am

Sweet! A nice and easy way to start modding!
User avatar
Cpryd001
 
Posts: 25
Joined: Mon Oct 26, 2009 5:27 pm

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby adamperin » Wed Oct 28, 2009 11:12 am

AWESOME!
User avatar
adamperin
Runic Staff
 
Posts: 593
Joined: Fri Jun 19, 2009 4:59 pm

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby Supernaut » Wed Oct 28, 2009 12:08 pm

Fantastic, thanks a lot Cacy.

Can't wait for the 2nd tutorial.

Though modifying meshes will be useful for my first mod :)
Would play Torchlight more if I didn't have so much work to do. :(
While I should be Working.
User avatar
Supernaut
 
Posts: 53
Joined: Tue Sep 29, 2009 5:20 am
Location: NW England

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby GABsturr » Wed Oct 28, 2009 2:54 pm

Exactly the type of inspirational start needed, thank you very much.
User avatar
GABsturr
 
Posts: 28
Joined: Sat Jun 20, 2009 4:36 am
Location: Dundee, Scotland

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby drake » Wed Oct 28, 2009 3:20 pm

thanks a lot for the info, I just tried your method and it works like a charm :D
drake
 
Posts: 64
Joined: Sun Oct 18, 2009 11:05 am

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby Needlehawk » Wed Oct 28, 2009 6:24 pm

cacysunlee, you are one of my heros here. Your posts have been unfailingly helpful.

Any chance that we could get one of the moderators to sticky this?
User avatar
Needlehawk
 
Posts: 855
Joined: Tue Jul 14, 2009 9:46 pm
Location: Lincoln, NE

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby meissner61 » Wed Oct 28, 2009 7:30 pm

is there any way to save posts in the user control panel for future reference or is posting here enough?
Happy Hunting
User avatar
meissner61
 
Posts: 59
Joined: Wed Oct 28, 2009 10:02 am
Location: San Diego, CA

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby LtgCrabfish » Wed Oct 28, 2009 7:33 pm

meissner61 wrote:is there any way to save posts in the user control panel for future reference or is posting here enough?


No clue about this one, but from what I can tell; you want this one bookmarked for a fast convenience right? You can just bookmark this page to easily search this, if that's what you're asking lol
User avatar
LtgCrabfish
 
Posts: 199
Joined: Thu Oct 15, 2009 1:57 pm
Location: Toronto

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby meissner61 » Wed Oct 28, 2009 7:35 pm

oh thats true bookmarking pages... hmm talk about brain freeze
Happy Hunting
User avatar
meissner61
 
Posts: 59
Joined: Wed Oct 28, 2009 10:02 am
Location: San Diego, CA

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby meissner61 » Wed Oct 28, 2009 9:45 pm

oo i found it there is a bookmark topic button all the way at the bottom of the page
Happy Hunting
User avatar
meissner61
 
Posts: 59
Joined: Wed Oct 28, 2009 10:02 am
Location: San Diego, CA

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby jamesL » Wed Oct 28, 2009 11:30 pm

there's also the subscribe link right next to it
that way you get informed by email when replies are made
I don't have a sig
jamesL
 
Posts: 3356
Joined: Fri Jun 05, 2009 7:01 pm

Re: TUTORIAL : Modify Torchlight Meshes with Blender

Postby bTomfoolery » Wed Oct 28, 2009 11:41 pm

Looks like if I want to edit torchlight meshes in Maya, I am gonna have to import them into blender, export them from blender to maya, edit them, then use the exporter to put them out as .meshes again. Seriously Autodesk? An exporter but no importer? That's a bit annoying.
~Benjamin Tomfoolery
Website|Steam|XBL|PSN
Truth, Justice, Freedom, Reasonably Priced Love, and a Hard Boiled Egg
User avatar
bTomfoolery
 
Posts: 285
Joined: Sun Aug 16, 2009 12:49 pm
Location: Bellevue, Washington

Re: [TUTORIAL] Modify Torchlight Meshes with Blender

Postby drake » Thu Oct 29, 2009 4:06 am

please, make this one sticky :)
drake
 
Posts: 64
Joined: Sun Oct 18, 2009 11:05 am

Re: [TUTORIAL] Modify Torchlight Meshes with Blender

Postby Monkeynutz » Thu Oct 29, 2009 4:41 am

Im getting an Error the moment i want to import a .Mesh File into Blender

Image

Anyone know why?
Monkeynutz
 
Posts: 68
Joined: Tue Oct 27, 2009 9:30 am

Re: [TUTORIAL] Modify Torchlight Meshes with Blender

Postby cacysunlee » Thu Oct 29, 2009 4:53 am

Monkeynutz wrote:Im getting an Error the moment i want to import a .Mesh File into Blender

Image

Anyone know why?


which mesh have you loaded?
try first the barrel and you have previously changed the line 127 in ogre_import.py ?
note this tutorial is only for static objects, not for animated objects.
User avatar
cacysunlee
 
Posts: 62
Joined: Sun Aug 23, 2009 3:19 pm
Location: germany

Next

Return to Torchlight Mod Discussion

Who is online

Users browsing this forum: No registered users and 6 guests