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
» Meet Women Ready for Fun Tonight in Your Town
How to have more than one song in your stages Emptyby GTFoxN6Y Yesterday at 3:26 pm

» Lizard WIP
How to have more than one song in your stages Emptyby RenatoNat.J Yesterday at 2:51 pm

» Zatara The Master Magician WIP by RenatoNato
How to have more than one song in your stages Emptyby RenatoNat.J Yesterday at 1:12 pm

» MMV Halloween Event 2024 - Mandarin by McCready, Buyog, wil.li.an & Candido159 Release
How to have more than one song in your stages Emptyby spidergoku Yesterday at 12:08 pm

Special Features at MMV




Chat on MMV w/ Discord

Video Content Creation Reference
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 How to have more than one song in your stages

Go down 
3 posters
AuthorMessage
Mega_Man

Mega_Man


Posts : 148
Join date : 2016-01-23

How to have more than one song in your stages Empty
PostSubject: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 11th 2016, 1:20 pm

[video=youtube;iZztlKrYArI]https://www.youtube.com/watch?v=iZztlKrYArI&feature=youtu.be[/video]

What you need:

Fighter factory

A copy of two or more of your songs in a .wav file

Notepad
-------


Step 1: Go to your stage, erase whatever you have after bgmusic =

Step 2: Go to your common1.CNS File, open it with notepad or Fighter Factory

Step 3: Open up Common.Snd with Fighter Factory

Step 4: In Common1.cns go to the very bottom and add this:

[statedef-2]


[State -2, PlaySnd]
type = PlaySnd
triggerall = time = 0 && roundstate != 2 && !win && !lose
trigger1 = StageVar(info.name) = "Crusader City" ; Name of stage in between the quotation marks
value = F5001,random%2
volumescale = 2000 ;If your music is too loud.
persistent = 0
channel = -1
;lowpriority = -1
freqmul = 1.0
loop = 0
pan = 0
;-----------------

the numbers after F is the group of your song of choice. Make sure to add your music in chronological order in your common.snd (1,2,3,etc) and random%X will be the number of songs you want to be randomized. Please add your music to Common.snd or anything similar. Not all of your character's snd files. Replace Crusader City with the stage's display name.
Back to top Go down
Mistah Jorge

Mistah Jorge


Posts : 2356
Join date : 2013-07-04
Age : 26
Location : Portugal

How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 11th 2016, 3:44 pm

very cool, i like this aproach on this problem, this will be usefull in case anyone wants to make a sf3 full game project, thumbs up from me How to have more than one song in your stages 670481599
The thing is, you just cannt directly code into a stage two songs, so you used characters instead, nicely done
Back to top Go down
Mega_Man

Mega_Man


Posts : 148
Join date : 2016-01-23

How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 11th 2016, 3:53 pm

Mistah Jorge wrote:
very cool, i like this aproach on this problem, this will be usefull in case anyone wants to make a sf3 full game project, thumbs up from me How to have more than one song in your stages 670481599
The thing is, you just cannt directly code into a stage two songs, so you used characters instead, nicely done

I've used Common1.cns. There are some characters who have their own versions, but not necessarily do you have to code that in for EVERY character.
Back to top Go down
Mistah Jorge

Mistah Jorge


Posts : 2356
Join date : 2013-07-04
Age : 26
Location : Portugal

How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 11th 2016, 5:39 pm

imagine that a match happens between 2 characters that don't have that code... no bgm will be played because they simply don't have the code to do it
Back to top Go down
Mega_Man

Mega_Man


Posts : 148
Join date : 2016-01-23

How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 11th 2016, 5:44 pm

Mistah Jorge wrote:
imagine that a match happens between 2 characters that don't have that code... no bgm will be played because they simply don't have the code to do it
I think it would be more like the common1.cns in your data folder will use the music. Actually, if you think about it, those characters that use their own Common1.cns will have to rely on those who don't for the music to play.
Back to top Go down
Mistah Jorge

Mistah Jorge


Posts : 2356
Join date : 2013-07-04
Age : 26
Location : Portugal

How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 11th 2016, 6:25 pm

So there's a common1.cns file in data interesting, it must be some kind os template for common cns files, usable for characters, no?
Back to top Go down
Mega_Man

Mega_Man


Posts : 148
Join date : 2016-01-23

How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 11th 2016, 7:25 pm

A lot of people copy the Common1.cns from the data folder to their character and use it to edit their get hit states. Some would just copy it over for no reason.
Back to top Go down
Mistah Jorge

Mistah Jorge


Posts : 2356
Join date : 2013-07-04
Age : 26
Location : Portugal

How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 11th 2016, 8:10 pm

Mistah Jorge wrote:
imagine that a match happens between 2 characters that don't have that code... no bgm will be played because they simply don't have the code to do it
So, if they copy this into their character (there is a reason, this file is needed) then this point still stands the coding for the background music plays by the characters, at least it's my guess
Back to top Go down
Werewood

Werewood


Posts : 5691
Join date : 2014-08-11

How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages EmptyDecember 12th 2016, 8:56 am

While \data\common1.cns is a convenient place, putting a [Statedef -2] in \data\common1.cns is not quite appropriate because most MUGEN charactes' [Statedef -2] are located in their own MUGEN CNS files.......so, it results in that MUGEN charactes' CNS [Statedef -2] will override [Statedef -2] in \data\common1.cns...........also, some MUGEN charactes have their own custom common1.cns, so you may also need to edit their own custom common1.cns to match your MUGEN way. study

So, your MUGEN way seems to be a MUGEN full-game feature in which you still need to edit any MUGEN characters who have their own custom common1.cns and their own [Statedef -2] in their MUGEN CNS files.... How to have more than one song in your stages 3876111886

By the way, a small MUGEN Q&A:  the PlaySnd channel = ## => ## can only take up to the value of 31 (MUGEN1.0) Wink
Back to top Go down
https://onedrive.live.com/?cid=7DB65F02B0BBD12E
Sponsored content





How to have more than one song in your stages Empty
PostSubject: Re: How to have more than one song in your stages   How to have more than one song in your stages Empty

Back to top Go down
 
How to have more than one song in your stages
Back to top 
Page 1 of 1
 Similar topics
-
» 10 new Stages [Various Games] - Reached the mark of 400 converted stages Wohoo
» Angela Anaconda stages and Edtropolis updated + Three new stages
» Crushed the Mark of 700+ Stages (12 New SNES Stages)
» Stages: Stages has been updated, with 1.1 compatibles being added!
» Help, I need these Stages...Ayuda, necesito estos Stages

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