MD2 Loader....the models

After running the MD2 Loader test file, which was pretty cool, I am now left with a few questions.

The code that switches the animation uses a tag. Am I right in assuming that this is dependent on the creation of the model? That tags are arbitrary?

Also, is there a limit to the length of frames that can be used?

I thinik I understand but am hoping for some feedback.

If its an actual Quake2 player model the tags are fixed to a certain set (or should be), however there are quite a few models out there which use their own tags (mostly from games that happen to use MD2).

Frame limit, its probably max value of short 64k (although the spec seems to say int).

Had a conversation about MD2 recently actually, you need to remember what they are intended to be used for. In Quake2 you got a fairly limited number of people on screen at a time. Even tho graphics technology has improved a lot its still not the best plan to stick hundreds of MD2 on the screen :slight_smile:

Kev

The program I am writing is turn based. I do not think that even a few hundred would be that big of a deal. Only one is moving at any one time. We shall see though. Assuming a hundred people care to play, which I doubt.
I have one more question… what program did you use to create the md2 files?

Fraid I’m not an artist, althought there was a post round here somewhere that covered this…

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1078912817

I just get models from www.polycount.com mostly.

Kev

I was more curious on the specific program. I tried opening up marvin in milkshape. It loads up without a problem but I cannot get the animation to actually occur. Off to another site to see if there are answers.

I am a registered user of Milkshape, and I also made tests about it and think md2 can’t get into with animation, unless there’s some external pluginwhich I don’t know.

I recommend -while is hard- Quake Modeller 0.911b. 0.90 has “play” button. But 0.90 has some other problems. I did put you the link to 0.911b in the thread full of links that is posted above.

With quake modeller you can import models,(as md2, 3ds or asc) put some bones into it, animate it. Then export as md2.

Then, you should use a texture skinning software called

This one allows you to import the already animated md2 , and : uv map(this is complex to learn) the model. Then, you can create a texture for it (or assign an external bitmap that you already had prepared) . This tool allows you to do some basic 2d painting and 3d painting, that is painting directly on the model.

Finally you can save the skin and the md2 with that skin (texture) linked.

I explained the same in the other thread, but here is more step by step, though not getting into detail.

An easier way is Max+qtip plugin. if you have Max, and now how to use it.

besides this way old md2 where done by old polycounters, and they did many, I know at least of a these days mod using quake modeller and nst skinning tool to make their md2 models…

An deven easier, muuuch much easier is just have Character Fx(15$). It will export directly as md2.

A new link I had not posted. A tool ms-dos based to fix normals and join unwelded vertices in an md2. This can get to be a problem if you don’t have a way to fix it. have not tested yet (scroll down till u find a tool called md2tool):

http://www.doomsdayhq.com/files.php?class=5

Hmm…somehow this an the other post should be pasted to gether into a new post and make it sticky? It depends on how many people are going to be interested in md2/md3 format editing…

Thanks for the info… I think I am probably going to end up getting Character FX. I might actually pick up Milkshape as well. I have been using both the last few days and they are pretty good programs. Do you know what would be a good way of generating terrain?

If you are heading to a full set for making games (anyways, prepare for long hours of learning, this can’t be done other way) My advice for the easier way, and some bucks to spend (yet not a lot; if you have a lot, buy Max6 and forget the any problem…) :

  • Wings3d (this one is totally free. get it at www.wings3d.com)

  • If you are not going to make comercial games, you could, and probably you should, learn also metasequoia LE, it comes handy way often. Great partner to wings. http://www21.ocn.ne.jp/~mizno/main_e.html
    The shareware version does not export other than its own native format, mqo.The LE version exports in x(v7) , cob(maybe the best format of these) , dxf, and some other.

  • Milkshape. Is way too useful. I get its functionality with a dozen of convertors, and because am to freaky about free tools. But this cost about 25$ and is problems free. It’s the easy way (compared to the beta tools I use to work with)
    Big low down:doesn’t have support fo rweights. This way worse for animation. besides, in general character Fx is better for animation.Has support for creating smooth groups, which is not available with other tools, maybe with Wings3d with some knowledge. Also, its vertex menu “weld together” command is really good.

-Character Fx. Way good animation software with weights support. I recommend it. I rarely would go wrong as anyway is 15$. Much less powerful than Max in every sense (also Milkshape is much worse than Max) still can produce game animations quite well. :slight_smile: Not hard to learn.

-Ultimate Unwrap(40$) www.unwrap3d.com . I recommend this one specially. Is in my opinion the best uv mapping tool out there. You need to uv map the model so to prepare how the texture is gonna “wrap” (be proyected over) the model.
besides, it support weights. So you can use as an animation converter also, but preserving weights (not like Milkshape) It allows to import a boned , weighted an animated model from Max5 and 5.1. Also, to export a model boned , weighted an animated model towards max.
Is the only tool for cheap that I know which does this. ~40$
It can open lots of formats and export to lots other. It has at least two formats for export and import bones and weights animated models.One of them is dx8.x.
It imports perfectly Metasequoia both shareware and LE version mqo files. So is a great companion to that one, too.

-GIMP for Windows. (or gimp.org if you use Linux ) http://www2.arnes.si/~sopjsimo/gimp/
is free, and can do all the stuff you need for texturing. At least, 2d style. You can do a bit of 3d painting (basicly marking the areas , so to easierly later on 2d paint and detail them) with :

-Metasequoia
-nPherno skin tool (also allows to uv map, but only with md2 files: if you have Milkshape or Ultimate Unwrap, you can always convert an static frame of md2 into OBJ or whatever) The link is in this thread, above.
-Graffitti. A 3d painting tool, available for free, grab it here:
http://www.worldzone.net/games/azrael_dark/PROJECT_ZERO/devtools.html

-Again , if you have money, the best in low range price is Tatoo (40$) :
http://www.terabit.nildram.co.uk/tattoo
It rocks for 3d painting models. the next tool for this would cost you ~800 $…
Anyway, many old school artist manage to texture over the uv template, no need of 3d paint for them. But trust me, it’s way harder.
Still, I use to do the fine ending in 2d. It’s best.

Finally, though not needed (You don’t need map editors nor 3d painting solution if reach great knowledge of a modeller, an animation tool, texturing with gimp or Adobe (Adobe is better) and an uvmapping tool.) map editors:

I’d just recommend Quark (free, even for comercial products):

http://dynamic.gamespy.com/~quark/

And at last, your other qeustion: To generate terrains (you could do also with a free plugin that is for Milkshape, besides some good texturing. Or just using some magnets over agrid and texturing it) this tool bellow, is a thing that generates a terrain from a greyscale bitmap. Like a map. It exports *.map files you can then open in quark and export as bsp from there (if you use bsp)
Tip, with Ultimate Unwrap opens BSP files from quake3, halflife, quake 1 and quake2 .
http://tarot.telefragged.com/gensurf/

In theory, you can’t use quake3 tools to compile a quake3 bsp, if you are going to use for a comercial product. For that, use a free compiler like this (use with the exported map from Quark) : shaderlab.com

Indeed…no need to mess that much, even less at your startings…You could do all with : Wings3d, Milkshape, CharacterFx, Ultimate Unwrap, Gimp, Tatoo.

That’d be : 25+15+40+40 $ = 120 $. But you could do it all…Indeed, only my 3d painting tool is more expensive than the total… :wink: SOmetimes one waste the money in his passion.

[remove Tatoo if you are short of money and just use Grafitti or nst for some poor marking of strokes in 3d model and end the texture 2d painting over it with GIMP. And then it’d be 80$ in total ]

[ tip: ultimate unwrap allows you to load th etexture over the model, and as you go painting in GIMP, each time you hit ctrl+s to save, Unwrap3d updates the texture ove rthe model, so you see the changes.If you put the windows one besides the other, is not 3d painting but is easier than only 2d. ]

Arf… Seriously, i am not gonna write this much for much longer…so that’s why I suggested collecting these paragraphs to be sticky, I am not sure if I am hanging here or just making casual visits…
oh, well, stick it with your bookmarks :wink:

This post explains the EASY way. Many times easier than Blender or Quake Modeller’s ways (even though, Quake modeller can do things not possible with all that pack, so comes handy also)

So the paying thing, sadly here means less frustration… :frowning:

oh , and by the way…the EASIER, problems free, powerful way by all means is :
(in case you’re rich)

  • MAX 6 + character studio 4.2 (or Max 5.1 & character studio )
  • Adobe Photoshop 7.01
  • Deep Paint3d 2.11

While yet having for certain better aproachs in some stuf…

  • Ultimate Uwnrap (I still like it better for uv mapping)
  • Milkshape. (conversions. Some aren’t possible with max)
  • Wings3d. (organic modelling. Though some people don’t get with it)
    -Metasequoia (may stuff, a very good modeller. Pitty you can’t buy it nor use it for comercial projects)