| How to have more than one song in your stages | |
|
|
Author | Message |
---|
Mega_Man
Posts : 148 Join date : 2016-01-23
| Subject: How to have more than one song in your stages December 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. | |
|
| |
Mistah Jorge
Posts : 2356 Join date : 2013-07-04 Age : 26 Location : Portugal
| Subject: Re: How to have more than one song in your stages December 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 The thing is, you just cannt directly code into a stage two songs, so you used characters instead, nicely done | |
|
| |
Mega_Man
Posts : 148 Join date : 2016-01-23
| Subject: Re: How to have more than one song in your stages December 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
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. | |
|
| |
Mistah Jorge
Posts : 2356 Join date : 2013-07-04 Age : 26 Location : Portugal
| Subject: Re: How to have more than one song in your stages December 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 | |
|
| |
Mega_Man
Posts : 148 Join date : 2016-01-23
| Subject: Re: How to have more than one song in your stages December 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. | |
|
| |
Mistah Jorge
Posts : 2356 Join date : 2013-07-04 Age : 26 Location : Portugal
| Subject: Re: How to have more than one song in your stages December 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? | |
|
| |
Mega_Man
Posts : 148 Join date : 2016-01-23
| Subject: Re: How to have more than one song in your stages December 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. | |
|
| |
Mistah Jorge
Posts : 2356 Join date : 2013-07-04 Age : 26 Location : Portugal
| Subject: Re: How to have more than one song in your stages December 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 | |
|
| |
Werewood
Posts : 5691 Join date : 2014-08-11
| Subject: Re: How to have more than one song in your stages December 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. 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.... By the way, a small MUGEN Q&A: the PlaySnd channel = ## => ## can only take up to the value of 31 (MUGEN1.0) | |
|
| |
Sponsored content
| Subject: Re: How to have more than one song in your stages | |
| |
|
| |
| How to have more than one song in your stages | |
|