collapse

Author Topic: Special win state help  (Read 498 times)

0 Members and 3 Guests are viewing this topic.

Offline Luigi-Master

  • Skull fetishist
  • Forum Member
  • ***
  • Posts: 404
  • Last Login:December 08, 2013, 03:47:08 AM
  • Soviet enthusiast
    • Email
Special win state help
« on: March 04, 2011, 04:05:25 PM »
Hello again.  I have took it upon myself to recode a character (as to who it is, that will be a secret until I release him ;*)) ), and I figured I could give him a special winning state.

So he has a move where he flies in the air for some time before falling down, so I was thinking that, if he kills someone while in this state, he can slowly land to the ground and enter a different pose.  I programmed everything, and they work like planned.  However, he won't enter said state until a whole minute elapses.  How do I fix this?

Also, this state has him shooting helpers, and he doesn't attack himself, which might help you guys.  Thank you for your help.



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: Special win state help
« Reply #1 on: March 04, 2011, 04:31:09 PM »
Hello again.  I have took it upon myself to recode a character (as to who it is, that will be a secret until I release him ;*)) ), and I figured I could give him a special winning state.

So he has a move where he flies in the air for some time before falling down, so I was thinking that, if he kills someone while in this state, he can slowly land to the ground and enter a different pose.  I programmed everything, and they work like planned.  However, he won't enter said state until a whole minute elapses.  How do I fix this?

Also, this state has him shooting helpers, and he doesn't attack himself, which might help you guys.  Thank you for your help.

Too little information, but ... often delayed win poses are due to the lack of control in your character, makesure he has ctrl = 1 after the move connects.

Offline Luigi-Master

  • Skull fetishist
  • Forum Member
  • ***
  • Posts: 404
  • Last Login:December 08, 2013, 03:47:08 AM
  • Soviet enthusiast
    • Email
Re: Special win state help
« Reply #2 on: March 04, 2011, 05:27:11 PM »
Well, the character himself doesn't connect with anyone, he just shoots projectiles.  If said state has ctrl = 1, then he will go into the aerial attack states if you press, say, the attack buttons, so it was set to 0 for a reason.

I will be heading to work soon, so I would like to know what kind of information you would like to know, so that I can elaborate better.  Thanks!

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: Special win state help
« Reply #3 on: March 04, 2011, 08:22:03 PM »
Well, the character himself doesn't connect with anyone, he just shoots projectiles.  If said state has ctrl = 1, then he will go into the aerial attack states if you press, say, the attack buttons, so it was set to 0 for a reason.

I will be heading to work soon, so I would like to know what kind of information you would like to know, so that I can elaborate better.  Thanks!

After the character lands what statedef do they go into?

Offline Luigi-Master

  • Skull fetishist
  • Forum Member
  • ***
  • Posts: 404
  • Last Login:December 08, 2013, 03:47:08 AM
  • Soviet enthusiast
    • Email
Re: Special win state help
« Reply #4 on: March 04, 2011, 11:16:59 PM »
Ah, I see what you're thinking of.  Well, by normal means, he goes into the default falling state, 51, then goes to 52 as he lands.  But, I want him to descend to the ground (3104), and once he's done, he'll go into a taunting state, 3105.

From my understanding, you think I want him to land normally and use a different winpose, right?  Well, I want him to change from his flying state to go the state that makes him fall to the ground, which will make him go to his taunt.  He does go into it when he's flying, but it takes time, like I mentioned before.

Offline Space (DCL)

  • IMT Content Architect
  • *
  • Posts: 1166
  • Country: United States us
  • Last Login:November 01, 2024, 11:50:56 PM
  • If you see this, I'm alive!
Re: Special win state help
« Reply #5 on: March 04, 2011, 11:34:06 PM »
Ah, I see what you're thinking of.  Well, by normal means, he goes into the default falling state, 51, then goes to 52 as he lands.  But, I want him to descend to the ground (3104), and once he's done, he'll go into a taunting state, 3105.

From my understanding, you think I want him to land normally and use a different winpose, right?  Well, I want him to change from his flying state to go the state that makes him fall to the ground, which will make him go to his taunt.  He does go into it when he's flying, but it takes time, like I mentioned before.

You may want to change the Physics of the move (the one he wins with) to N, at the top of the Statedef. Then use a changestate with his descending animation. In that changestate, use the WinKo trigger and Roundstate=3 trigger. Next, make the taunt state as you mentioned you wanted him to do. Finally add one more changestate from his taunt to winpose selector (statedef 180).

Add this piece of code right under statedef 180 to make your character go into the special win pose you want.

[State 180, Special Winpose]
type = ChangeState
trigger1 = prevstateno = *selected taunt stateno* ;This line returns the previous state number, aka your special taunt state...
value = *special winpose stateno* ;Add special winpose state number here
(click to show/hide)
zzz...I'm top tier...screw you Doom and Wesker...zzz

Offline Luigi-Master

  • Skull fetishist
  • Forum Member
  • ***
  • Posts: 404
  • Last Login:December 08, 2013, 03:47:08 AM
  • Soviet enthusiast
    • Email
Re: Special win state help
« Reply #6 on: March 05, 2011, 12:01:48 AM »
Oh hey DCL, how's everything treating ya?  Argh, I keep forgetting to mention that the descending IS indeed his winpose, and the taunt is merely a continuation of that.  I apologize if I keep mixing things up; haven't done anything this complex in, well, never.

Funny story, one of the methods I tried implementing was the SGS winning state from your Angel Ken, so that's quite a coincidence.  The code you mentioned also is very similar from what I saw, so, yeah.  Sorry for the inconvenience!

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: Special win state help
« Reply #7 on: March 07, 2011, 06:28:10 PM »
You may want to change the Physics of the move (the one he wins with) to N, at the top of the Statedef. Then use a changestate with his descending animation. In that changestate, use the WinKo trigger and Roundstate=3 trigger. Next, make the taunt state as you mentioned you wanted him to do. Finally add one more changestate from his taunt to winpose selector (statedef 180).

Add this piece of code right under statedef 180 to make your character go into the special win pose you want.

[State 180, Special Winpose]
type = ChangeState
trigger1 = prevstateno = *selected taunt stateno* ;This line returns the previous state number, aka your special taunt state...
value = *special winpose stateno* ;Add special winpose state number here

 ^^(PM)^

Offline Luigi-Master

  • Skull fetishist
  • Forum Member
  • ***
  • Posts: 404
  • Last Login:December 08, 2013, 03:47:08 AM
  • Soviet enthusiast
    • Email
Re: Special win state help
« Reply #8 on: March 08, 2011, 02:35:31 AM »
I mentioned that I kept my project as a secret, but now that I released him, maybe you guys can help me better.

Bass by Chaotic and Zero:  http://www.infinitymugenteam.com/Forum_345/index.php?topic=33815.0

The landing state is 3104, and the landed state where he points and seems to be talking is 3105.  Hopefully you guys know what to do.   :cool

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

Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by ExShadow
[November 02, 2024, 04:54:41 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]


Rooftop Skyline(1.1 Only/AIGS) by Vegaz by LightFlare
[October 21, 2024, 12:13:37 PM]


Secluded Base(1.1 Only/AIGS) by Vegaz by LightFlare
[October 17, 2024, 01:21:06 PM]


Ultimate Balrog + stage by ELECTRO
[October 17, 2024, 05:40:31 AM]


Classic VS : Balrog by ELECTRO
[October 08, 2024, 04:35:53 PM]

* IMT Calendar

November 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

SimplePortal 2.3.5 © 2008-2012, SimplePortal