YesNoOk
avatar

Save me My Friend! Hard to test (Read 8712 times)

Started by beterhans, July 29, 2014, 09:59:01 am
Share this topic:
Save me My Friend! Hard to test
#1  July 29, 2014, 09:59:01 am
  • ***
    • China
    • beterhans.blogspot.com/
MMnn. I'm making a Super throw move

setup like this
P1 the Attacker, fire a Helper run for a long distance to throw P2.
the helper is small one and have no hitbox during the throw process.

P2 have P4 as it's teammate
If P1 get hit it's helper will disappear.
If the helper lost it's target it will disappear.
If the helper miss or disappear P1 will end it's throw move.

in short I wanna make a breakable throw move, a 3rd person or object could hit P1 or P2 to stop or save P2!


Thanks by @Cyanide 's trick
http://mugenguild.com/forum/topics/is-there-easy-way-target-get-info-attacker-161175.0.html
now P2 knows, it's attacker's state, so if something hit P1, the helper will change state, and disappear, P2 will be saved. (turn selfstate)

but if P2 have it's mate P4 to hit him? to release him from the throw?
since P2 and P4 at same side. and P4's move don't have "affectteam = B" so P4 can't P2

The only option is to have P2 in a custom state with "ReversalDef"
like this

[State 1113506, Anyone hit me!]
type = ReversalDef
trigger1 = Anim = 1113506
trigger1 = Animelemtime(2)>= 1
reversal.attr = SCA,AA,AP
pausetime = 0,0
affectteam = B
;sparkno = 0
;sparkxy = 0,0
;hitsound = 0,0
p1stateno = 1113507
;p2stateno =
p1sprpriority = 1
p2sprpriority = 2

[StateDef 1113507]
type = U
Movetype = U
physics = U
ctrl = 0

[State 1113507 self state]
type = SelfState
trigger1 = 1
value = 5000


I don't know if affectteam = B + ReversalDef will work or not. and I have no way to play Mugen with 3 Human players.
I hope this could make P2 into it's own 5000 and get all hitvar from P4.
and P4 hit P2's attackbox like hit P2's hitbox.
Re: Save me My Friend! Hard to test
#2  July 29, 2014, 02:18:01 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
You can use the mugen command line to load up 3 players for testing.

Code:
cmd.exe -
cd C:\Your\Path\To\Mugen
mugen.exe -p1 char_defnamewithoutextension -p2 char_defnamewithoutextension -p3 char_defnamewithoutextension -s stage_defnamewithoutextension.

It might be better to spawn hitboxes for both players to hit. Is this for a full game?

-[Все слова это только слова.]-
Re: Save me My Friend! Hard to test
#3  July 30, 2014, 08:08:13 am
  • ***
    • China
    • beterhans.blogspot.com/
Re: Save me My Friend! Hard to test
#4  July 30, 2014, 08:23:13 am
  • ***
    • China
    • beterhans.blogspot.com/
You can use the mugen command line to load up 3 players for testing.

Code:
cmd.exe -
cd C:\Your\Path\To\Mugen
mugen.exe -p1 char_defnamewithoutextension -p2 char_defnamewithoutextension -p3 char_defnamewithoutextension -s stage_defnamewithoutextension.

It might be better to spawn hitboxes for both players to hit. Is this for a full game?

Thanks for your command
it doesn't work.
P4 can't hit P2's attackbox :)
Re: Save me My Friend! Hard to test
#5  July 30, 2014, 08:32:13 am
  • avatar
  • ***
  • ̢̻̮̫̬̹̞̼̲̪̜̭͇̲͒ͪ̌ͬ̒̄̔̐͘͟ͅ ̢̋ͬ̓͗̏̇̌̑͐ͤ͗̔̊̕͏̴̣͎̟͈̬͚
    • Monaco
http://signavatar.com/32255_s.gif

please visit my request thread. here
bad grammar is art
Re: Save me My Friend! Hard to test
#6  July 30, 2014, 10:05:18 am
  • ***
    • China
    • beterhans.blogspot.com/