Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- import modifications.MusicMod;
- /**
- * ...
- * @author
- */
- public class M_WFTrainingMenu extends MusicMod
- {
- public function M_WFTrainingMenu()
- {
- //This value of this String is what you would use for the Character mod's variable "m_preferredMusicName"
- musicName = "WF Training Menu";
- //Create a new instance of the Sound object that has the music for the mod
- sourceSound = new BGM_WFTrainingMenu;
- //The text that the music player UI will display when this music is being played
- displayInfo = "Training Menu - Wii Fit";
- //Sets the start time to the closest value in milliseconds to 1584 samples, which is ~35.918 ms
- startTime = ConvertSamplesToMilliseconds(1584);
- // Loop point starts at 36 seconds
- startLoopTime = 36000; //36 seconds
- //By default the end loop point is -1, which means the end of the audio file. Since that's the intent in this case, no need to actually set a value for this.
- //endLoopTime = -1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment