Infinity MUGEN Team

IMT Main => M.U.G.E.N Guides & Tutorials => Topic started by: O Ilusionista on June 02, 2008, 12:45:13 PM

Title: Easy multiple Intros/Winposes
Post by: O Ilusionista on June 02, 2008, 12:45:13 PM
I know that many people already knows this, but this could helps the new creators (and why not the old ones too?) to have multiple win or intro poses

for Exemple, the win poses

Quote
;---------------------------------------------------------------------------
; Win state decider
; CNS difficulty: basic
[Statedef 180]
type = S

[state 190, 5]
type = changestate
trigger1 = 1
value = 18000+(random%2)

As you can see, with this small code you can make your char goes to any state from 180 to 184. Because when the var(0) value is, for example, 2, the result of 180+(random% is equal to 182.

The same could be aplied to the intro poses...just put this code on the state 190 and change the value to 190+var(0).

A small trick

If you wann more than 4 intro poses, you have to do this trick. On mugen, you can choose the states from 191-194 to intro, because the state 195 is for taunt.

So, the trick is to make states of higher numbers. On Spec Ops, we use the formula 190 * 100, so the intro states will be 19000,19001,19002 and so on.

You just need to change this part of code:

Quote
[state 190, 5]; makes the character goes to the desided state
type = changestate
trigger1 = !time
19000+(random%2)*100

The same goes to the intro states

 ::salute::
Title: Re: Easy multiple Intros/Winposes
Post by: Fallen_Angel on June 03, 2008, 10:08:57 AM
Quote
So, the trick is to make states of higher numbers. On Spec Ops, we use the formula 190 + 100, so the intro states will be 19000,19001,19002 and so on.

O, change the + for a * ;)

The same can be made instead of using a varrandom, just use a random%4 (for 4 intros), the random will use values from  0 to 4
Title: Re: Easy multiple Intros/Winposes
Post by: O Ilusionista on June 03, 2008, 10:46:05 AM
Quote
So, the trick is to make states of higher numbers. On Spec Ops, we use the formula 190 + 100, so the intro states will be 19000,19001,19002 and so on.

O, change the + for a * ;)

The same can be made instead of using a varrandom, just use a random%4 (for 4 intros), the random will use values from  0 to 4

Its already a "*", check the code :) I've made wrong just on explanation :)

About the random%4: I know it, we use this code to randomize the explods. But you're stuck on 4 states, unless you make this:

Quote
[state 190, 5]; makes the character goes to the desided state
type = changestate
trigger1 = 1
value = 19000+(random%2)*100

Now that works :)
Title: Re: Easy multiple Intros/Winposes
Post by: Yuri Jacobs on June 06, 2008, 06:59:07 PM
So, which characters can use this code without messing that certain character's files up?
Title: Re: Easy multiple Intros/Winposes
Post by: MirageAtoli on June 21, 2008, 02:07:23 AM
The same can be made instead of using a varrandom, just use a random%4 (for 4 intros), the random will use values from  0 to 4

Modulo 4 would actually return 0-3 and is not inclusive of 4.
Title: Re: Easy multiple Intros/Winposes
Post by: O Ilusionista on June 21, 2008, 02:21:07 AM
0-3 means 4 intros.
Title: Re: Easy multiple Intros/Winposes
Post by: DARKTALBAIN on June 22, 2008, 07:48:52 PM
This is very usefull info seeing that Mu next character is going to have a bunch of intros & winposes .

 ^^(PM)^

(http://i202.photobucket.com/albums/aa64/DARKTALBAIN/MedSpawn2.gif)
Title: Re: Easy multiple Intros/Winposes
Post by: O Ilusionista on June 22, 2008, 07:59:04 PM
heheheh for me its even better, since Anita have more than 20 intro and winposes :)
Title: Re: Easy multiple Intros/Winposes
Post by: The Great Matsutzu on June 22, 2008, 09:37:08 PM
heheheh for me its even better, since Anita have more than 20 intro and winposes :)

Wow, that's a lot of winposes and intro's. That wlll certainly be impressive to see. :)
Title: Re: Easy multiple Intros/Winposes
Post by: alcoholical on July 06, 2008, 10:18:01 PM
i cant even do my second intro iz animation 191 when i inserted it comesz asza a 190 def but anim 191 but it wont work @#$% frustrating
Title: Re: Easy multiple Intros/Winposes
Post by: pmc1416 on July 06, 2008, 10:23:03 PM
need 2 know lol  \-/o
SimplePortal 2.3.5 © 2008-2012, SimplePortal