collapse

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

0 Members and 1 Guest are viewing this topic.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • 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: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • 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: 1883
  • Country: Australia au
  • Last Login:Today at 04:57:20 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: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • 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: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • 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

Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


D2TD VS Showcase Thread by D2TD
[November 17, 2024, 08:36:39 AM]


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]


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

* 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