]> git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
rename all the configs
authorMartin Taibr <taibr.martin@gmail.com>
Sat, 17 Feb 2018 17:53:45 +0000 (18:53 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Sat, 17 Feb 2018 17:53:45 +0000 (18:53 +0100)
Custom-server-votes.md
Music.md
writing-your-first-mutator.md

index 45a6b047a4365987c7070c0b9d86bbfc31a8a40d..9dbff833113e49d7ce10ded1d3ced6439a4d0433 100644 (file)
@@ -12,15 +12,15 @@ Now players will be able to type `vcall bots` or `vcall nobots` which will start
 
 You can prefix the contents of an alias with `settemp` to make it be valid only for the current game. For example `alias nobots "settemp minplayers 0"`.
 
-Here's example that allows voting common server types assuming your `server.cfg` doesn't force them:
+Here's example that allows voting common server types assuming your `server.cfg` doesn't force them (you get infinite recursion if it does):
 
 ```
-alias vanilla "exec defaultXonotic.cfg; exec server.cfg; endmatch"
+alias vanilla "exec ruleset-xonotic.cfg; exec server.cfg; endmatch"
 addvote vanilla
 
-alias instagib "exec defaultXonotic.cfg; exec server.cfg; g_instagib 1; g_grappling_hook 1; endmatch"
+alias instagib "exec ruleset-xonotic.cfg; exec server.cfg; g_instagib 1; g_grappling_hook 1; endmatch"
 addvote instagib
 
-alias overkill "exec defaultOverkill.cfg; exec server.cfg; endmatch"
+alias overkill "exec ruleset-overkill.cfg; exec server.cfg; endmatch"
 addvote overkill
-```
\ No newline at end of file
+```
index c33620f5ee86c3034808971811fa737be7eec853..db447159ad47d4e26b6e376b4b0c409bf545a347 100644 (file)
--- a/Music.md
+++ b/Music.md
@@ -80,11 +80,10 @@ How-To’s
 **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.
+-   Add the name of the track (without the extension) at the end of the cvar `g_cdtracks_remaplist`, in the file `xonotic-common.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`.
 
 **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>`
-
index c8b80838b9107e4fa167c765308b37cc4a26a996..be571ac13dd02952300e0a0b3d85bf0857f408f7 100644 (file)
@@ -85,7 +85,7 @@ Now we need to build the QuakeC code. It is done using the `all` script:
 
 ## Step 6: Adjusting config files
 
-The last thing we need to do is to create our console variable `g_helloworld` in configuration file. The best file for it would be `defaultXonotic.cfg`. Mutator variables start around line 423:
+The last thing we need to do is to create our console variable `g_helloworld` in a configuration file. The best file for it would be `mutators.cfg`:
 
     set g_helloworld 0
 
@@ -187,4 +187,4 @@ Or less verbose:
     MUTATOR_HOOKFUNCTION(helloworld, Damage_Calculate)
     {
        M_ARGV(4, float) *= 2;
-    }
\ No newline at end of file
+    }