I'm creating my first mugen character and i would like to know how to make a power charge code for the Enter key..It's a JUS character so i want to replicate these power chargers in those JUS Style characters.
Nulo said, July 22, 2024, 04:16:29 amI'm creating my first mugen character and i would like to know how to make a power charge code for the Enter key..It's a JUS character so i want to replicate these power chargers in those JUS Style characters.cara power add e bastante simples [State 0, PowerAdd]; Normaltype = PowerAddtrigger1 = 1value = 10e no final do golpe [State 0, 3]type = ChangeStatetrigger1 = command != "start" ; botao startrigger2 = power = 3000 ; ou power quando chegar no 3000value = 0ctrl = 1tudo depende como voce quer fazer
Bardock Revenge said, July 23, 2024, 07:40:45 amNulo said, July 22, 2024, 04:16:29 amI'm creating my first mugen character and i would like to know how to make a power charge code for the Enter key..It's a JUS character so i want to replicate these power chargers in those JUS Style characters.cara power add e bastante simples [State 0, PowerAdd]; Normaltype = PowerAddtrigger1 = 1value = 10e no final do golpe [State 0, 3]type = ChangeStatetrigger1 = command != "start" ; botao startrigger2 = power = 3000 ; ou power quando chegar no 3000value = 0ctrl = 1tudo depende como voce quer fazer então, eu gostaria de colocar um comando para carregar a barra de poder apenas segurando o enter.eu testei o code que voce mandou e vi um tutorial junto e o maximo que deu foi a barra de poder enchendo sozinha :/
XGargoyle said, July 22, 2024, 02:55:43 pmCheck the power charge code in one of these JUS characters and copy it. Simple as thati tried to copy from a character and it didnt work so well
1. Create a command for holding enter in cmd:Code: [Command]name = "holdstart"command = /stime = 12. Add the states:Code: [StateDef 1000]type = Sphysics = SmoveType = Ianim = 1000velSet = 0,0ctrl = 0[State 1000, PowerAdd]type = PowerAddtriggerAll = Power < const(data.power) && Power < PowerMaxtrigger1 = !AILevel && command = "holdstart"[State 1000, End]type = ChangeStatetrigger1 = Power >= const(data.power) || Power >= PowerMax || RoundState != 2trigger2 = !AILevel && command != "holdstart"value = 0ctrl = 1This is very basic, you should tweak it.3. Finally, add the changestate to the cmd:Code: [State -1, Power Charge]type = ChangeStatevalue = 1000triggerAll = !AILeveltrigger1 = command = "holdstart"trigger1 = RoundState = 2 && StateType != Atrigger1 = Power < const(data.Power) && Power < PowerMaxtrigger1 = ctrl
DeathScythe said, July 24, 2024, 04:41:52 am1. Create a command for holding enter in cmd:Code: [Command]name = "holdstart"command = /stime = 12. Add the states:Code: [StateDef 1000]type = Sphysics = SmoveType = Ianim = 1000velSet = 0,0ctrl = 0[State 1000, PowerAdd]type = PowerAddtriggerAll = Power < const(data.power) && Power < PowerMaxtrigger1 = !AILevel && command = "holdstart"[State 1000, End]type = ChangeStatetrigger1 = Power >= const(data.power) || Power >= PowerMax || RoundState != 2trigger2 = !AILevel && command != "holdstart"value = 0ctrl = 1This is very basic, you should tweak it.3. Finally, add the changestate to the cmd:Code: [State -1, Power Charge]type = ChangeStatevalue = 1000triggerAll = !AILeveltrigger1 = command = "holdstart"trigger1 = RoundState = 2 && StateType != Atrigger1 = Power < const(data.Power) && Power < PowerMaxtrigger1 = ctrlthis error appears:Library error message: Died parsing !AILevel && command = "holdstart"Error detected.Undefined command label: "command".If not misspelling in CNS, check CMDError parsing trigger1, 1Error parsing [State 1000, PowerAdd]Error in [StateDef 1000]Error in Teto.cns:788Error loading chars/ffchartest/ffchartest.defError loading p1btw i'm using fighter factory classic, do i need another version?
Hmmm... try using parenthesis, like this:trigger1 = !AILevel && (command = "holdstart")Also change it in the other line tootrigger2 = !AILevel && (command != "holdstart")Also, forgot to mention in my previous post, but you need to specify the amount of power you want to gain:[State 1000, PowerAdd]type = PowerAddtriggerAll = Power < const(data.power) && Power < PowerMaxtrigger1 = !AILevel && command = "holdstart"value = 2EDIT: oh, and about fighter factory, you don't "need" another version but is highly recommended to use FF3 or FFStudio. FF3 is the most stable, Studio can crash more often but has more features.
DeathScythe said, July 24, 2024, 06:34:37 pmHmmm... try using parenthesis, like this:trigger1 = !AILevel && (command = "holdstart")Also change it in the other line tootrigger2 = !AILevel && (command != "holdstart")Also, forgot to mention in my previous post, but you need to specify the amount of power you want to gain:[State 1000, PowerAdd]type = PowerAddtriggerAll = Power < const(data.power) && Power < PowerMaxtrigger1 = !AILevel && command = "holdstart"value = 2EDIT: oh, and about fighter factory, you don't "need" another version but is highly recommended to use FF3 or FFStudio. FF3 is the most stable, Studio can crash more often but has more features.Thanks, It worked for !AILevel, now it looks like this:Library error message: Died parsing command = "holdstart")Error detected.Undefined command label: "command".If not misspelling in CNS, check CMDError parsing trigger1, 1Error parsing [State 1000, PowerAdd]Error in [StateDef 1000]Error in Teto.cns:574Error loading chars/ffchartest/ffchartest.defError loading p1(also it's good that i don't need another version)(EDIT: I replace the two "holdstart" commands in cns to "hold_s" and the first error line disappeared)Error detected.Error parsing [State 1000, End]Error in [StateDef 1000]Error in Teto.cns:578Error loading chars/ffchartest/ffchartest.defError loading p1
Can you post the whole code here so I can take a look?With that last error message it's impossible to know what is going on.
DeathScythe said, July 24, 2024, 07:35:29 pmCan you post the whole code here so I can take a look?With that last error message it's impossible to know what is going on.Of course.Error detected.Error parsing [State 1000, End]Error in [StateDef 1000]Error in Teto.cns:578Error loading chars/ffchartest/ffchartest.defError loading p1Clipboard tail:Gameflow 6Reset persist vars team 0Reset persist vars team 1Gameflow 8Gameflow 9Gameflow 10Gameflow 11Loading match assets...Loading stage... Loading BG...OKStage loaded OK Allocating helpers...OKMatch RNG seed: 1672804729Reset persist vars team 0Reset persist vars team 1Loading character chars/ffchartest/ffchartest.def... Loading info...OK Loading cmd command set Teto.cmd...OK Loading cns Teto.cns...Freeing player RC Teto Kasane...CMD...CNS...SFF...AIR...SND...Misc...OKCharacter ffchartest.def failed to load
oh i'm sorry.here.; PowerCharge[State 1000, PowerAdd]type = PowerAddtriggerAll = Power < const(data.power) && Power < PowerMaxtrigger1 = !AILevel && (command = "hold_s")value = 2[State 1000, End]type = ChangeStatetrigger1 = Power >= const(data.power) || Power >= PowerMax || RoundState != 2trigger2 = !AILevel && (command != "hold_s")ctrl = 1
I see, you're missing the 'value' parameter in the ChangeState. Check my first post. It should send you back to state 0.