Model animations in Q3

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
User avatar
Hipshot
Posts: 1547
Joined: Sun Jan 20, 2002 8:00 am

Model animations in Q3

Post by Hipshot »

Does Q3 support animated models through a md3 or maybe a ase? Like if I were to make a tree with moving brances, is it possible?
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Model animations in Q3

Post by obsidian »

AFAIK, not without modifying the code. From what I've been told, misc_models do not support animated models in Q3. I could be wrong, though.
a13n
Posts: 1672
Joined: Thu Feb 10, 2005 2:08 am

Re: Model animations in Q3

Post by a13n »

Isn't simple animation possible, like deformVertexes or attachment to func_* via model2 key(md3 only)?
Shallow
Posts: 167
Joined: Wed Feb 09, 2005 1:58 pm

Re: Model animations in Q3

Post by Shallow »

a13n wrote:Isn't simple animation possible, like deformVertexes or attachment to func_* via model2 key(md3 only)?
Actually, yes. There was an amazing engine model in one of the QCon mapobject contests that had moving pistons done with deformvertexes shaders. I've played with that function a bit and it's possible to get some interesting effects. It's kind of a waste to just use it for wibbly water, but at the same time frustratingly limiting compared to just using a keyframed animation.

Also, you can attach any model to a func_whatever not just md3. Make your func, and then make a misc model and target it at the func. Q3map2 then bakes the faces from the misc_model into the func, just like any other brush/patch faces. It's better than the model2 key which is really glitchy and won't work unless the md3 is in the same pk3 as the map!
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Model animations in Q3

Post by obsidian »

Yeah, but those won't really help if animating moving branches. You can create a texture with a shader and translate or deform it with a shader, but that's about as sophisticated as it gets.
a13n
Posts: 1672
Joined: Thu Feb 10, 2005 2:08 am

Re: Model animations in Q3

Post by a13n »

Shallow wrote:Also, you can attach any model to a func_whatever not just md3.
But it's only md3 that can be lit properly(dynamically) while it moves on.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Model animations in Q3

Post by obsidian »

No, you can make any model use vertex lighting.
a13n
Posts: 1672
Joined: Thu Feb 10, 2005 2:08 am

Re: Model animations in Q3

Post by a13n »

I meant "grid lighting", not "static vertex lighting".
In any case it is vertex that is actually modulated though.

Hipshot, sorry for thread shipwreck.
Post Reply