Would you like to react to this message? Create an account in a few clicks or log in to continue.
Welcome!!! - Bienvenidos!!! - ( We hope you will get involved in the MMV Community which is dedicated to having fun with Mugen ) - Bienvenidos!!! - Welcome!!!
Posts : 923 Join date : 2012-09-11 Age : 42 Location : U S of A
Subject: question about coding... December 13th 2023, 9:26 am
so i want to make a crawler assault type hyper but i dont know how to code so i want to use code from a spiderman that is already made the thing is i dont know which one to use because they all confuse me lol. i look at acey spiderman and kongs spiderman and they are complete 2 different codings. so im not sure how the hyper is programmed can anyone help?
Shining
Posts : 5028 Join date : 2013-03-26 Age : 44 Location : Italy
Subject: Re: question about coding... December 13th 2023, 5:08 pm
You have to choose a character, then in .CNS or .ST files you find the code of the hyper you Need , add the animations and the sprites of that hyper ...finally in .CMD file Copy the command codes of that hyper
OGSymbiote
Posts : 923 Join date : 2012-09-11 Age : 42 Location : U S of A
Subject: Re: question about coding... December 15th 2023, 1:29 am
Shining wrote:
You have to choose a character, then in .CNS or .ST files you find the code of the hyper you Need , add the animations and the sprites of that hyper ...finally in .CMD file Copy the command codes of that hyper
thanx i wlll try that. but what if it doesnt work? how do i fix the code?
Raijjin
Posts : 294 Join date : 2022-06-08 Location : France
Subject: Re: question about coding... December 15th 2023, 6:19 am
OGSymbiote wrote:
Shining wrote:
You have to choose a character, then in .CNS or .ST files you find the code of the hyper you Need , add the animations and the sprites of that hyper ...finally in .CMD file Copy the command codes of that hyper
thanx i wlll try that. but what if it doesnt work? how do i fix the code?
Well,it depends on what's broken, but you have 2 options:
there is a crash and an error message, in which case it will tell you what's wrong for you to fix
the problem does not crash the game, in which case you'll have to understand what's the situation based on the bug. But it might reeeeallly depends on where it lies: animation, state, etc..
At the end of all of this, the problems are numerous, quite possibly infinite, as the solutions. So nobody can tell in advance, it's up to you to determine and try to fix it, much like a mechanic bit.with a Ctrl+Z option if things goes badly.
OGSymbiote
Posts : 923 Join date : 2012-09-11 Age : 42 Location : U S of A
Subject: Re: question about coding... December 15th 2023, 2:27 pm
im using the CVG template so im gonna try the copy n paste method n see what happens
OGSymbiote
Posts : 923 Join date : 2012-09-11 Age : 42 Location : U S of A
Subject: Re: question about coding... December 15th 2023, 6:12 pm
Shining wrote:
You have to choose a character, then in .CNS or .ST files you find the code of the hyper you Need , add the animations and the sprites of that hyper ...finally in .CMD file Copy the command codes of that hyper
so i did that and got this error
Error message: Undefined command label: "Hyper 1". If not misspelling in CNS, check CMD Error parsing triggerall Error parsing [State -1, Hyper 1] Error in [Statedef -1] Error in Template.cmd Error loading chars/ffs_0/ffs_0.def Error loading p1
Library error message: Died parsing command = "Hyper 1"
Raijjin
Posts : 294 Join date : 2022-06-08 Location : France
Subject: Re: question about coding... December 15th 2023, 9:08 pm
OGSymbiote wrote:
Shining wrote:
You have to choose a character, then in .CNS or .ST files you find the code of the hyper you Need , add the animations and the sprites of that hyper ...finally in .CMD file Copy the command codes of that hyper
so i did that and got this error
Error message: Undefined command label: "Hyper 1". If not misspelling in CNS, check CMD Error parsing triggerall Error parsing [State -1, Hyper 1] Error in [Statedef -1] Error in Template.cmd Error loading chars/ffs_0/ffs_0.def Error loading p1
Library error message: Died parsing command = "Hyper 1"
A special or an hyper move needs to be inputed in the command section AND the code section.
What I mean is: in the command section, you need to put the control resulting in the move. The exemple is Hyper 1: Hyper 1 is listed using "qcf +2p" (quarter circle forward +2 punches) and putting in the State 1000. Which mean that when you press that said combination of buttons, it will launch the 1000 state.
Now, the 1000 state should be the one in the code corresponding to your Hyper move.
So it opens as "State 1000, Hyper 1" and contains your attack.
Both are necessary to make the move. One calls the shot, and the other makes the shot. If your command Hyper 1 goes to a non existing state 1000, it won't work. If your state 2000 doesn't possess a command input "Hyper 2", it won't work.
I'm not good enough with code to determine what's wrong or in which way it bugs here, but it's probably the 1 case, as the lack of command usually does nothing (at all)
Hope it helps, or that someone else might help you better.
OGSymbiote
Posts : 923 Join date : 2012-09-11 Age : 42 Location : U S of A
Subject: Re: question about coding... December 16th 2023, 4:32 pm
thanx ill go back to move later. right now im working on a different animation im just now learning how to code so its gonna take me a good long while before i get the hang of it
OGSymbiote
Posts : 923 Join date : 2012-09-11 Age : 42 Location : U S of A
Subject: Re: question about coding... December 16th 2023, 6:02 pm
so i put this code in the cmd file but i dont see how to link to the animation i want. it will not excute in mugen when press c+z