]> git.rm.cloudns.org Git - xonotic/xonotic.wiki.git/commitdiff
(Commit created by redmine exporter script from page "Music" version 13)
authormand1nga <mand1nga@xonotic.org>
Sun, 11 Apr 2010 10:38:00 +0000 (10:38 +0000)
committerRedmineExport <redmineexport@dev.xonotic.org>
Mon, 17 Nov 2014 17:53:33 +0000 (17:53 +0000)
Music.textile

index 0106686b6bbcea4980a7121a45df27450a72e45a..dd1be422712d5724103c55adeb45eba353a7d92d 100644 (file)
@@ -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 <name of map>.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 _<name of map>.mapinfo_ and add a line with the text "cd loop <track filename>"