collapse

Author Topic: Creating specific characters winquotes  (Read 1376 times)

0 Members and 1 Guest are viewing this topic.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12458
  • Country: Brazil br
  • Last Login:March 21, 2024, 10:58:34 AM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Creating specific characters winquotes
« on: January 30, 2015, 06:57:52 AM »
First, you have to give a set of quotes to your char, like this:

[quotes]
victory1= "Fight ya absolute best, or don't fight at all!"
victory2 = "Don't get in my way again!"
victory3 = "Better luck next time, loser!"
victory4 = "Never get in my way!"
victory5 = "I'm Killer Croc! This brain ain't for fryin'!"
victory6 = "Ain'tcha heard? Crocodiles got real tough hide! But you... you got nowhere t'hide... "
victory7 = "Croc isn't going to the Arkham Asylum 'Zoo' Again"

Then, check the sctrl "VictoryQuote": http://elecbyte.com/mugendocs/sctrls.html#victoryquote

Lets imagine that I want to use "victory7" every time my character beats Batman. I need to add this code at the win states (well, it works in any other state):

Quote
[State 0, VictoryQuote]
type = VictoryQuote
trigger1 = p2name="Batman" || p4name ="Batman"
value = 7

The line in green tells against which character this Victory Quote will work. Note that you must use p2name and p4name, so it will detect both players. The operator "||" means OR, so it will trigger if the p2name is batman OR if the p4name is batman.

The value in red is the victory quote index you want to use.

Keep in mind: if you want to trigger a character called "Batman", it will get the info from the NAME field, and not the DISPLAYNAME field, which is what you see on the fights:

name = "TAS Batman"
displayname = "Batman"

In the case above, the trigger will fail, because the p2 name is TAS Batman, and not Batman.

You can use authorname and any other trigger you want to. One cool usage would be to set a different victory quote if haven't lose any round, or if it was a tough match :)



Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12458
  • Country: Brazil br
  • Last Login:March 21, 2024, 10:58:34 AM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Creating specific characters winquotes
« Reply #1 on: January 30, 2015, 12:04:41 PM »
ou can use a set of common quotes for common characters and have different quotes for only specific characters. Its just a matter of organize your quotes. For example, you can give a set of common quotes (from 1 to 6 here) and do this:
 
Quote
[State 0, VictoryQuote]
type = VictoryQuote
trigger1 = !time
value = 1+random%6

1+random%6 equals to 1 plus a random number out of 6 possible values (remember that it starts at 0, so the numbers are 0,1,2,3,4,5 only, 6 is not included. To make it easier to understand, its like to take 1 from the given value)

You code the special quotes using an index greater than 6:
 
Quote
[State 0, VictoryQuote]
type = VictoryQuote
trigger1 = p2name="Batman" || p4name ="Batman"
value = 7

Then you add the common quotes. Note: the specific quote should come BEFORE the normal ones.
 
Quote
[State 0, VictoryQuote]
type = VictoryQuote
trigger1 = !time
value = 1+random%6

PS: The tutorial were updated. The specific codes should come BEFORE the random ones.
« Last Edit: January 30, 2015, 07:06:23 PM by .:O Ilusionista:. »

Offline Arkady

  • IMT Content Architect
  • *
  • Posts: 1867
  • Country: Australia au
  • Last Login:March 27, 2024, 06:06:54 PM
  • "Create the Un-Creatable"
Re: Creating specific characters winquotes
« Reply #2 on: January 30, 2015, 02:40:48 PM »
This is great, and is very useful, i knew about certain things you could do with victory text, because of avx, but reading this shows me much more, looks like ill writing a big list to filter out generic and specific characters interactions
(almost like street fighter boss interactions)

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12458
  • Country: Brazil br
  • Last Login:March 21, 2024, 10:58:34 AM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Creating specific characters winquotes
« Reply #3 on: January 30, 2015, 02:41:30 PM »
Exactly.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12458
  • Country: Brazil br
  • Last Login:March 21, 2024, 10:58:34 AM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Creating specific characters winquotes
« Reply #4 on: January 30, 2015, 07:06:09 PM »
PS: The tutorial were updated. The specific codes should come BEFORE the random ones.

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

SPIDER-VERSE THE AMAZING MUGENSTORY©EPISODE 10 "THE OTHERVERSE" 1080P BY REB3LTV by Rage
[March 27, 2024, 02:44:21 PM]


D2TD VS Showcase Thread by D2TD
[March 24, 2024, 11:09:37 AM]


Tree Of Erebus Stage 1.1 & 1.0 by MatreroG
[March 22, 2024, 08:13:48 AM]


.Batzarro's. Sprite Edits by MatreroG
[March 20, 2024, 07:58:08 AM]


World Heroes 2 Shura Stage by Vegaz by LightFlare
[March 19, 2024, 12:44:28 PM]


MOVED: Prepare your ****! ***** Soldier gets his **** ready in MUGEN! by Rage
[March 18, 2024, 11:08:23 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[March 14, 2024, 01:34:08 PM]


R.I.P. Akira Toriyama "Dragonball Legend" by Rage
[March 12, 2024, 03:01:39 PM]


DBFZ Rocky Field (noon) by jafar
[March 10, 2024, 11:59:23 PM]


World Heroes 2 Neo Geegus Stage by Vegaz by LightFlare
[March 09, 2024, 11:04:56 AM]

* IMT Calendar

March 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