Author Topic: Animation Munge Error  (Read 602 times)

Epifire

  • Master Modder
  • Frequent Poster
  • ***
  • Posts: 423
  • Didn't know I was a Mandalorian did ya :P
  • Awards Admin for SWBFgamers.com ICW Tournament
    • View Profile
    • Awards
  • Steam ID:
Animation Munge Error
« on: April 19, 2015, 08:18:58 PM »
Hey guys! Thought I'd try animations after all and actually got pretty far this time before running into a problem. So I'm working on this Scanner Pylon with spinning little fins on the mast. The animation is enveloped to the two bones mid and top, looks fine when I play it in XSI. Been bouncing back and forth between FragMe and Sereja's door animation guide to get the idea of how the exporting and munging goes.



Getting this error in the console when I try and munge, so while I go and try to figure out what I did wrong I figured I'd also go and ask around.

Code: [Select]
WARNING: While correcting joint base pose matrices, no skin was found!
WARNING: Bone <bone_mid>may be a floating bone
ERROR: No Skin model in MSH?

After that it ZenAsset.exe crashes immediately thereafter. I think part of the problem may be in my bone hierarchy (as I mostly followed the FragMe tutorial). One difference in the tools I use vs the old method, is I usually don't make a dummyroot parent null by default, (since the Andewedget tools make one on export). I could be wrong but I've never had to actually use a dummyroot until this animation stuff, so that may be the problem.

Secondly I'm not sure if "Current frame as base pose" was supposed to still be checked on the second animation export (NOT the first basepose that's squished to frame 1).

Thirdly I moved the actual animation bones into position around the model (without freezing their transforms). Are bones supposed to be zeroed out on the x,y,z axis, or do they need to retain their positional data for the animation to work?

Just trying to fish around to figure out what I'm doing wrong, cause if I can nail this down I may be able to make some other animations much quicker for future work in BF1 maps.
photobucket limit image removed

RepComm

  • Walking Dead Campaign Group
  • Internet Addict
  • *
  • Posts: 2469
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront ICW2 Participant
    • View Profile
    • Awards
  • Xbox: rccommandotac
Re: Animation Munge Error
« Reply #1 on: April 20, 2015, 01:25:59 PM »
It's been to long since I've read any of the tutorials, but if I remember right, the bone root should have some geometry with uv applied (I think sereja uses a cube in his tutorial for making a door). -- It looks like it's just a null you are using for bone_root. I don't know if that would cause such a huge problem though..
--
Edit, I think it's fine for the model to have bones that are just nulls, but I think the animation MSH has to have the bone_root (and/or dummyroot) as some small (hidden flagged) geometry, instead of an empty mesh.
JSchMEe - A (wip) swbf 3d model library in Java
Forum Topic
GitHub

Epifire

  • Master Modder
  • Frequent Poster
  • ***
  • Posts: 423
  • Didn't know I was a Mandalorian did ya :P
  • Awards Admin for SWBFgamers.com ICW Tournament
    • View Profile
    • Awards
  • Steam ID:
Re: Animation Munge Error
« Reply #2 on: April 20, 2015, 09:39:05 PM »
It's been to long since I've read any of the tutorials, but if I remember right, the bone root should have some geometry with uv applied (I think sereja uses a cube in his tutorial for making a door). -- It looks like it's just a null you are using for bone_root. I don't know if that would cause such a huge problem though..
--
Edit, I think it's fine for the model to have bones that are just nulls, but I think the animation MSH has to have the bone_root (and/or dummyroot) as some small (hidden flagged) geometry, instead of an empty mesh.

Hmm, I may try and use the cube method. Does this cube/mesh need to be visible, or in this method can I hide it? Otherwise I'll just use that in replacement of the dummyroot. Ordinarily I don't even use a dummyroot, since everything is contained under the main mesh I use (and that's always worked fine).

At first when it said no skin model I thought it meant it couldn't find the envelope data. But if it's just this cube thing, that'd be a relief.
photobucket limit image removed

RepComm

  • Walking Dead Campaign Group
  • Internet Addict
  • *
  • Posts: 2469
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront ICW2 Participant
    • View Profile
    • Awards
  • Xbox: rccommandotac
Re: Animation Munge Error
« Reply #3 on: April 21, 2015, 11:25:55 AM »
I saw a lot of stock models that didn't include a dummyroot (mostly props). I don't believe dummyroot does anything specific for the compilers, just another way to organize things.
--
Yes, you can hide it just like any other geometry. I think the thing is just that the geometry needs to exist.

* Here is to hoping it's just the compilers being picky *
« Last Edit: April 21, 2015, 11:29:04 AM by -RepubliqueCmdr- »
JSchMEe - A (wip) swbf 3d model library in Java
Forum Topic
GitHub

Epifire

  • Master Modder
  • Frequent Poster
  • ***
  • Posts: 423
  • Didn't know I was a Mandalorian did ya :P
  • Awards Admin for SWBFgamers.com ICW Tournament
    • View Profile
    • Awards
  • Steam ID:
Re: Animation Munge Error
« Reply #4 on: April 21, 2015, 01:33:19 PM »
I saw a lot of stock models that didn't include a dummyroot (mostly props). I don't believe dummyroot does anything specific for the compilers, just another way to organize things.
--
Yes, you can hide it just like any other geometry. I think the thing is just that the geometry needs to exist.

* Here is to hoping it's just the compilers being picky *

Awesome that got it past the munge! Almost there, right now it plays halfway but stops while doing this odd jiggle. I did run 60 frames for the main animation (not sure if SWBF can do over 30) but I also want to loop it. My ODF is a little odd atm, as I'm trying to reference the carbon freezing chamber but it's set on an idle cycle rather than a loop. I wish I knew what all the ODF commands were for animations right now.
photobucket limit image removed

Snake

  • So little free time, so much to mod..
  • Moderators
  • Internet Addict
  • ****
  • Posts: 2539
  • "Play to win, not to not lose"
  • Awards Special Award for players of the EA Reboot of SWBF Recognizes someone who most generously donated funds to the site or the site Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month Intergalactic Clan War 1 Participant Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • =AaTc=
    • Awards
  • PSN: Octa-king
  • Tunngle ID: aatcsnake
Re: Animation Munge Error
« Reply #5 on: April 21, 2015, 02:39:27 PM »
Try looking at jabba's torture droid. I think that one might be looped.
=AaTc= Forever

SALLY....

-Retired Modder

Epifire

  • Master Modder
  • Frequent Poster
  • ***
  • Posts: 423
  • Didn't know I was a Mandalorian did ya :P
  • Awards Admin for SWBFgamers.com ICW Tournament
    • View Profile
    • Awards
  • Steam ID:
Re: Animation Munge Error
« Reply #6 on: April 21, 2015, 10:26:30 PM »
So close! I actually took a look at the torture droid ODF and it was way simpler than I was thinking. Apparently no extra lines are needed to make it loop.

I just have this weird jiggle problem, otherwise it's all mint...

http://social.xfire.com/videos/634908

In XSI it looks and plays just fine, but I just wanna know what might be causing this. Once I can nail that down, this should be a piece of cake to roll out more animations in the future.
photobucket limit image removed