The Mugen Multiverse
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!!!
 
PortalHomeFAQMemberlistLatest imagesUsergroupsSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» MMV Halloween Event 2024 - Mandarin by McCready, Buyog, wil.li.an & Candido159 Release
question about coding... Emptyby spidergoku Today at 12:08 pm

» Zatara The Master Magician WIP by RenatoNato
question about coding... Emptyby Shining Today at 11:49 am

» Terrordrome: Rise of the Boogeyman (ver. 2024) news jeepers creepers
question about coding... Emptyby brucewayne74 Today at 10:55 am

» Wizard project
question about coding... Emptyby Essex Yesterday at 11:08 pm

Special Features at MMV




Chat on MMV w/ Discord

Video Content Creation Reference
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 question about coding...

Go down 
+2
Shining
OGSymbiote
6 posters
Go to page : 1, 2  Next
AuthorMessage
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: question about coding...   question about coding... EmptyDecember 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?
Back to top Go down
Shining

Shining


Posts : 5028
Join date : 2013-03-26
Age : 44
Location : Italy

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 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
Back to top Go down
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 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?
Back to top Go down
Raijjin

Raijjin


Posts : 294
Join date : 2022-06-08
Location : France

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 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.
Back to top Go down
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 15th 2023, 2:27 pm

im using the CVG template so im gonna try the copy n paste method n see what happens
Back to top Go down
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 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"
Back to top Go down
Raijjin

Raijjin


Posts : 294
Join date : 2022-06-08
Location : France

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 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.
Back to top Go down
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 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
Back to top Go down
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 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

;Hyper 5
[Command]
name = "Hyper 5"
command = ~D, DF, F, c+z

pseudoingles likes this post

Back to top Go down
pseudoingles

pseudoingles


Posts : 608
Join date : 2013-04-18
Age : 42
Location : BRASIL

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 16th 2023, 8:57 pm

OGSymbiote wrote:
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

;Hyper 5
[Command]
name = "Hyper 5"
command = ~D, DF, F, c+z

Command is correct

Now you have to iclude the command in the activator lines
Back to top Go down
https://k.kwai.com/u/@iziart/CmkEwrNh
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 16th 2023, 10:37 pm

pseudoingles wrote:
OGSymbiote wrote:
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

;Hyper 5
[Command]
name = "Hyper 5"
command = ~D, DF, F, c+z

Command is correct

Now you have to iclude the command in the activator lines

could you explain?

pseudoingles likes this post

Back to top Go down
pseudoingles

pseudoingles


Posts : 608
Join date : 2013-04-18
Age : 42
Location : BRASIL

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 17th 2023, 5:54 am

OGSymbiote wrote:
pseudoingles wrote:
OGSymbiote wrote:
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

;Hyper 5
[Command]
name = "Hyper 5"
command = ~D, DF, F, c+z

Command is correct

Now you have to iclude the command in the activator lines

could you explain?

Until here you created the command
Now you have to link this command to a statedef

In template.cmd

Find about the line 936

Something like this


; Hyper1
[State -1, Hyper1]
type = ChangeState
value = 3000
triggerall = power >= 1000
triggerall = (StateType != A) && (MoveType != H) && !Var(59)
triggerall = (ctrl = 1) && (!IsHelper)
trigger1 = command = "qcf_2p"

And copy
Changing the value to (your code number)
And the trigger1= ( your command)


Back to top Go down
https://k.kwai.com/u/@iziart/CmkEwrNh
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 17th 2023, 12:09 pm

pseudoingles wrote:
OGSymbiote wrote:
pseudoingles wrote:
OGSymbiote wrote:
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

;Hyper 5
[Command]
name = "Hyper 5"
command = ~D, DF, F, c+z

Command is correct

Now you have to iclude the command in the activator lines

could you explain?

Until here you created the command
Now you have to link this command to a statedef

In template.cmd

Find about the line 936

Something  like this


; Hyper1
[State -1, Hyper1]
type = ChangeState
value = 3000
triggerall = power >= 1000
triggerall = (StateType != A) && (MoveType != H) && !Var(59)
triggerall = (ctrl = 1) && (!IsHelper)
trigger1 = command = "qcf_2p"

And copy
Changing the value to (your code number)
And the trigger1= ( your command)



cheers thank you i was up all night trying to figure it out
Back to top Go down
OGSymbiote

OGSymbiote


Posts : 923
Join date : 2012-09-11
Age : 42
Location : U S of A

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 17th 2023, 4:35 pm

my new error lol

nevermind i fixed it Smile Smile
Back to top Go down
volzzilla

volzzilla


Posts : 10259
Join date : 2012-05-02

question about coding... Empty
PostSubject: Re: question about coding...   question about coding... EmptyDecember 17th 2023, 9:23 pm

pseudoingles wrote:
OGSymbiote wrote:
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

;Hyper 5
[Command]
name = "Hyper 5"
command = ~D, DF, F, c+z

Command is correct

Now you have to iclude the command in the activator lines

good to see both of you active on the forum again crab rave duck dance
Back to top Go down
https://mugenmultiverse.forumotion.com/
Sponsored content





question about coding... Empty
PostSubject: Re: question about coding...   question about coding... Empty

Back to top Go down
 
question about coding...
Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» V's coding request help topic (adding hyperport coding)
» Request for coding help / Offer to help with coding
» Help coding this
» Coding Help
» Coding a Helper

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen Related :: Mugen Help-
Jump to: