I'm using goku by 280gou, whenever he loses his ssj blue kaioken his energy bar constantly recharges making him unable to go to Ultra Instinct but instead goes back to ssj blue. So is there a way to stop his mana bar right after he loses his ssj blue kaioken?
Use debug. Ctrl+D will bring it up. Watch the stateno value. Go into the move to find out the number. Inside that stateno you'll probably see a few variables be set. You might have a list of what those variables represent under [Data] [Size] [Velocity] [Movement] [Quotes]It sounds like it gets a VarAdd to subtract it. Then in Statedef -2 or -3, it gets automatically refilled. Try to find out which Var fits all of that. You may also want to check the ChangeState in Statedef -1, the cmd file, to see if the Triggers watch for certain Variables there. The ssj blue kaioken move may have a variable that represents that it has been activated. You can use that variable as a trigger in the code that automatically refills the mana bar in Statedef -2, or -3.Dig around and see what you come up with. If you're totally stuck, copy and paste the ChangeState that switches into the ssj blue kaioken and the Ultra Instinct moves.
Odb718 said, August 17, 2023, 04:12:16 pmUse debug. Ctrl+D will bring it up. Watch the stateno value. Go into the move to find out the number. Inside that stateno you'll probably see a few variables be set. You might have a list of what those variables represent under [Data] [Size] [Velocity] [Movement] [Quotes]It sounds like it gets a VarAdd to subtract it. Then in Statedef -2 or -3, it gets automatically refilled. Try to find out which Var fits all of that. You may also want to check the ChangeState in Statedef -1, the cmd file, to see if the Triggers watch for certain Variables there. The ssj blue kaioken move may have a variable that represents that it has been activated. You can use that variable as a trigger in the code that automatically refills the mana bar in Statedef -2, or -3.Dig around and see what you come up with. If you're totally stuck, copy and paste the ChangeState that switches into the ssj blue kaioken and the Ultra Instinct moves. I really don't understand what you are saying, the only thing i need is to turn off the recharge of the energy bar when he is tired (he is in his normal form in a tired pose) after using ssj blue kaikoken, i don't even know which file to go to.
No problem. We've all been there. https://mugenguild.com/forum/topics/contents-and-files-168950.0.htmlThis will help you find out what all the files are for. Then you'll know that the CMD does the controls and the CNS is the "code". It's the stuff a lot of people take for granted. This will help you out a lot with being able to track down questions you dont know you even have yet. It'll help you out a lot. https://mugenguild.com/forum/topics/mugen-101-things-you-need-know-169758.0.htmlBut what you want is to turn something off. We have to track it down in the code. So we can use a little bit of Reverse Engineering to find it.Remember to turn on Debug while playing the character. You can use the PAUSE button to stop the game to be able to read all the debug info easier. When you're doing a move that reduces the energy Pause the game. Or you can use F12 to take a picture. Write down the StateNo that reduces the value.Then open up the CNS file and search for that number +]. So if the StateNo is 3600, search for 3600]using CTRL+F. It should bring you right to the StateDef you're looking for.Inside that State you'll probably come across VarSet and VarAdd. If you're not 100% on all the stuff inside the States, you can use https://mugenguild.com/forum/topics/the-mugen-docs-master-thread-168949.0.htmlto find out what everything does. It sounds like the move SETs the VARiable to 0. Then, somewhere else in the code, it ADDs to the VARiable to bring it back to 100%. We need to track down that VarAdd but we don't know which Var number we're looking for. So we can use the states that reduce the value to figure it out.Use DebugFind out the State Find the VarSer in that State in the CNSOnce you've done that, Use CTRL+F to Find Var(X) or V = XIn StateDef -2. Replace the X with the variable's number you found in "State 3600"There's a few ways of changing variables. But this is a solid way of backtracking to figure it out.