The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: Ki$@1st456v on November 13, 2021, 05:56:36 PM

Title: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Ki$@1st456v on November 13, 2021, 05:56:36 PM
Hi everyone I was trying to code an X-Factor for my character Lilith and while she would do the animation performing the move, there is no red aura and I did not know how to code an X-Factor gauge with the move. I have the code here in the cns below:
Spoiler, click to toggle visibilty

I coded the X-Factor aura in the cns but it did not work. What do I need to add to get the aura to appear and what must I do to get an X-Factor gauge? I appreciate any help anyone has for this topic and I wish you all a great day!
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: XGargoyle on November 14, 2021, 12:43:42 AM
What is var(58) and which values have?
If the value is 0, the aura helper is destroyed as soon as it's created
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Ki$@1st456v on November 14, 2021, 05:30:40 PM
I did not know about that before. Could I put a 1 there or any number above 0 to correct that at the trigger1 section at the very end?
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Ki$@1st456v on November 17, 2021, 06:35:49 PM
I changed that number but it did nothing. Here is what I have so far.
Spoiler, click to toggle visibilty

Are there any other values or states I am missing?
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Odb718 on December 22, 2021, 11:50:09 PM
Is Statedef 753 working?
Do you have the animations for the state?
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Ki$@1st456v on December 23, 2021, 07:09:52 PM
Yes, I have animation 13003 for that state which is a 1 frame blank animation for -1 ticks.

I'm not sure why it is not showing the aura however though. Thank you for your help with your input too.
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Odb718 on December 24, 2021, 03:41:53 AM
If the animation is nothing, what do you suppose it'll display on screen???

Change the
anim = 13003
to something like
anim = 200
or any other animation that you know works. See what you get.
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Ki$@1st456v on December 24, 2021, 07:30:34 PM
I was using a blank animation because I was trying to follow Kamekaze's MVC2 Dr. Doom and Baby Bonnie Hoods' MVC3 Lilith VP both of which had blank animations for the animations of parts of their X-Factor coding, specifically statedef=4004 with anim=5334 for Kamekaze's Dr. Doom X-Factor gauge and anim=9999 in statedef=4015 for Baby Bonnie Hoods' MVC3 Lilith VP for her X-Factor aura. Also, until now I did not see any in-depth posts covering this subject and how to properly do it. I only was looking at the code of characters already finished to find some path to code the move to come out.


I will try that though and put a different animation though.
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Ki$@1st456v on January 03, 2022, 07:39:51 PM
Hi again everyone! I have added a different animation for statedef 198 and the aura still does not come out when I do the xfactor move. However, Lilith still does the animation though. I do not know what else it could be that is preventing the aura from coming out.
Title: Re: How Do You Code A Fully Complete MVC3 X-Factor?
Post by: Odb718 on January 05, 2022, 12:09:37 AM
Go into the character that works. Find the actual image and/or animation for the aura. Then search for that number in the cns files.
Once you find the connection, make sure your character has that same thing.
If it does, then your character is telling itself to get rid of the animation the instant it spawns. Search your character for that value until you see it everywhere.