Announcement

Collapse
No announcement yet.

MIDI support

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MIDI support

    I was wondering how to load music up in FTEQW, and if there would be any chance of MIDI playback support. How difficult would something like this be to implement? How would one go about defining what to load when you open a map, whether it be in QuakeC or the map itself?
    Quake is for nerds.

  • #2
    .ogg is supported (with appropriate 3rd-party support dlls)
    .mp3 is supported (if run on windows, using the system codec)
    .wav... yeah, well, it works even if its somewhat huge.

    if your mod has the file 'sound/cdtracks/track002.ogg', then you can use good ol' svc_cdtrack to start playing it (typically done via the sounds field of worldspawn).
    note that you can also use the 'cd remap 2 foobar.ogg' to remap a cd track number to a specific filename.
    it is also possible to stuffcmd the 'music' command, which allows you to directly name an initial track and a looped track.
    it is not currently possible to cross-fade music.
    Some Game Thing

    Comment

    Working...
    X