Music
From TM-Modding-Wiki
Music files should be MP3 files. The game has the ability to directly load MP3 files, which you will use to add new audio tracks.
MP3MusicTrack
XML
| Status
| Description
| Type
|
| Required
| Sets the MP3MusicTrack´s name for reference in other Assets; must be unique in the mod |
Tags
| Optional
| Sets the volume of the MP3MusicTrack | |
| Optional
| ||
| Optional
| ||
| Optional
| ||
| Optional
| ||
| Optional
|
|
Example MP3MusicTrack
<MP3MusicTrack id="BaseMP3MusicTrack"- Volume="40.0"
- ReverbEffectLevel = "0"
- DryLevel = "100"
- SubmixSlider = "MUSIC"
- Control = "ALLOW_KILL_MID_FILE"
- Priority = "CRITICAL" >
- </MP3MusicTrack>
- <MP3MusicTrack
- id="HKN_SCORE_SCREEN"
- inheritFrom="MP3MusicTrack:BaseMP3MusicTrack"
- Volume="70"
- Control="RANDOMSTART ALLOW_KILL_MID_FILE">
- <VolumeSliderMultiplier Slider="NONE" Multiplier="1.0" />
- <Filename>HKN_ScoreScreen_FILE</Filename>
- </MP3MusicTrack>
