YesNoOk
avatar

Trying to create a story after match over  (Read 914 times)

Started by EM20XX, January 17, 2009, 04:58:22 am
Share this topic:
Trying to create a story after match over
#1  January 17, 2009, 04:58:22 am
  • ***
  • <>_<>!
    • USA
    • mugenandgames.webs.com/
I am trying to make it where player 2 gets up then starts talking to player one after match over. I have pulled this off pretty good but I have one big problem after they exchange a couple of sentences it switches to player 1's win pose and it goes to the next match no matter how long i set the time for. I am trying to get it to last a lil longer for I can have a good story going how can i do this?
Last Edit: January 17, 2009, 05:01:23 am by EM20XX
Re: Trying to create a story after match over
#2  January 17, 2009, 05:00:50 pm
  • **
Are you pausing the game (pause controller) while they talk to each other?
You said they BOTH say a few lines, does this mean that the talking only happens between two of your own characters?
Then you could add kill=0 to their hitdefs and make it like the MK-finishing move.
Latest Creation: SSBB Assist Trophies
Re: Trying to create a story after match over
#3  January 18, 2009, 08:05:17 am
  • ***
  • <>_<>!
    • USA
    • mugenandgames.webs.com/
Are you pausing the game (pause controller) while they talk to each other?
You said they BOTH say a few lines, does this mean that the talking only happens between two of your own characters?
Then you could add kill=0 to their hitdefs and make it like the MK-finishing move.

Well how I have it set up is

Code:
[Statedef -2]


[State -2, 16]
type = ChangeState
triggerall = BackEdgeBodyDist > 30
triggerall = MatchOver && win && time > 40
triggerall = p2name = "ken"
triggerall = RoundNo = 2
trigger1 = stateno != 105233
value = 105233
i'm not sure what you mean by add kill=0 i tried this in the state 105233 and it did not help
Re: Trying to create a story after match over
#4  January 19, 2009, 11:55:18 am
  • **
What I meant with kill=0 is, adding this to every hitdef you have, and sending the characters to the special state (p1state, p2state=...),  I dont think that this is worth the effort though.

I think the most reasonable way to do what you want is to make a special win state VS that special character. So you add this changestate controller to your state 180 (win state decider). Is there any problem with that?

Latest Creation: SSBB Assist Trophies
Re: Trying to create a story after match over
#5  January 20, 2009, 06:53:49 am
  • ***
  • <>_<>!
    • USA
    • mugenandgames.webs.com/
What I meant with kill=0 is, adding this to every hitdef you have, and sending the characters to the special state (p1state, p2state=...),  I dont think that this is worth the effort though.

I think the most reasonable way to do what you want is to make a special win state VS that special character. So you add this changestate controller to your state 180 (win state decider). Is there any problem with that?



Yes whenever I do this and add the “triggerall = p2name = "ken"“ it wont work unless I make the winpose for all characters
Re: Trying to create a story after match over
#6  January 20, 2009, 11:47:14 am
  • **
Ok I tested it and its right, for some reason p2name doesnt work in state 190, in state -2 it works all the time, you are right.

But this here works:
[mcode]trigger1 = enemy,name="ken"[/mcode]

For two opponents:
[mcode]trigger1 = enemy(0),name="ken"
trigger2 = numenemy>1
trigger2 = enemy(1),name="ken"[/mcode]
In this case put all the other conditions in triggerall (you dont need most of them if your in state 190 anyway)
Latest Creation: SSBB Assist Trophies
Re: Trying to create a story after match over
#7  January 21, 2009, 07:56:41 pm
  • ***
  • +1 to whoever added Godzilla to the main index.
Are you using the roundnotover flag of [mcode]AssertSpecial[/mcode]?
i think we should call it an "engine" so we don't look like total idiots because otherwise we'd be arguing about a "game" and that would be somehow "dumber" than arguing about an "engine" on the "internet" for countless hours

Iced said:
I for one, do not enjoy round corners!  :bigcry:
But they hurt much less when we accidentally hit them!  :S
Re: Trying to create a story after match over
#8  January 22, 2009, 06:17:43 am
  • ***
  • <>_<>!
    • USA
    • mugenandgames.webs.com/
Ok I tested it and its right, for some reason p2name doesnt work in state 190, in state -2 it works all the time, you are right.

But this here works:
[mcode]trigger1 = enemy,name="ken"[/mcode]

For two opponents:
[mcode]trigger1 = enemy(0),name="ken"
trigger2 = numenemy>1
trigger2 = enemy(1),name="ken"[/mcode]
In this case put all the other conditions in triggerall (you dont need most of them if your in state 190 anyway)


hey it works!! i'm so happy lol thanks alot.
Are you using the roundnotover flag of [mcode]AssertSpecial[/mcode]?

yes i was
Re: Trying to create a story after match over
#9  January 26, 2009, 07:41:29 am
  • ***
  • <>_<>!
    • USA
    • mugenandgames.webs.com/
Ok I have another problem with this. It seems when player 2 wins the first round and then player 1 wins the secant it triggers the win pose. How can I make it where it only happens if player 1 wins both rounds?
Re: Trying to create a story after match over
#10  January 26, 2009, 10:27:50 am
  • **
Do you still have your trigger MatchOver && Win? This should guarantee that the pose is only triggered if you win the Match.
Add it as a triggerall if you got the two player name detection that I posted before.
Latest Creation: SSBB Assist Trophies
Re: Trying to create a story after match over
#11  January 26, 2009, 07:47:17 pm
  • ***
  • <>_<>!
    • USA
    • mugenandgames.webs.com/
ok i got that fixed but i have one more problem if player 2 has his back to player 1 he continues to do so through out the whole winpose how can I get player 2 to face player 1 if player 2's back is to player 1 when he loses?
Re: Trying to create a story after match over
#12  January 27, 2009, 10:31:57 am
  • **
There are several ways to do that, overall its not gonna be easy. If you tell me why you need p2 to turn, I could find a simpler solution.
Latest Creation: SSBB Assist Trophies
Re: Trying to create a story after match over
#13  January 28, 2009, 07:38:52 am
  • ***
  • <>_<>!
    • USA
    • mugenandgames.webs.com/
Well I want player 2 to face player 1 for they can start a dialog without it looking weird but I think I might have a solution for this that I just thought up and that's make a dummy anim for the statedef then make an explod with the stand anim for both player 1 and 2 so when the winpose comes up I have a flash come on then the story will start with them both facing each other without it looking weird.