Inside3D!
     

Duplicate shake12 / attackb1

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Junrall



Joined: 21 Sep 2009
Posts: 136
Location: North West Oregon, USA

PostPosted: Sun Mar 14, 2010 6:41 am    Post subject: Duplicate shake12 / attackb1 Reply with quote

Yeah, its me again... Mr. Curious.

Was just looking through the frame macros of the monsters "oldone" and "knight" and noticed that shake12 and attackb1 are defined twice in each macro and are also duplicated within the models as well.
I don't see anywhere, within the QC code, that uses shake12 or attackb1 more than once in any animation. Is it safe to remove one of the duplicates in the code and the model? And if so, was this a mistake on ID's part?
As usual... just curious! Wink
_________________
Good God! You shot my leg off!
Back to top
View user's profile Send private message
Lardarse



Joined: 05 Nov 2005
Posts: 243
Location: Bristol, UK

PostPosted: Mon Mar 15, 2010 10:27 am    Post subject: Reply with quote

Probably a mistake by Id, yes.

Note that if you remove them, you need to remove them from both model and code, otherwise animations will look very strange.

If you do remove them from both, pretty much nothing will change. If you want to see a change happening, find the functions that use those frames and only have the previously duplicated frame happen once. That will make the knight slightly faster in that animation. It will also make both animations look slightly less jittery.
_________________
<ekiM> Son, you're writing data structures your CPU can't cache.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group