collapse

Author Topic: Force opponent into their own state  (Read 1484 times)

0 Members and 1 Guest are viewing this topic.

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Force opponent into their own state
« on: October 18, 2012, 05:31:14 PM »
So here is my current issue:

If I add "P2stateno" to a hitdef it will direct the opponent to my cns file
If I add "targetstate" to a hitdef it will direct the opponent to my cns file as well

How can I send an opponent directly to a statedef within their own cns file without passing through a statedef in my own cns file?



Offline ZVitor

  • IMT Content Architect
  • *
  • Posts: 2683
  • Last Login:January 01, 2024, 07:22:36 PM
    • Email
Re: Force opponent into their own state
« Reply #1 on: October 18, 2012, 05:41:05 PM »
p2stateno
+
selfstate
trigger = time = 0
?

Offline Arkady

  • IMT Content Architect
  • *
  • Posts: 1872
  • Country: Australia au
  • Last Login:May 07, 2024, 06:59:20 AM
  • "Create the Un-Creatable"
Re: Force opponent into their own state
« Reply #2 on: October 18, 2012, 06:09:37 PM »
what exactly do you need to happen?
for example
  scarlet witch turns opponent into a frog (frog anim in sw code)

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: Force opponent into their own state
« Reply #3 on: October 18, 2012, 06:12:44 PM »
@ ZVitor = 1 frame in my CNS file before going to self state.  :(

@ Ark = I want to hit an opponent and put then into a custom gethit state without forcing them into my own CNS file first.

Offline Arkady

  • IMT Content Architect
  • *
  • Posts: 1872
  • Country: Australia au
  • Last Login:May 07, 2024, 06:59:20 AM
  • "Create the Un-Creatable"
Re: Force opponent into their own state
« Reply #4 on: October 18, 2012, 06:23:21 PM »
yeah still not making sence to me, i understand the concept, but not the reason for it? i think i can only help if i know what your concepting

Offline MGMURROW

  • IMT Content Architect
  • *
  • Posts: 161
  • Country: United States us
  • Last Login:August 18, 2022, 06:04:45 PM
    • MGMURROW
Re: Force opponent into their own state
« Reply #5 on: October 18, 2012, 08:06:19 PM »
Maybe p2stateno(for the 1 tick use your cns state that you want to send p2 in) + selfstate

let us know how it goes

MGMURROW

Offline Infinite Power

  • The End All Be All
  • Contributor
  • ****
  • Posts: 747
  • Last Login:January 27, 2020, 09:36:52 AM
  • Energy Doesn't Die
    • Infinite Fighting Forum
Re: Force opponent into their own state
« Reply #6 on: October 18, 2012, 08:33:09 PM »
So here is my current issue:

If I add "P2stateno" to a hitdef it will direct the opponent to my cns file
If I add "targetstate" to a hitdef it will direct the opponent to my cns file as well

How can I send an opponent directly to a statedef within their own cns file without passing through a statedef in my own cns file?
Don't add a "P2stateno" or "targetstate".

or


You could use a cutom state that goes directly to a selfstate

Now Die, Mortal.

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: Force opponent into their own state
« Reply #7 on: October 18, 2012, 09:41:20 PM »
@ MgMurrow, the 1 tick was the result of ZVitor's suggestion, p2stateno then selfstate, which still recognized the initial p2stateno before it sent the opponent into the self state.

@ Infinite Power - the custom state would be in my character's cns file, thus not solving the issue.

Offline Space (DCL)

  • IMT Content Architect
  • *
  • Posts: 1164
  • Country: United States us
  • Last Login:April 28, 2024, 10:32:37 AM
  • If you see this, I'm alive!
Re: Force opponent into their own state
« Reply #8 on: October 18, 2012, 09:46:48 PM »
Force opponent into their own state?

Hmm...sounds a lil confusing...let me give it a try...
(click to show/hide)
zzz...I'm top tier...screw you Doom and Wesker...zzz

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Force opponent into their own state
« Reply #9 on: October 18, 2012, 10:07:21 PM »
Targetstate
trigger1 = movehit
value = your state
ignorehitpause = 1
persistent = 0

in the custom state, don't set anim, type/physics= U
type = selfstate
trigger1 = 1
value = newstateno
ignorehitpause = 1

Done. Please try this as well, i've used a targetstate in omega red under state -2 for the launcher, you don't see p2 enter state 9040 at all.

Offline Space (DCL)

  • IMT Content Architect
  • *
  • Posts: 1164
  • Country: United States us
  • Last Login:April 28, 2024, 10:32:37 AM
  • If you see this, I'm alive!
Re: Force opponent into their own state
« Reply #10 on: October 18, 2012, 10:10:58 PM »
Targetstate
trigger1 = movehit
value = your state
ignorehitpause = 1
persistent = 0

in the custom state, don't set anim, type/physics= U
type = selfstate
trigger1 = 1
value = newstateno
ignorehitpause = 1

Done. Please try this as well, i've used a targetstate in omega red under state -2 for the launcher, you don't see p2 enter state 9040 at all.

Looks like Cyanide beat me to it. However Acey I think you asked that you want them to be forced into ANY statedef in their CNS? That includes all basics, special attacks, etc. right?
(click to show/hide)
zzz...I'm top tier...screw you Doom and Wesker...zzz

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Force opponent into their own state
« Reply #11 on: October 19, 2012, 03:34:23 AM »
that would be difficult outside of a full game. If you don't use state X, you break things. Like you might want me to enter hard punch. Have i used 202, 220, or some random number? You have no idea and guessing is a bad idea. There is also no selfstateexist like there is selfanimexist.

Outside of a full game that can't be done. Inside a full game, standardise your states and make use of a common variable.

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: Force opponent into their own state
« Reply #12 on: October 20, 2012, 12:36:30 AM »
Cyanide's solution is what I'm looking for. Yes, this does happen to be for a full closed game.  :-"

Offline Infinite Power

  • The End All Be All
  • Contributor
  • ****
  • Posts: 747
  • Last Login:January 27, 2020, 09:36:52 AM
  • Energy Doesn't Die
    • Infinite Fighting Forum
Re: Force opponent into their own state
« Reply #13 on: October 21, 2012, 09:24:51 AM »
Cyanide's solution is what I'm looking for.
:Terry, It seems like you're going with the custom state to selfstate approach... WoW!

Now Die, Mortal.

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Classic VS : Athena by ELECTRO
[May 10, 2024, 02:44:09 PM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 PM]


D2TD VS Showcase Thread by D2TD
[May 05, 2024, 10:08:50 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[April 21, 2024, 12:09:20 PM]


Ultimate E. Honda + stage by ELECTRO
[April 18, 2024, 09:47:24 PM]


Sunset Beach (1.1 Only/AIGS) by Vegaz by LightFlare
[April 16, 2024, 06:55:00 PM]


Wonder Twins 2.0 by brucewayne74, Shining and Skhsato123 by brucewayne74
[April 05, 2024, 06:07:48 PM]


X-Men Training Room (Bright & Dark) Stage 1.1 & 1.0 by MatreroG
[April 05, 2024, 10:55:29 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[April 01, 2024, 11:03:03 PM]

* IMT Calendar

May 2024
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

SimplePortal 2.3.5 © 2008-2012, SimplePortal