Forum

Model glitch?

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Model glitch?

Postby Ghost_Fang » Tue Jan 12, 2010 8:06 am

I was told to go here by Ceriux, cause he found nothing wrong with my model at all.
Ok, so i got this character model, and to test it out i made the frames match all the knights frames (perfectly) and when i kill it, it does the dying sequence perfectly, but as soon as thats done, he pops right back up and is frozen in the first frame of the death animation (but the entity is still dead) just the model does that. Whats the deal? and how do i fix it?
Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am

Re: Model glitch?

Postby Baker » Tue Jan 12, 2010 10:16 am

Ghost_Fang wrote:I was told to go here by Ceriux, cause he found nothing wrong with my model at all.
Ok, so i got this character model, and to test it out i made the frames match all the knights frames (perfectly) and when i kill it, it does the dying sequence perfectly, but as soon as thats done, he pops right back up and is frozen in the first frame of the death animation (but the entity is still dead) just the model does that. Whats the deal? and how do i fix it?


Post teh qc. Obviously something is telling it the wrong frame.

One way to self debug would be to have a bprint or sprint the frame number in the code.
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby Ghost_Fang » Wed Jan 13, 2010 3:49 am

All i did was make all the model frames equal to the knight and replaced the quake knight model with my model, nothing has been modified in the qc
Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am

Postby Error » Wed Jan 13, 2010 3:55 am

sounds like it's off a frame. do you have a "base frame"? like for skin mapping or whatever the damn high-end modelers refer to it as nowadays? that single frame will throw it off. the naming isn't what's important. it's the frame order. quake uses numbers starting at 0 to figure what frame a model is on.
User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Postby Lardarse » Wed Jan 13, 2010 4:11 am

Error wrote:the naming isn't what's important. it's the frame order.

This seems to confuse many people. As I explained to someone else, the frame names in the model were generated by a program that read the QuakeC and output the model file. You can use whichever names you like in both places (and even have different names), as long as the order is correct. Most of the time, using the same names helps to keep things in the correct order, though... :-)
Roaming status: Testing and documentation
User avatar
Lardarse
 
Posts: 266
Joined: Sat Nov 05, 2005 1:58 pm
Location: Bristol, UK

Postby Ghost_Fang » Wed Jan 13, 2010 5:38 am

well Ceriux looked at my model and said everything matched up perfect, im gona double check the number of frames though. What if they match perfectly? Then wat could possibly be wrong?
Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am

Postby Wazat » Wed Jan 13, 2010 5:59 am

Ghost_Fang wrote:well Ceriux looked at my model and said everything matched up perfect, im gona double check the number of frames though. What if they match perfectly? Then wat could possibly be wrong?


Question: What model program are you viewing this file in? It could be hiding a frame...
When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.
Wazat
 
Posts: 771
Joined: Fri Oct 15, 2004 9:50 pm
Location: Middle 'o the desert, USA

Postby Ghost_Fang » Wed Jan 13, 2010 6:21 am

to view the model, im using qme 3 full retail.
engine im playing in/trying it in joequake and darkplaces
Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am

Postby ceriux » Thu Jan 14, 2010 6:34 am

i used the latest qme full. i noticed the frame was ending on deathb2
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest