YesNoOk
avatar

Help with custom palette states (Read 185 times)

Started by melongod, December 23, 2014, 07:39:22 pm
Share this topic:
Help with custom palette states
#1  December 23, 2014, 07:39:22 pm
  • *
    • USA
    • melongod@gmail.com
So, I've been making a grappler character, and he's coming out to be perfect. I do want to make his 9th palette a broken version of him that teleports, has extra health, fires fireballs etc. but I can't find a single walkthrough or tutorial on how to add custom states to palettees. Can anyone help me out?
DREAMS... DON'T DIE
Re: Help with custom palette states
#2  December 23, 2014, 08:05:23 pm
  • ***
  • Lacking any sort of resolve
    • USA
    • www.geocities.jp/doubletrend_zeta/entry.html
There's a really simple way of doing this using a variable.

All you do is create a variable, so let's say var(39) and set it up so that it activates the variable when you are in palette 9

In your -2 state write
Code:
[state -2 varset bullshit]
type = varset
trigger1 = palno = 9
v = 39
value = 1

Now that you have that, go to your attack states in the -1 (command) and add this
Code:
triggerall = var(39) = 1

Make sure that when you code AI it ALSO has that too so the AI doesn't abuse anything it shouldn't have.

im buggin out man
Buriki One
Re: Help with custom palette states
#3  December 23, 2014, 08:18:01 pm
  • *
    • USA
    • melongod@gmail.com
I had no idea it was that easy. That really helps! Also, I want to make it autoselect that mode against certain broken characters. Can you provide me with the code for that please?
DREAMS... DON'T DIE
Re: Help with custom palette states
#4  December 23, 2014, 08:20:32 pm
  • *****
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net

  • Online
enemy, Name = "whatever"
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
Re: Help with custom palette states
#5  December 23, 2014, 09:00:39 pm
  • *
    • USA
    • melongod@gmail.com
Now I've run into a new problem. Even though I've fully made 9 palettes, my character won't change palettes whatsoever.

     Posted: December 23, 2014, 09:21:16 pm
Nevermind, hadn't applied palettes to certain sprites. Thanks for the help guys!
DREAMS... DON'T DIE