hayden0729 / berrybush

BRRES support for Blender 3.3 focused on New Super Mario Bros. Wii
GNU General Public License v3.0
31 stars 2 forks source link

Editing player animations? #4

Closed C0000lguy closed 10 months ago

C0000lguy commented 10 months ago

I wanted to edit player animations, but they are in 2 different files. How can I apply these animations to mario? (Sorry if this is already answered, I couldn't find any posts.)

hayden0729 commented 10 months ago

Hey, thanks for using the tool! Player animations are particularly tricky to edit, but it is possible.

To import, bring in Mario's model (Object/Mario.arc/g3d/model.brres) first and then import the animation file (Object/P_rcha.arc/g3d/model.brres) with For Existing Assets enabled. I strongly recommend using the Filter option to search for specific animations, as otherwise all 200+ animations will be imported and they'll take up unnecessary time and space. Once the animations have been imported, you can reference this page for viewing them and making edits.

Then when exporting, you can use the Merge Files option to merge with an existing animation file. Since this file is for the armature animations only (material animations are stored directly in Mario's model), disable the Materials checkbox under the Animations panel. Disable the other two panels (Armatures & Geometry and Images) as well. Animations detected by BerryBush will be exported, and those not overwritten from the original file will remain intact. It's important that you merge with the existing file rather than just replacing it, because if any animations are missing in this file, the game will crash when it attempts to load them.

If you make any edits to Mario's model, you can export that as usual - just be sure to disable Armatures under the Animations panel so that the armature animations won't be exported there.

If you haven't already, you might also find it helpful to ask around on Discord (Evolution or Horizon).

C0000lguy commented 10 months ago

Ok, tysm! (Btw the addon is great :D)