Forum

Frame/Skin group playback rates

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

Moderator: InsideQC Admins

Frame/Skin group playback rates

Postby Willem » Tue Apr 07, 2009 5:36 pm

I'm trying to get my MDL editing program finished up (as part of the new ToeTag editing suite) and I have a question. I've been plugging in time stamps for skin and frame groups but they don't seem to do anything. The id ones are all set up as .10 of a second apart from each other and I'm getting the impression that maybe that's some sort of hard coded engine thing.

Are the play rates adjustable in the MDL file itself or are those fields just ignored by the Quake engine itself?
Willem
 
Posts: 73
Joined: Wed Jan 23, 2008 10:58 am

Postby MauveBib » Tue Apr 07, 2009 6:08 pm

I'm pretty sure skin and frame groups are engine limited to 0.1 second frames.
Apathy Now!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby Willem » Tue Apr 07, 2009 6:40 pm

So if you wanted to have a skin on a monster that, say, blinked a light once a second you'd have to have 9 skins that are the same and 1 skin with the light on? That's ... nasty. :-/
Willem
 
Posts: 73
Joined: Wed Jan 23, 2008 10:58 am

Postby Urre » Tue Apr 07, 2009 7:34 pm

You got it absolutely right mister Willem sir.

Framegroups on models are slightly more useful, such as the torch and flame models in the game, are animated without any qc involved. You could take it a step further like in Nexuiz, and have all the player animations be framegroups, so there's no network traffic for animating players. All the qc does in the case of animating players in Nexuiz is change frame depending on state, and the underlying framegroup is then handled by the client engine for animation.

The timing being hardcoded though, is agreeably a bad thing.
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby Willem » Tue Apr 07, 2009 7:48 pm

Alrighty ... just wanted to make sure I wasn't missing something obvious. I'll be over in the corner grumbling and grousing if anyone needs me.
Willem
 
Posts: 73
Joined: Wed Jan 23, 2008 10:58 am

Postby Spike » Tue Apr 07, 2009 8:14 pm

Actually, framegroups can animate at whatever speed you want.
Additionally, different frames/skins can have different durations.
However, GLQuake doesn't support different durations and will assume the duration of the first to be the duration of all. Some clients have fixed this, many have not.
They're actually specified as start times.

The down side of using frame groups on player models is that you have no control over when the animation actually starts. They're tied to client time, rather than time since update.
However DarkPlaces starts the animation on update, rather than pure client time.
Spike
 
Posts: 2892
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