Problem Editing CMD

Started by -_Shadow_-, April 15, 2011, 01:23:10 PM

Previous topic - Next topic

-_Shadow_-

this is frustrating i tryed every way i know to make @ndroide God Rugal comboable as Shin Gouki by POTS.

still can't understand the variable game on rugal's cmd

for example i want any of his normal stand/crouch hit state cancelled by his repukken (stateno 1000) as soon as the normal punch/kick hits
for some reason it cancel (if it does) 2 or 3 frames later.

Didnt even tryed yet to cancel special into super or super into super :/

help plz, thanks in advance.

[State -1:          Reppuken]
type                = ChangeState
triggerall          = !var(21) && (command = "reppukenx"||command = "reppukeny"||command = "reppukenz") && !numhelper(1001) && (command != "holddown")
trigger1            = (var(10)&8) && (var(10)&4)
trigger2            = (stateno = [200,305])&&movecontact
value               = 1000

Cyanide

trigger2            = (stateno = [200,305])&&movecontact

Is that all of his normal states? 200-305? If that's only his standing normals, it won't take crouch into effect, i can't even be sure if that's even all his normal attacks.

I don't know what var(21) is doing either. Var(10) is not important here because if it's false it'll move on to trigger2. You still want to do the command for reppuken right?


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

-_Shadow_-

200 to 305 includes all his normals from standing ligh punch to crouching heavy kick.

and yeah i want to do the command for it.

Cyanide

Well, it's not going to work from crouch regardless because you have != "holddown" in there.

Therefore, find out what var(21) does.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

-_Shadow_-

#4
var 21 is ai activation, thats what i found on his cns.


; var(0) - Sparks de hit normal (normal hit sparks)
; var(1) - Sparks de hit especial (special hit sparks)
; var(2) - Sparks de hit ultra (ultra hit sparks)
; var(3) - Sparks de Guardia (Guard hit sparks)
; var(4) -
; var(5) -
; var(6) -
; var(7) -
; var(8) -
; var(9) - Esquivar Variable (dodge variable)
; var(10) - Optimización de código  (optimization of code)
    ; Bits
    ; 0 - Reset de la var  (reset var)
    ; 1 -
    ; 2 -
    ; 4 - Ctrl
    ; 8 - StateType = S
    ; 16 - StateType = C
    ; 32 - StateType = A
    ; 64 - power >= 1000
    ; 128 - power >= 2000
    ; 256 - power = 3000
    ; 512 - projid(1000) & numhelper(1000)
    ; 1028 -
    ; 2048 -
    ; 4096 -
; var(20) - IA varrandom
; var(21) - IA activación
; var(22) - IA auxiliar

-_Shadow_-

i think i fixed

i changed to

[State -1:          Reppuken]
type                = ChangeState
triggerall          = !var(21) && (command = "reppukenx"||command = "reppukeny"||command = "reppukenz") && !numhelper(1001)
trigger1            = (var(10)&8) && (var(10)&4)
trigger2            = (var(10)&8) && (var(10)&16)
trigger3            = (stateno = [200,305])&&AnimElemNo(3)>0&&movecontact
value               = 1000
and it seems to work, at least for the reppuken il try whit the rest as soon as i get back home xP