The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: melongod on December 26, 2014, 03:53:47 am

Title: Palettes won't change during selection
Post by: melongod on December 26, 2014, 03:53:47 am
So, I've just about finished up my character, but I've run into a problem. Everything works fine except the palettes. I have 9 made, and all of them cover all the sprites. However, when selecting the character in game, it also selects pal1, and nothing else, regardless of button presses.

Code:
pal1     = pal1.act       ;Black
pal2     = pal2.act       ;Yellow
pal3     = pal3.act       ;Pink
pal4     = pal4.act       ;Orig
pal5     = pal5.act       ;Sky Blue
pal6     = pal6.act       ;Dark Black
pal7     = pal7.act       ;Hulk
pal8     = pal8.act       ;Red
pal9     = pal9.act       ;Black

What am I doing wrong?
Title: Re: Palettes won't change during selection
Post by: ELECTR0 on December 26, 2014, 04:04:58 am
This code looks fine. Re-check the naming of the acts and make sure there located in your main character folder and not in a sub folder.
Title: Re: Palettes won't change during selection
Post by: melongod on December 26, 2014, 04:24:30 am
Everything is held within the same folder.
Title: Re: Palettes won't change during selection
Post by: XGargoyle on December 26, 2014, 01:14:52 pm
If you are using 1.0 or 1.1, ensure that you do not have a RemapPal active on your code
Title: Re: Palettes won't change during selection
Post by: melongod on December 26, 2014, 07:39:47 pm
If you are using 1.0 or 1.1, ensure that you do not have a RemapPal active on your code

Nope, there's no line of code with that in it.
Title: Re: Palettes won't change during selection
Post by: XGargoyle on December 26, 2014, 07:57:10 pm
Are the sprites on the sff file using a shared palette?
Title: Re: Palettes won't change during selection
Post by: melongod on December 26, 2014, 09:51:37 pm
Not that I'm aware of. I do notice that if select "Apply the current palette to the selected sprites" it forces the selected palette to always come up. Think that's the issue? If so, how can I fix it?
Title: Re: Palettes won't change during selection
Post by: ELECTR0 on December 26, 2014, 09:52:34 pm
Also make sure that if your using Fighter Factory 3 that you are Not saving the sff as a Mugen 1.1 file. If so then it might not read from the palette. I would save the SFF as a Mugen beta and see if that fix's the issue.
Title: Re: Palettes won't change during selection
Post by: melongod on December 26, 2014, 09:58:25 pm
Also make sure that if your using Fighter Factory 3 that you are Not saving the sff as a Mugen 1.1 file.
The .sff is saved as 1.0.
Title: Re: Palettes won't change during selection
Post by: Trinitronity on December 27, 2014, 11:10:09 am
Also make sure that if your using Fighter Factory 3 that you are Not saving the sff as a Mugen 1.1 file.
The .sff is saved as 1.0.

That's where the mistake lies.
Save it as a WinMUGEN SFF instead. That way, the SFF uses pallettes defined by the ACT files.
MUGEN 1.0 SFFs have got pallettes inside the SFF instead, and uses pallettes through the pallette group number and index number.
Pretty handy, if you want the pallette to change in mid-battle, like for when a character transforms into an alternate form (Ryu turning into Evil Ryu in MvC2) or for when your character actually glows (Shadow Lady in MvC has got yellow marks, which glow in constant intervalls, no matter what).
Title: Re: Palettes won't change during selection
Post by: melongod on December 27, 2014, 11:05:58 pm
Didn't work either. I really can't figure out what's going on here. When choosing other characters on MUGEN, I get there palate selections, but my character is stuck with whatever I save his spriteset as. I did use "Apply the current palate to the specified sprites" but for each color. Think that that's the problem?
Title: Re: Palettes won't change during selection
Post by: ELECTR0 on December 28, 2014, 12:23:54 am
last thing I can think of to check is to open up your character in the original Fighter Factory and see if the shared palette box is checked for all of your sprites.
Title: Re: Palettes won't change during selection
Post by: melongod on December 28, 2014, 12:55:15 am
Yep, it's checked on all of them, and the problem persists.