Jump to content
  • 0

Character-specific win quotes not working


Flowering Knight

Question

I'm using the VictoryQuote sctrl to make a specific win quote against a certain character.  However, said quote shows up randomly even when I'm fighting a completely different character, like any other one. (The names in the DEF files are different, I checked.) I tried pasting a code and added exclamation marks to prevent this, only for Mugen to crash.  I don't understand this, and I want to know how I can fix it, if I can.

 

If it helps, the character I'm using has 31 other quotes.

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Maybe you could try something like this:

[state -2, VictoryQuote] ;Regular quotes

type = VictoryQuote

trigger1 = Enemy,Name != "CharHere"

value = 1~#

 

[state -2, VictoryQuote] ;Character Quote

type = VictoryQuote

trigger1 = Enemy,Name = "CharHere"

value = <Charcter specific quote>

 

Set a VictoryQuote sctrl for not only your character specific quotes, but also you normal quotes.
Have the normal quotes be randomly selected as long as p2 isn't the character you want to play the character specific win quote.

Link to comment
Share on other sites

  • 0

^Shouldn't matter.

Seeing as I have experience in this, I'll help!

 

While you can place these in the winpose state, it works just fine if you place them in Statedef -3:

 

[state -3, Blah]
type = VictoryQuote
trigger1 = 1
value = 1+(random%#) ;Replace # with how many regular (non-character-specific) quotes you have.
 
[state -3, Blah]
type = VictoryQuote
trigger1 = enemy,name = "nameofcharacter"
value = # ;Replace # with the value of the quote you want to use.
Link to comment
Share on other sites

  • 0

 

^Shouldn't matter.

Seeing as I have experience in this, I'll help!

 

While you can place these in the winpose state, it works just fine if you place them in Statedef -3:

 

[state -3, Blah]
type = VictoryQuote
trigger1 = 1
value = 1+(random%#) ;Replace # with how many regular (non-character-specific) quotes you have.
 
[state -3, Blah]
type = VictoryQuote
trigger1 = enemy,name = "nameofcharacter"
value = # ;Replace # with the value of the quote you want to use.

 

 

While it does show up whenever I defeat said character, I still see it even if I fight someone else.

 

 

If your character version is not M.U.G.E.N 1.0 or 1.1, then you need to check the def file and change.

Otherwise the specific win quotes will crash M.U.G.E.N

 

My character version is 1.0.

Link to comment
Share on other sites

  • 0

Are your quotes separated? As in, are your regular quotes say 1-10, and then the character-specific ones 11+? Or are they jumbled in with each other?

 

I have them separated, as in:

 

victory38= "You are dead. Surprise big not."

 

 

victory50= "I wasn't attacking you. I was simply being controlled by an asshole known simply as 'Player'."

 

Is this what's causing the problem?

Link to comment
Share on other sites

  • 0
Remove all your quotes for the time being and start over...(save it to the side)
 
 
Start again and Make sure for example its like this
 
(this should be just under his life & defense data is in the constant file. look at jmorphman ryo to see what i mean or pots 1.0 character versions very closely).
 
 
; for random characters. these would show at random versus any other character not connected to special quotes. 

victory0 = "You suck"

victory1 = "What a workout!"

 

 

;Vs specific character

victory2 = "Nice match but next time hit a little harder"

victory3 = "Thats all youve got?"

victory4 = "Dont blame the controller for losing buddy"

 

 

 

Now these codes below should look like this in win the state decider state def

 

 

 

[state 180, Generic Victory Quote]

type = VictoryQuote

trigger1 = 1

value = (Random % 2);<----random of 2 because theres 2 quotes in total

 

Thats for these two here:

victory0 = "You suck"
victory1 = "What a workout!"

 

Then add this here

 

;VS Fighter name:

 

[state 180, Vs Fighter name]

type = VictoryQuote

trigger1 = enemy,name = "Fighter name" 

value = 2 + (Random % 3);<---random of 3 because theres 3 quotes in total. 2+ MEANS 2 is the first quote in sequence leading to 3rd & 4th quotes

 

thats for these 3 here:

victory2 = "Nice match but next time hit a little harder"
victory3 = "Thats all youve got?"
victory4 = "Dont blame the controller for losing buddy"

 

 

see the pattern?

 

 

Try this all first alone making sure it works (which it should^^) then connect the rest of your quotes again and continue the pattern of coding i just showed you. take your time

 

 

Good luck^^
Link to comment
Share on other sites

  • 0

I have them separated, as in:

 

victory38= "You are dead. Surprise big not."

 

 

victory50= "I wasn't attacking you. I was simply being controlled by an asshole known simply as 'Player'."

 

Is this what's causing the problem?

Yes.

Quotes cannot skip. They have to go 1, 2, 3, 4, 5, 6, 7, 8... and not 1, 2, miss a few, 99, 100.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...