From aca7c95a05f995d762099de39cb1566783bb0d0c Mon Sep 17 00:00:00 2001 From: mand1nga Date: Sun, 11 Apr 2010 10:38:00 +0000 Subject: [PATCH] (Commit created by redmine exporter script from page "Music" version 13) --- Music.textile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Music.textile b/Music.textile index 0106686..dd1be42 100644 --- a/Music.textile +++ b/Music.textile @@ -65,4 +65,15 @@ h2. References ** Rosegarden http://www.rosegardenmusic.com/ ** http://linux-sound.org/ -* Howto's +h2. Howto's + +h3. How to add a sound track to Xonotic ? + +* Copy the track file to the _data/sound/cdtracks_ folder +* Add the name of the track (without the extension) at the end of the cvar _g_cdtracks_remaplist_, on the file _defaultXonotic.cfg_. Count all tracks and remember the position of the added one, this information will be used on the following step. +* Open the file .mapinfo (_on data/xonotic-maps.pk3dir/maps_) and add a line with the text "cd loop x". This x should be the position of the track within the cvar _g_cdtracks_remaplist_. + +h3. How to add a sound track to a non official map? + +* Copy the track to the folder _sound/cdtracks/_ (inside the pk3 file) +* Open the file _.mapinfo_ and add a line with the text "cd loop " -- 2.39.2