How to export md3 models with animation ? Blender , gmax, lightray ...


(Kic) #1

HI
please I cant proper export md3 model with animation from gmax
Your tips How to export from gmax, 3ds max, blender, lightray ?
Some time back ( 4 years I exported with succes , but animation faster when import back to gmax )
Also How to run animated md3 in game ( what to write in entity window and script ?) ?

Thanks


(nUllSkillZ) #2

Not sure about the im- and export.

As far as I remember the punps on Oasis are animated.
So you could have a look at the .map-file (available) and the script.

You could also have a look at other maps that use animated models.
If the .map-file isn’t available you can try to open the .bsp-file in a text editor and search for model or gamemodel.
You should see the keys and values.


(-SSF-Sage) #3

I have fully working md3 import and export scripts for blender.

How to add it in game: 2 ways for mesh animation (shader animation is different story). This should be enough information.

Via script. Good for script_movers.

Or directly from misc_gamemodel. with the following entity keys:

frames : Number of animation frames
start : Frame to start playing animation on
fps : Number of Frames Per Second for animation playback

To start/stop animating, you can alertentity it from the script or target another entity to it that alerts it (like trigger). Or if you want it to animate at map start, tick the box “start_animate”.


(ischbinz) #4

i nfact you can animate you model with lightray - and export it, the animation itself works well but sometimes the the uv-coordinates get lost - dunno why - sometimes it works sometimes not…

for the other tools you said - dunno - i prefer milkshape - easy + good results

for adding them in a map - as sage wrote.
i prefer just making a scriptmover and change the model in the script - then you can start the animation -
but there are some problems with big animation files - some buffer get full or so.
if you model is too big and you want to change the animation it don t work proper.


(Kic) #5

Thank you all .