The Mystery Mugen Forum
March 28, 2024, 10:13:29 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: We have moved!

please go to:

http://mugenlair.freesmfhosting.com/index.php
 
  Home Help Arcade Links Staff List Login Register  

Random Winposes

+-+-
+-User
Pages: [1]
  Print  
Author Topic: Random Winposes  (Read 376 times)
0 Members and 1 Guest are viewing this topic.
supermystery
Administrator
*****

Karma: 102
Offline Offline

Posts: 439


View Profile
« on: July 17, 2007, 01:56:51 pm »

Quote
==============================================================
Random Winpose

Go to the win pose State control.

[State ###, RandomWinPose]
type = ChangeAnim
trigger1 = Time = 0
value = IfElse(Random>=0&&Random<333,POSE1,IfElse(Random>=333&&Random<666,POSE2,POSE3))


Replace POSE1, POSE2, and POSE3 with the animation number of the win poses you specified in the .AIR file.
Report Spam   Logged

Share on Facebook Share on Twitter

ssjsongoku
Full Member
***

Karma: 42
Offline Offline

Gender: Male
Posts: 164


View Profile
« Reply #1 on: July 17, 2007, 02:07:52 pm »

cool, I needed to know how to do that.  Smiley

Thanks.
Report Spam   Logged

MetalMario182
Junior Member
**

Karma: 14
Offline Offline

Gender: Male
Posts: 62


Fight The Powa!!!


View Profile WWW
« Reply #2 on: July 17, 2007, 03:11:02 pm »

Thanks. im gonna use this right when i wake up all the way. say, not to go off topic but do you have a intro one of these? i could really use it.
Report Spam   Logged

WIP Gohan: 39%
All other wips are on hold.
Beta2 is at my site in the downloads section
http://www.freewebs.com/mugen182/
supermystery
Administrator
*****

Karma: 102
Offline Offline

Posts: 439


View Profile
« Reply #3 on: July 17, 2007, 03:13:30 pm »

Code:
==============================================================
Random Intro

Go to the Intro State control. (191)

[State ###, RandomIntro]
type = ChangeAnim
trigger1 = Time = 0
value = IfElse(Random>=0&&Random<333,INTRO1,IfElse(Random>=333&&Random<666,INTRO2,INTRO3))


Replace INTRO1, INTRO2, and INTRO3 with the State number of the intro you specified in the .cns file.
Report Spam   Logged
Blaze
Full Member
***

Karma: 15
Offline Offline

Gender: Male
Posts: 128



View Profile
« Reply #4 on: July 17, 2007, 08:03:30 pm »

Very helpful with making creations.Thanks for this tutorial Cheesy
Report Spam   Logged


Naruto Shippuden Narutimate Accel 2 is coming!
MetalMario182
Junior Member
**

Karma: 14
Offline Offline

Gender: Male
Posts: 62


Fight The Powa!!!


View Profile WWW
« Reply #5 on: July 17, 2007, 10:46:59 pm »

Code:
==============================================================
Random Intro

Go to the Intro State control. (191)

[State ###, RandomIntro]
type = ChangeAnim
trigger1 = Time = 0
value = IfElse(Random>=0&&Random<333,INTRO1,IfElse(Random>=333&&Random<666,INTRO2,INTRO3))

Replace INTRO1, INTRO2, and INTRO3 with the State number of the intro you specified in the .cns file.
thanks you very much supermystery, this will come in handy.
Report Spam   Logged

WIP Gohan: 39%
All other wips are on hold.
Beta2 is at my site in the downloads section
http://www.freewebs.com/mugen182/
KOBBBH AKA Cane 3:16
Omega Member
******

Karma: 21
Offline Offline

Gender: Male
Posts: 1303


Austin will kill batista and jhon cena SEROIUSLY!!


View Profile
« Reply #6 on: July 24, 2007, 10:45:32 pm »

man and i was trying to figure out how to do that saves the searching thanx alot
Report Spam   Logged


the nightmare ssj3
Hero Member
*****

Karma: 4
Offline Offline

Posts: 501



View Profile
« Reply #7 on: July 26, 2007, 05:21:43 am »

wow!!! a great help, thanks supermystery  Smiley
Report Spam   Logged



Super Gohan in action
Moldredd
Beginner
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« Reply #8 on: September 01, 2007, 06:11:01 am »

Quote
==============================================================
Random Winpose

Go to the win pose State control.

[State ###, RandomWinPose]
type = ChangeAnim
trigger1 = Time = 0
value = IfElse(Random>=0&&Random<333,POSE1,IfElse(Random>=333&&Random<666,POSE2,POSE3))


Replace POSE1, POSE2, and POSE3 with the animation number of the win poses you specified in the .AIR file.

As long as the animations numbers are one after the other you could change the value to:

value = 181+(Random&3) ; means that it will randomly choose from 181 to 183.

I used the number 181 for this example, it can be any number as long both are together one after the other.

Note: This also works for random intros or any stuff alike.

Greetings SuperMystery Smiley
Report Spam   Logged
supermystery
Administrator
*****

Karma: 102
Offline Offline

Posts: 439


View Profile
« Reply #9 on: September 01, 2007, 08:54:26 am »

Whoa cool welcome to the forum Moldredd  Smiley
Report Spam   Logged
iganita
Hero Member
*****

Karma: 8
Offline Offline

Gender: Male
Posts: 505


Reimu Hakurei in Eastern World!!


View Profile
« Reply #10 on: September 03, 2007, 07:03:49 pm »

I want to know this code too!! Lips Sealed

Thank you very much Supermystery!! Wink

Report Spam   Logged
PAQ
Full Member
***

Karma: 13
Offline Offline

Gender: Male
Posts: 139


"BOOYA"


View Profile
« Reply #11 on: September 05, 2007, 08:27:07 pm »

Yo, I have a good question... I was looking at this random winpose coding... and I thought to myself... Is there a way to have a random intro? Not on the characters... but random intros for MUGEN, for those people who love more than one intro they have in their collection? I know its going a lil off topic.. but I figured since I got the idea from this thread, it was somewhat related....
Report Spam   Logged


By pacmanphq at 2007-07-12
Moldredd
Beginner
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« Reply #12 on: September 08, 2007, 04:03:50 am »

It's actually the same exact method but if you want I can make a quick tutorial for you.
Report Spam   Logged
Rock Lee
Junior Member
**

Karma: 3
Offline Offline

Gender: Male
Posts: 34


LET THE SPIRIT OF YOUTH EXPLODE!!!


View Profile
« Reply #13 on: September 08, 2007, 04:26:23 am »

This code will be perfect for my WIP, especially cause I made alot of intro and winpose animations. Thanx SM and I will be asking u guys for tons of coding assistance in a minute, like how do u make MvC type pix come up for supers. (I'm a newb to code)
Report Spam   Logged


I don't wait until the iron is hot to strike: I instead make the iron hot by striking it!
PAQ
Full Member
***

Karma: 13
Offline Offline

Gender: Male
Posts: 139


"BOOYA"


View Profile
« Reply #14 on: September 09, 2007, 05:05:17 am »

It's actually the same exact method but if you want I can make a quick tutorial for you.

Moldredd that would be awesome man... there are a few intros I'd like to use, I just never knew how to do it, thanks a bunch!!
Report Spam   Logged


By pacmanphq at 2007-07-12
Pages: [1]
  Print  
 
Jump to:  

+-Recent Topics
Powered by EzPortal
Bookmark this site! | Upgrade This Forum
Free SMF Hosting - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy