Circle of Eight Forum

Go Back   Circle of Eight Forum > ToEE Modding > General Modification
User Name
Password
Register FAQ Members List Calendar JavaChat Mark Forums Read

Reply
 
Thread Tools
Old September 16th, 2006   #1
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
3DS Max Import/Export plugin

I have completed first version of 3DS Max plugin(versions 7.0 and 8.0 supported) for ToEE.
You can get it here: ToEEImpExp.rar

I have created my first mod using it Rolling-Pin is really great weapon for woman )
Ah Greatsword was crashed, but still works And GreatAxe have an text "ToEE" on it but it is not visible well...
Not only weapons can be created!
fun.JPG

Some instructions:
1. Copy ToeeImpExp.dle in plugins folder of 3DS Max.
2. Launch 3DS Max and use Export/Import options to save/load files in SKM format.

"How to use" instructions in attached archive.

Source code available at: ToeeImpExp.zip

Last edited by Leksey; November 21st, 2007 at 02:59 PM.
Leksey is offline   Reply With Quote
Old September 16th, 2006   #2
Morpheus
Mindflayer
 
Morpheus's Avatar
 
Join Date: Nov 2003
Posts: 538
Re: 3DS Max Import/Export plugin

Great job!

The possibilities are endless... Any number of items, or even monsters might be created.

Now, we need some 3DS Max experts.
Morpheus is offline   Reply With Quote
Old September 16th, 2006   #3
Agetian
Attorney General
 
Agetian's Avatar
 
Join Date: Aug 2004
Posts: 1,810
Re: 3DS Max Import/Export plugin

Wonderful job, man! Really great, something we desperately needed all along! Congrats on completing the import/export plugin. Keep it up, I'm looking forward to seeing newer versions of the plug-in in the future! Good luck!

P.S. Thread is stuck.

- Agetian

Last edited by Agetian; September 16th, 2006 at 10:39 PM.
Agetian is offline   Reply With Quote
Old September 17th, 2006   #4
Spellslinger
Hill Giant
 
Spellslinger's Avatar
 
Join Date: Jul 2006
Posts: 158
Re: 3DS Max Import/Export plugin

Awesome work there!

Now to find someone who can actually model stuff...
Spellslinger is offline   Reply With Quote
Old September 17th, 2006   #5
Cerulean the Blue
Blue Meanie
 
Cerulean the Blue's Avatar
 
Join Date: Apr 2005
Location: Portland, Oregon
Posts: 1,959
Re: 3DS Max Import/Export plugin

Woo Hoo!!!

The ability to work with models! Now that is something we really needed!

First Spellslinger hacking away at all the hard coded bugs, and now this! What will be next?
__________________
"No. The only thing that lasts forever is apathy. But who cares."
Cerulean the Blue is offline   Reply With Quote
Old September 17th, 2006   #6
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
Re: 3DS Max Import/Export plugin

Quote:
Originally Posted by Morpheus
Great job!

The possibilities are endless... Any number of items, or even monsters might be created.

Now, we need some 3DS Max experts.
Not sure about all items and about monsters. Many of items or monster models contains a lot of animations. For now, I don't know exact format for animation (.ska file), so plugin didn't suppot any animations. But with some work in HEX we can change monsters appearance, but animations will remain......
For now I tested it only on models that contains one bone and one empty animation "item_idle". A lot of weapons contains that parameters and if we will create new it items without animations it will be easy.
Leksey is offline   Reply With Quote
Old September 18th, 2006   #7
Cuchulainn
Windmill Tilter
 
Cuchulainn's Avatar
 
Join Date: Jan 2006
Location: McBride, B.C. Canada
Posts: 611
Re: 3DS Max Import/Export plugin

Absolutely awesome work Leksey!!

Even being limited to models without animation gives us a lot of possibilities we didn't have before. Of course like everyone hear I'm anxously waiting to see if animations are the next great obstacle to fall.

Cuchulainn.
__________________
"We live as if the world were as it should be"
Cuchulainn is offline   Reply With Quote
Old September 18th, 2006   #8
Cujo
Mad Hatter
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Saurfang
Posts: 3,498
Re: 3DS Max Import/Export plugin

now what we need is for someone to attach the body part of the lamia to the black widow so we can get a drider (or even lolth).
__________________
“Scientists are saying the future is going to be far more futuristic than they originally predicted.”
I killed two dwarves in the morning. I killed two dwarves at night
I killed two dwarves in the afternoon, and then I feel alright
I killed two dwarves in times of peace and two in times of war
I killed two dwarves before I killed two dwarves
And then I killed two more

Super Moderator
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101
Cujo is offline   Reply With Quote
Old September 19th, 2006   #9
Allyx
Master Crafter
 
Allyx's Avatar
 
Join Date: Dec 2004
Location: U.K.
Posts: 3,300
Re: 3DS Max Import/Export plugin

Quote:
Originally Posted by Cujo
now what we need is for someone to attach the body part of the lamia to the black widow so we can get a drider (or even lolth).
Or just making Drow an available PC race eh Cujo?

[EDIT] Though thinking about it, that would require Spellslinger's services.
__________________
"I don't want it back. You can never get rid of the smell, you know. Besides, that dagger was Flint's!" - Tasslehoff Burrfoot.


Last edited by Allyx; September 19th, 2006 at 03:04 AM.
Allyx is offline   Reply With Quote
Old September 19th, 2006   #10
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
Re: 3DS Max Import/Export plugin

Quote:
Originally Posted by Cujo
now what we need is for someone to attach the body part of the lamia to the black widow so we can get a drider (or even lolth).
As I said plugin didn't support animation for now and it will require not really easy work to find out animation format... So creating monsters is not easy task.... For now plugin works good only for simple models - weapons, some containers without animations and some other items.

Quote:
Originally Posted by Allyx
Or just making Drow an available PC race eh Cujo?
What is other diffrences between Drow and Elf except eyes and skin color? May be ears, but they are to small in ToEE so the differnce will not be visible.... OR some others?
If not we can just change some textures, without using 3D plugin.
Leksey is offline   Reply With Quote
Old September 19th, 2006   #11
krunch
life and entropy
 
krunch's Avatar
 
Join Date: Aug 2005
Posts: 3,240
Re: 3DS Max Import/Export plugin

hair color
__________________
Entropy is inevitable, the steady deterioration of a system or society and, as well, is the tendency for all matter and energy to transition toward a uniform inert state.
krunch is offline   Reply With Quote
Old September 19th, 2006   #12
Lord_Spike
Sh!t K!cker
 
Lord_Spike's Avatar
 
Join Date: Mar 2005
Location: Scant
Posts: 3,125
Re: 3DS Max Import/Export plugin

Drow also have magic resistance and innate spell casting ability. Females & higher level drow have these abilities expanded somewhat as well. Lastly, they have better infravision.

That's what I recall off the top of my head. Anyone else?
Lord_Spike is offline   Reply With Quote
Old September 19th, 2006   #13
Cujo
Mad Hatter
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Saurfang
Posts: 3,498
Re: 3DS Max Import/Export plugin

the models for drow are fine, its the skins that are the problem and thats where a dll hack is required.


btw. a few things that would look good in the game would be
a kukri that looks like a kukri
a better sickle than I made
a handgun.
a flail - currently uses the heavy flail model and I think the chain is to long
a druss styled axe
__________________
“Scientists are saying the future is going to be far more futuristic than they originally predicted.”
I killed two dwarves in the morning. I killed two dwarves at night
I killed two dwarves in the afternoon, and then I feel alright
I killed two dwarves in times of peace and two in times of war
I killed two dwarves before I killed two dwarves
And then I killed two more

Super Moderator
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101

Last edited by Cujo; September 19th, 2006 at 06:11 PM.
Cujo is offline   Reply With Quote
Old September 20th, 2006   #14
Cuchulainn
Windmill Tilter
 
Cuchulainn's Avatar
 
Join Date: Jan 2006
Location: McBride, B.C. Canada
Posts: 611
Question Re: 3DS Max Import/Export plugin

Hmm.

When attempting to fire up Max after adding ToeeImpExp.dle to the plugins directory I get an error message.

DLL <c:\Program Files\Autodesk\3dsMax8\plugins\ToeeImpExp.dle> failed to initialize.
Error Code: 126 - The specified module could not be found.

Any guesses as to what might be causing this.

Cuchulainn.
__________________
"We live as if the world were as it should be"
Cuchulainn is offline   Reply With Quote
Old September 20th, 2006   #15
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
Re: 3DS Max Import/Export plugin

First bug report.

Strange, I also use 3DS Max 8.0 and just reinstalled it , so all folders are clear. Plugin works normal...

Anyone else tried to use plugin?

I reloaded archieve with plugin, so try this.
Leksey is offline   Reply With Quote
Old September 20th, 2006   #16
Cuchulainn
Windmill Tilter
 
Cuchulainn's Avatar
 
Join Date: Jan 2006
Location: McBride, B.C. Canada
Posts: 611
Re: 3DS Max Import/Export plugin

No, I still get the same error with the new dle.

I have max istalled to the default location, which means there is a space in the path "Pragram Files". Any chance that's causing the issue?

Cuchulainn.
__________________
"We live as if the world were as it should be"
Cuchulainn is offline   Reply With Quote
Old September 20th, 2006   #17
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
Re: 3DS Max Import/Export plugin

I also have max installed in default location.
I send plugin to my friend to test. And he said all works fine.....
Don't know how to help you
Will try to get latest 3DS Max SDK for 8.0 Max, and build new version.

Last edited by Leksey; September 20th, 2006 at 03:58 PM.
Leksey is offline   Reply With Quote
Old September 20th, 2006   #18
Cuchulainn
Windmill Tilter
 
Cuchulainn's Avatar
 
Join Date: Jan 2006
Location: McBride, B.C. Canada
Posts: 611
Re: 3DS Max Import/Export plugin

If it works fine for both you and your friend it almost has to be something at my end. So there's probably no point rebuilding the plugin. I'll keep playing with it and let you know if I figure it out.

Can you think of any dependencies the dll might have? I'm not a programmer so it's possible I'm missing libraries present on both your machines.

I'm running:

Win2k, SP4
DirectX 9c

Cuchulainn.
__________________
"We live as if the world were as it should be"

Last edited by Cuchulainn; September 20th, 2006 at 07:43 PM.
Cuchulainn is offline   Reply With Quote
Old September 21st, 2006   #19
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
Re: 3DS Max Import/Export plugin

Hm.. It seems I found a problem. I am really stupid to upload debug version of plugin
I uploaded release version. Try it should work.
Dependencies:
System dlls:
USER32.DLL,KERNEL32.DLL,MSVCR80.DLL,MSVCP80.DLL
3DS max dll:
CORE.DLL,MAXUTIL.DLL,GEOM.DLL,MESH.DLL.
I think problem can be only with MSVCR80.DLL,MSVCP80.DLL.
If you will meet problem again I will add to archieve this Dlls (As I know microsoft allow to redistribute it with programs).
P.S. Release version is 36 kbytes instead of 300 in Debug

Last edited by Leksey; September 21st, 2006 at 06:01 AM.
Leksey is offline   Reply With Quote
Old September 21st, 2006   #20
Cuchulainn
Windmill Tilter
 
Cuchulainn's Avatar
 
Join Date: Jan 2006
Location: McBride, B.C. Canada
Posts: 611
Re: 3DS Max Import/Export plugin

Heh heh heh, works like a hot damn!!!

Tried import and export with no problems. Very nice work!

Cuchulainn.
__________________
"We live as if the world were as it should be"
Cuchulainn is offline   Reply With Quote
Old September 21st, 2006   #21
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
Re: 3DS Max Import/Export plugin

If you will have problems with adding models to game. Send me e-mail or PM.
Leksey is offline   Reply With Quote
Old September 21st, 2006   #22
Cujo
Mad Hatter
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Saurfang
Posts: 3,498
Re: 3DS Max Import/Export plugin

now I've just got to get 3DS MAX again.
__________________
“Scientists are saying the future is going to be far more futuristic than they originally predicted.”
I killed two dwarves in the morning. I killed two dwarves at night
I killed two dwarves in the afternoon, and then I feel alright
I killed two dwarves in times of peace and two in times of war
I killed two dwarves before I killed two dwarves
And then I killed two more

Super Moderator
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101
Cujo is offline   Reply With Quote
Old September 26th, 2006   #23
Cuchulainn
Windmill Tilter
 
Cuchulainn's Avatar
 
Join Date: Jan 2006
Location: McBride, B.C. Canada
Posts: 611
Re: 3DS Max Import/Export plugin

Hey Leksey,

I imported my first new model into toee (a kukri) and it works great, but I need some advice. Do you know how to tell toee where to grab the model? I had assumed the players hand would attach at 0.0 on the horizontal axis so I placed the kukri apropriately. When I equip the weapon in game though, the player holds it in the middle. (which looks bloody uncomfortable);-)

I'm probably missing something simple, but I thought I'd ask rather than pulling my hair out for hours.

Thanks,
Cuchulainn.

EDIT-----
Figured it out. The weapon needs to be oriented verticaly not horizontaly and the exact center of your scene (0,0,0) is where the hand attaches.
__________________
"We live as if the world were as it should be"

Last edited by Cuchulainn; September 26th, 2006 at 08:05 PM.
Cuchulainn is offline   Reply With Quote
Old September 26th, 2006   #24
Cujo
Mad Hatter
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Saurfang
Posts: 3,498
Re: 3DS Max Import/Export plugin

a couple of axes I'd like to see in the game can be found here, here and here
__________________
“Scientists are saying the future is going to be far more futuristic than they originally predicted.”
I killed two dwarves in the morning. I killed two dwarves at night
I killed two dwarves in the afternoon, and then I feel alright
I killed two dwarves in times of peace and two in times of war
I killed two dwarves before I killed two dwarves
And then I killed two more

Super Moderator
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101
Cujo is offline   Reply With Quote
Old September 26th, 2006   #25
Cuchulainn
Windmill Tilter
 
Cuchulainn's Avatar
 
Join Date: Jan 2006
Location: McBride, B.C. Canada
Posts: 611
Re: 3DS Max Import/Export plugin

@Cujo Nice! The Hungarian Axe especialy looks cool. Was that a request, or do you figure you'll have Max up and running again soonish yourself?

Cuchulainn.
__________________
"We live as if the world were as it should be"
Cuchulainn is offline   Reply With Quote
Old September 26th, 2006   #26
Cujo
Mad Hatter
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Saurfang
Posts: 3,498
Re: 3DS Max Import/Export plugin

it was a request - I've lost a lot of my CDs and after a reformat the software as well

I was also thinking of a flame sword - one with a wavey blade, I was going to make one out of a greatsword by making wavey edges but how most of the swords work isn't quite as simple as that (in one game how they made it was a handle with a big rectangle blade and alphaed it to shape - to cut down on the complexity of the modle I think)
__________________
“Scientists are saying the future is going to be far more futuristic than they originally predicted.”
I killed two dwarves in the morning. I killed two dwarves at night
I killed two dwarves in the afternoon, and then I feel alright
I killed two dwarves in times of peace and two in times of war
I killed two dwarves before I killed two dwarves
And then I killed two more

Super Moderator
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101
Cujo is offline   Reply With Quote
Old September 26th, 2006   #27
Cujo
Mad Hatter
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Saurfang
Posts: 3,498
Re: 3DS Max Import/Export plugin

and a couple of "real warhammers" would be nice. not the DnD sledge hammer styled warhammers or the bullshit stumpy little handle masive striking edge + small rear spike.

http://www.jasinski.co.uk/wojna/spirals/s-hammer.htm
http://www.armor.com/pole005.html
http://en.wikipedia.org/wiki/War_hammer
__________________
“Scientists are saying the future is going to be far more futuristic than they originally predicted.”
I killed two dwarves in the morning. I killed two dwarves at night
I killed two dwarves in the afternoon, and then I feel alright
I killed two dwarves in times of peace and two in times of war
I killed two dwarves before I killed two dwarves
And then I killed two more

Super Moderator
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101
Cujo is offline   Reply With Quote
Old September 27th, 2006   #28
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
Re: 3DS Max Import/Export plugin

Cuchulainn - Cool work.
I wanna play Co8 5.0 with kukri
Ah and thank for the tip how to place weapon in hand. I also had this problem with Rolling Pin.
Leksey is offline   Reply With Quote
Old September 27th, 2006   #29
Cuchulainn
Windmill Tilter
 
Cuchulainn's Avatar
 
Join Date: Jan 2006
Location: McBride, B.C. Canada
Posts: 611
Re: 3DS Max Import/Export plugin

There are a lot of things we could play 5.0 with now thanks to your plugin. (claps) I'll post screnies of the kukri once I'm finished, I'm still havilng issues with the texture atm. Then it's on to the Hungarian War Axe. (Mwa Ha Ha ha)

Not to seem like a greedy child on christmas morning but what are the chances of changing the plugin to handle more than one bone? I understand the holdup with animations, but a lot of the weapons/armor have multiple bones (helms, short sword, etc.).

Cuchulainn
__________________
"We live as if the world were as it should be"
Cuchulainn is offline   Reply With Quote
Old September 27th, 2006   #30
Leksey
Giant Crayfish
 
Leksey's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 51
Re: 3DS Max Import/Export plugin

So they did not conatain any animations, but have multiple bones, Right?
I think this could be done,because I have bone format specs.
Will try to implement this.
Leksey is offline   Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:02 AM.
Our Host!


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Circle of Eight Design by Ian Miles "Sol Invictus" Cheong