News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

A question about Commando scaling

Started by spamclark15, June 01, 2017, 11:19:07 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

spamclark15

#15
Done with the animations. What will I need to do in the AF editor? I tried copying values that differed over from the tentacle commando AF but it didn't help much. Could you take a look at it?

The Happy Friar

For some reason the origin on the exported pose you did is wrong for the AF pose.  That messes up the whole AF.  It looks good in Blender, just Doom 3 has it wrong.  :?

The md5anim's look ok.  Seems to be something with the AF I can't find yet.

spamclark15

Oh. Are there certains things that need to be done to the AF animation or preparation of md5 exports in general? It's perpelexing as the game plays the animations correctly but when it becomes a ragdoll it mangles the mesh.

The Happy Friar

The AF is used for ragdoll's, that's pretty much it (might be some other collision stuff to, not 100% sure any more).  Hence the ragdolls not working properly.

spamclark15

#19
Since it's an issue with chaingun_af_pose.md5anim I've focused my attention there, comparing the original and the one I exported. The behavior (and his size) return to normal if I just stick the original file back in, so it makes me want to start messing with the contents of it. With all the other animations being perfect by the game, I don't see why it's having an issue with this.

EDIT:

I managed to figure it out by studying documentation on the md5anim format and editing it in notepad. Replacing the hierarchy with the original gets rid of the origin problem (the table doesn't store any coordinates) and then going through the baseframe and each body has 2 sets of numbers in parenthesis, the first being where a body is X/Y/Z (which I left alone as changing the size would also change these numbers) and then replacing the second set which is the direction that each body points X/Y/Z as I noticed some of them seemed to be very close or exact to the original values but negative, so I replaced these for all 64 bodies with the originals as the directions would stay the same. This ended up fixing the problem.