The Mugen Multiverse
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome!!! - Bienvenidos!!! - ( We hope you will get involved in the MMV Community which is dedicated to having fun with Mugen ) - Bienvenidos!!! - Welcome!!!
 
PortalHomeFAQMemberlistLatest imagesUsergroupsSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» My Goodbye to Mugen & Ikemen creation
Alternative animations for the same attack Emptyby Shining Today at 2:47 am

» Classic VS : Balrog
Alternative animations for the same attack Emptyby Shining Today at 2:26 am

» Akira Yuki Release
Alternative animations for the same attack Emptyby Monkarifan123 Yesterday at 5:27 pm

» My Youtube Mugen (Pseudoingles)
Alternative animations for the same attack Emptyby pseudoingles September 16th 2024, 9:47 pm

Special Features at MMV




Chat on MMV w/ Discord

Video Content Creation Reference
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 Alternative animations for the same attack

Go down 
2 posters
AuthorMessage
Tradt-Production

Tradt-Production


Posts : 240
Join date : 2014-11-15
Age : 33
Location : France

Alternative animations for the same attack Empty
PostSubject: Alternative animations for the same attack   Alternative animations for the same attack EmptySeptember 13th 2024, 1:44 am

Character coding is kinda obscur to me, and I need some help to understand (and succed) my little goal there:
I wish an attack of the character I am editing have several possible animations. Picked randomly between several animations (ll wiht the same hitboxes and frame amount)

I do not find much explanations about this on the web, but I am looking into characters who had similar stuff in there code.

I do looked into the code of "SHANG TSUNG MK1" by "OMEGAPSYCHO"
His reptile form had a stand animation what randomly alternate between two:


[State 0, 1] ;REPTILE
type = ChangeAnim
triggerall = Var(38) = 1
trigger1 = !time
value = ifelse(random<=500,18000,18002)

18000 and 18002 are the two stand animations, but what is the value 500 there ? (there is a anim 500 in the air file, but it is not related to reptile)


Because I do tryed to use that code on the character I am working on :

[statedef 1310]
type = s
movetype = a
physics = s
anim = ifelse(random<=500,1400,1401)
ctrl = 0
velset = 0,0

(the anim 1400 & 1401 are two of the wished anims I made)
So, with this code, it worked. The attack had two different animations, picked randomly, however I still don't kow what the "500" mean there...

But when I tried to had 8 possible aniomations (yes, this is my goal there) it crashed

[statedef 1310]
type = s
movetype = a
physics = s
anim = ifelse(random<=500,1400,1401,1402,1403,1404,1405,1406,1407,1408)
ctrl = 0
velset = 0,0

So, what is wrong between 2 alt anims and 8 there ? Is it the "500" what is the problem there ?
Back to top Go down
http://tradtmugen.blogspot.fr/
Shining

Shining


Posts : 4939
Join date : 2013-03-26
Age : 44
Location : Italy

Alternative animations for the same attack Empty
PostSubject: Re: Alternative animations for the same attack   Alternative animations for the same attack EmptySeptember 13th 2024, 2:44 am

I think you should have new codes (even similar codes but different numbers referring to those animations) for each animation...then you should have new codes for commands referring to those animations
Back to top Go down
Tradt-Production

Tradt-Production


Posts : 240
Join date : 2014-11-15
Age : 33
Location : France

Alternative animations for the same attack Empty
PostSubject: Re: Alternative animations for the same attack   Alternative animations for the same attack EmptySeptember 13th 2024, 2:58 am

Saddly, I do not have this level of coding on characters.
My knowedge is pretty basic in this category Sad
Back to top Go down
http://tradtmugen.blogspot.fr/
Shining

Shining


Posts : 4939
Join date : 2013-03-26
Age : 44
Location : Italy

Alternative animations for the same attack Empty
PostSubject: Re: Alternative animations for the same attack   Alternative animations for the same attack EmptySeptember 13th 2024, 6:53 am

Try to make a simple special starting to Copy an existing code special
1.make animation and give It a specific number and save in .air file
2.copy the code of your preferred special and try to insert the specific number of that animation and save in .cns or .st file
3. Copy the command code of your preferred special and insert the specific number of the referring code And save in .cmd file

Rember there are relations into Number of animation , Number of code and number of command
Back to top Go down
Sponsored content





Alternative animations for the same attack Empty
PostSubject: Re: Alternative animations for the same attack   Alternative animations for the same attack Empty

Back to top Go down
 
Alternative animations for the same attack
Back to top 
Page 1 of 1
 Similar topics
-
» I need help with animations sprites
» How do I add GIF animations in here or when answering someone in MMV?
» JUSTICE LEAGUE ALTERNATIVE FAKES
»  two KO animations at once
» Dc Black Lightning mugen char WIP by RenatoNato sprites Deanjo2000

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen Related :: Mugen Help-
Jump to: