YesNoOk
avatar

p2 turns invisible when knocked out for MKP, I don't know how to fix it (Read 4619 times)

Started by Dewian_Hedgegod, April 08, 2025, 04:21:53 am
Share this topic:
p2 turns invisible when knocked out for MKP, I don't know how to fix it
#1  April 08, 2025, 04:21:53 am
    • USA
Hello, I am completely new here on this site but I have been familiar with mugen for a few years, not by making anything original unfortunately but moreso editing other works to learn how it all works. So, I have been editing an MKP character I love the aesthetic of for a few years off and on, Slime, and most of my edit now has been cleaned up from the buggy original version of the character. I've been pretty good at figuring how to fix/edits stuff like specials, sprites, anims, commands, on my own, but some other stuff I am completely lost to figure out and I need help.

So, whenever Slime kills someone with a special move, either it be one he already had from the first version or the new ones I gave him, the opponent knocks down and it goes Slime Wins with no problems. However, if I kill the opponent with a normal attack or with the dial-a-combos that end with the elbow, they turn invisible once they fall over. I have no idea what to do to fix this...the code is still kind of messy even with all my organizing thru the years. I'll link a short video of it happening.

ALSO, as I recorded, a similar thing happens to Slime himself. If Slime dies by a normal move or a dial-a-combo move, he falls over and you can't skip it. Like, the round win icon takes forever to pop up, I think it just times out in the game if something in the game is bugged, so I think these things are connected. But idk for sure lol, regardless I need help for this thing. Video is below:

https://youtu.be/TpR8PEjK-m0
Re: p2 turns invisible when knocked out for MKP, I don't know how to fix it
#2  April 09, 2025, 11:51:01 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
MKP characters are designed to run within the MKP environment only, and are not fully compatible outside of it. Non-MKP characters will also have problems running in the MKOP environment.

Your problem seems to be related to the characters being paced into a custom state, but the character is missing the sprites or the animations (or both) to make them compatible.
Enable debug, and check the state and debug info error on the invisible character. It will tell if it's in a particular state or missing any animation/sprite. Take note of them, and ensure you add the missing content.
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: p2 turns invisible when knocked out for MKP, I don't know how to fix it
#3  April 11, 2025, 08:20:19 am
  • *****
  • Shame on you!
    • USA
Like XGargoyle mentioned, Kano might be missing the proper sprite. Or there's a slight possibility that P1 is sending P2 into a custom state and isn't displaying a ChangeAnim2 properly. Hitting CTRL+D 2 times should bring up P2's info. If you use multiplayer and pick Kano you should be able to see the states and animations when you hit him.

As for Saphira not dying fast, you can add a changestate/selfstate to that custom hit state in Slime to check if P2 is still alive/has health.
triggerall = (root,alive || enemy,alive)
trigger1 = roundstate = 3 && (root,life <= 0 || enemy,life <= 0)
If what hit's P2 is only P1, you wont need the root, you'd just put life <= 0
vVv Gouken718 vVv