DMC2 Easy
Author: | Rycon
|
Submitted: | 7th September, 2003
|
Views: | 5496
| Rated: |
|
|
Seems everybody wants to have better music in there games then Mids. Everybody knows to use DMC2 object for just that, but not everybody knows how to get started. And strangley, theres no DMC2 article saying how to use it. Below I will show how you can easily use DMC2 object. (Please note that I am writing this with experiance with the DMC2 object for MMF, im guessing TGF is the same.)
Playing a song:
First place the DMC2 object on the level (Duh)
Then in your events list:
Start of Level: Initialize Bass
Then when you want to start a song:
For an Mp3, go to STREAM, and then click OPEN.
In the field, type the song name. If it looks like this: Music.mp3 the song must be in the same DIR as the game your running. Other wise, you would do this: c:\my songs\song.mp3
Now just go to Stream, and then click PLAY stream. In the field, type 99. Now it will loop 99 times.
I have come across some rare Mp3s that refuse to play, so try another if it doesent work.
For MODs, just use Module instead of stream. And SAMPLE for wavs.
Now just remember to Terminate the Bass when you exit the game.
There are many things you can do with the DMC2 object, just dont be confused at all the buttons. For instance, you can easily make a volume control, by Always setting StreamVol to a counter, that you can edit by pushing up and down. 3 events. For now, I dont feel like explaining how to do every little feature, but its very simple once you know 'how to play a friggen song!?'.
|
|
Rycon
Registered 20/09/2002
Points 996
|