collapse

Author Topic: Coding about Cancelling. Help!  (Read 152 times)

0 Members and 1 Guest are viewing this topic.

Offline AensleigheR

  • Initiate
  • **
  • Posts: 24
  • Last Login:July 04, 2017, 05:27:49 AM
  • ShakeDownMixer!
Coding about Cancelling. Help!
« on: April 17, 2017, 08:05:57 AM »
Hey guys! Can anybody please guide me on how to code Cancels?

What I have in mind right now is to cancel Standing Heavy Kick and Standing Heavy Punch into a special move.
What codes do I have to do?

Also, how do I cancel that special move into a hyper?

So the chain would go something like this.

HP to/or HK > Hadouken > Shinku Hadouken

I would gladly appreciate any help. Thank you very much!  :w00t:



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 810
  • Last Login:August 19, 2017, 03:06:25 AM
    • Mugen Obscurity
Re: Coding about Cancelling. Help!
« Reply #1 on: April 18, 2017, 12:42:59 AM »
This is just extra triggers. Here is a simple version of things

[State -1]
type = changestate
value = 1000
triggerall = command = "megapunch"
trigger1 = statetype != A && ctrl
trigger2 = stateno = 220

The second trigger says that if you are in state 220 and you input megapunch, you will cancel out of it, add further triggers for more states and more control. Things like movecontact etc are normally used although if you are emulating capcom, not actually required.

Offline AensleigheR

  • Initiate
  • **
  • Posts: 24
  • Last Login:July 04, 2017, 05:27:49 AM
  • ShakeDownMixer!
Re: Coding about Cancelling. Help!
« Reply #2 on: April 18, 2017, 01:26:54 AM »
Thank you, man! The code worked for when cancelling HP into the projectile.  :Terry
But the code doesn't work when cancelling the projectile into the hyper  :'(

This is the code for the hyper;

;Absolute Zero
[State -1]
type=ChangeState
value=3400
triggerall=command="qcf_xy"&&power>=1000
trigger1 = statetype != A && ctrl
trigger2 = stateno = 1038 <-- this is the projectile

PS : Thank you, Cyanide.  :thumbsup:

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 810
  • Last Login:August 19, 2017, 03:06:25 AM
    • Mugen Obscurity
Re: Coding about Cancelling. Help!
« Reply #3 on: April 21, 2017, 03:34:56 AM »
Is 1038 the state for the projectile, or the animation of it. Or if it's a helper. Stateno will detect only the state of the character, it doesn't look at animations or helpers or anything like that.

You must be in state 1038 for that to trigger.

Tags:
 


* IMT Facebook

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Ult Riverside Training Grounds (Fighters History Dynamite - Yung Mie) by NX-MEN
[Today at 02:30:16 AM]


mephisto's sprites by NX-MEN
[Today at 02:28:00 AM]


Characters You Would Like to See MUGENnized! by Stas1985gr
[August 20, 2017, 09:26:49 PM]


Dream Room by Stas1985gr
[August 20, 2017, 09:20:43 PM]


[BOR] _Avengers United Battle Force_ by Mephisto Maker
[August 20, 2017, 06:54:40 PM]


Aseprite - Animated sprite editor & pixel art tool by Mephisto Maker
[August 20, 2017, 06:37:24 PM]


TK's NXT Mugen Sunday Slamboree by TK8314
[August 20, 2017, 11:18:07 AM]


Legendary Heroes Edits by NX-MEN
[August 20, 2017, 07:47:57 AM]


Ogre EX updated to MUGEN 1.1 only by sky79
[August 20, 2017, 05:09:43 AM]


TVC Wasteland V2 (1.0 & 1.1) by sky79
[August 20, 2017, 04:29:14 AM]

* IMT Calendar

August 2017
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 [21] 22 23 24 25 26
27 28 29 30 31