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
-
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
;---------------------------------------------------------------------------
; 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:
[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::
-
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
-
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:
[state 190, 5]; makes the character goes to the desided state
type = changestate
trigger1 = 1
value = 19000+(random%2)*100
Now that works :)
-
So, which characters can use this code without messing that certain character's files up?
-
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.
-
0-3 means 4 intros.
-
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)
-
heheheh for me its even better, since Anita have more than 20 intro and winposes :)
-
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. :)
-
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
-
need 2 know lol \-/o