How to make Custom PAT0 Animations (Somewhat Outdated)

Started by ABloodyCanadian, June 07, 2012, 06:55:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

June 07, 2012, 06:55:27 AM Last Edit: May 29, 2013, 05:12:00 AM by A Bloody Canadian
If anyone has seen my Bad Apple - Reimu Hack, I've mentioned that I made it using custom PAT0 animations. However, when the new BrawlBox comes out, this tutorial could be out dated (assuming that the PAT0 Editor in the Model Viewer actually works). But I'm doing it anyway! This is a way to make custom PAT0 Animations.

1). Import model and textures. I don't think it matters what you name them.

Sorry but you are not allowed to view spoiler contents.


2). Insert a new Texture Pattern (PAT0) where the model is.

Sorry but you are not allowed to view spoiler contents.


Sorry but you are not allowed to view spoiler contents.


3). Create new Entry in PAT0.

Sorry but you are not allowed to view spoiler contents.


Sorry but you are not allowed to view spoiler contents.


4). Look at the model you'll be applying your PAT0 to and check it's materials.

Sorry but you are not allowed to view spoiler contents.


5). Copy the name of it and paste it onto where it says "NewNode"

Sorry but you are not allowed to view spoiler contents.


6). Change the texture index on the 2nd branch if the textures you imported are not on TextureData[0]. In our case it is, so we can skip this step.

7). Rename NewTexture to the texture of your 1st texture. (If that made any sense... lol)

Sorry but you are not allowed to view spoiler contents.


Because this is the 1st frame of our animation, the key will be left at 0

Sorry but you are not allowed to view spoiler contents.


8 ). Right click on Texture0 (Or wherever your textures are placed), and create a New Entry

Sorry but you are not allowed to view spoiler contents.


Sorry but you are not allowed to view spoiler contents.


9). On that new entry, rename it to the name of the 2nd texture that'll be used. Also change the key while you're at it.

Sorry but you are not allowed to view spoiler contents.


(If you don't know already) The Key is the frame when the texture changes. In this case I set it to 5. On the frame after the 5th one, the texture will change.

10). If desired, repeat step 9 for the 3rd frame, 4th frame and so forth. You may reuse textures you've already used. Take note the key must be higher than 5 since we set it to that. If we were to continue this animation (which I won't), I would set the 3rd frame to 10. And the 4th to 15. For this animation, I would change the textures in increments of 5 frames. But you can choose your own (Maybe even change it up during the animation).

11). When you're done with making your frames. Go back to the PAT0, and change the FrameCount and Enable loop (if desired).

Sorry but you are not allowed to view spoiler contents.


You should be done at that point. You can look at it in the model viewer, and look at your animation at work.

Sorry but you are not allowed to view spoiler contents.


Notes:

- If you find the file size is too big, simply shrink the images to half the size of the original. That should lower the file size by alot. You'll easily notice the difference.

- Depending on what you're using the animation for, your textures might need to be a certain format. Experiment which ones work.

- It has come to my attention that Palettes will matter. I found that out as I was working on animations for a Stage I worked on. You'll most likely have to name the palette section the same as the textures. People with BrawlBox V0.67b will be able to enable Palettes, but then you'll have to switch back to v0.66b and replace the textures again to fix up the colors if there are any.

Alright I'm done here. Hope this helps. Thank you and good night!

THANK YOU! I finally can animate azelf

October 14, 2012, 03:07:54 AM #2 Last Edit: October 14, 2012, 03:25:30 AM by mnsg
I do know that Toon Link has PAT0 animations that DO use palettes; for example, his eye lids are all CI8 textures.  Any textures that use the CI4 and CI8 texture formats will be using palettes, while all the other texture formats don't have to worry about palettes at all.

Simply put, if you're doing PAT0 animations for Toon Link, you must make sure that the textures and palettes correspond with each other, or else the eye lids won't look right when you test them in-game.

October 16, 2012, 05:10:01 AM #3 Last Edit: October 16, 2012, 02:48:02 PM by A Bloody Canadian
I learned that lesson when I worked on this stage...

http://forums.kc-mm.com/Gallery/BrawlView.php?Number=28250

The Bad Apple hack I made didn't have that problem because the textures are black and white...

I find that BrawlBox v0.67b has problems with saving Palettes if used for PAT0 Animations.

Quote from: A Bloody Canadian on October 16, 2012, 05:10:01 AM
I learned that lesson when I worked on this stage...

http://forums.kc-mm.com/Gallery/BrawlView.php?Number=28250

The Bad Apple hack I made didn't have that problem because the textures are black and white...

I find that BrawlBox v0.67b has problems with saving Palettes if used for PAT0 Animations.
It has problems saving mine, then it changes the pat0 texture to somethimg else

October 17, 2012, 02:35:15 PM #5 Last Edit: October 17, 2012, 02:40:40 PM by A Bloody Canadian
Something else? Elaborate on that...

But I'll take a guess that the colors got messed up. What you simply have to do is enable Palettes in BrawlBox v0.67b, change the PAT0 to use the Palettes, save, and re-replace the textures using an older version of BrawlBox. Then if you find the PAT0 Rearranged... Un-rearrange them... lol

It's either that, or the textures are the wrong format, and you need to change it.

Quote from: A Bloody Canadian on October 17, 2012, 02:35:15 PM
Something else? Elaborate on that...

But I'll take a guess that the colors got messed up. What you simply have to do is enable Palettes in BrawlBox v0.67b, change the PAT0 to use the Palettes, save, and re-replace the textures using an older version of BrawlBox. Then if you find the PAT0 Rearranged... Un-rearrange them... lol

It's either that, or the textures are the wrong format, and you need to change it.
nope, it changes to a diffrent texture alltogether

Then it's most likely the fact that you need to change it to a different format. What are you using it for, and what kind of model are you using?

Quote from: A Bloody Canadian on October 18, 2012, 06:14:23 AM
Then it's most likely the fact that you need to change it to a different format. What are you using it for, and what kind of model are you using?
A character, Azelf's model from brawl

Oh, so you're texturing the eyes... Well did you make sure that the materials you put on the PAT0 is the one for the eyes?