[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Proper md2 to mdl conversion?

Proper md2 to mdl conversion?

Discuss the creation of various model formats for Quake engines, and related matters to modeling.

Moderator: InsideQC Admins

Proper md2 to mdl conversion?

Postby Mathuzzz » Sun Apr 28, 2013 1:09 pm

Hi, as title says, I was trying to convert md2 to Hexen 2 mdl. It was the weapon model(Elven Wand from Heretic). What is the proper way to convert these two formats? Because after I converted it with Quark model editor, both the model and the texture were messed. I tried it the other way, converting it to md3 and then to mdl. While the model was OK, texture was messed again. So is there some better converter or did I missed anything? Thanks.
Mathuzzz
 
Posts: 21
Joined: Sun May 09, 2010 3:59 pm

Re: Proper md2 to mdl conversion?

Postby Spike » Sun Apr 28, 2013 5:29 pm

hexen2 has a different palette. you'll need to find a converter that either explicitly supports hexen2 or has an option to change the palette.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Proper md2 to mdl conversion?

Postby Mathuzzz » Sun Apr 28, 2013 7:17 pm

That´s sadly not the case :)
I´ll post the screenshot which says it better.
Image
Mathuzzz
 
Posts: 21
Joined: Sun May 09, 2010 3:59 pm

Re: Proper md2 to mdl conversion?

Postby ceriux » Mon Apr 29, 2013 2:13 pm

looks kinda like uv maps are getting messed up. i cant really tell what the model is. but you could try noesis.
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Proper md2 to mdl conversion?

Postby Mathuzzz » Mon Apr 29, 2013 2:33 pm

This is what the model was supposed to look like.

Image

So I guess it is not just UV maps.
Mathuzzz
 
Posts: 21
Joined: Sun May 09, 2010 3:59 pm

Re: Proper md2 to mdl conversion?

Postby Spirit » Mon Apr 29, 2013 3:25 pm

Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: Proper md2 to mdl conversion?

Postby Mathuzzz » Mon Apr 29, 2013 4:17 pm

Hm, same result with Qwalk. What is strange is that the model looks fine in model editor, but in game it looks like this. :(
Mathuzzz
 
Posts: 21
Joined: Sun May 09, 2010 3:59 pm

Re: Proper md2 to mdl conversion?

Postby Seven » Mon Apr 29, 2013 4:31 pm

Hello Mathuzzz,

I think I have seen you in the Quakeone Hexen2 thread.
Good to see you working on H2. :)

Regarding your question:
I think it is an engine dependent issue.
I quickly converted the Heretic wand model to .mdl (like you did) and got these results:

With FTE engine:


With UQE engine:


With DP engine:


With jhexen2 engine I received a similar result like you have (model is totally messed up).
So I think it is the replacement feature of the engine, that causes this.

Anyway, this is what I did:
- Converted .dmd model from Cain / PiCKleBro into .md2 with "md2tool"
- Converted .md2 model to .mdl with "Noesis" (you can also use "qwalk" for this step)
- Created matching replacement texture with "QME"

It was necessary to create a replacement texture, due to different color palette (just like Spike said !).
Without replacement texture, the colors do not match to Hexen2 palette.

I hope this could help you a little bit.
Seven
Seven
 
Posts: 301
Joined: Sat Oct 06, 2007 8:49 pm
Location: Germany

Re: Proper md2 to mdl conversion?

Postby Mathuzzz » Mon Apr 29, 2013 4:49 pm

Hi Seven, yes I use jsHexen and I thought the engine might be the case.
Thing is that I think jsHexen is the best engine for Hexen 2. UQE is OK, but has fewer features and with more recent release it has strange movement physics for weapons. Some of them are "flying" in front of you and move differently when you walk. (even though I like the jumping there more :) ).
Mathuzzz
 
Posts: 21
Joined: Sun May 09, 2010 3:59 pm

Re: Proper md2 to mdl conversion?

Postby Spike » Mon Apr 29, 2013 4:54 pm

glquake has a few limits that if exceeded can result in memory corruption, I guess that's what's happening here. Try simplifying the model down to <512 verts? might be less, not sure what the actual limit is.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK


Return to Modeling

Who is online

Users browsing this forum: No registered users and 1 guest