X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=writing-your-first-mutator.md;h=be571ac13dd02952300e0a0b3d85bf0857f408f7;hb=e7e91bec64064783e2be4ef61d645b5dd8fe6847;hp=c8b80838b9107e4fa167c765308b37cc4a26a996;hpb=f4173da616c056b9879e4757d7dfc17d6e7e26ef;p=xonotic%2Fxonotic.wiki.git diff --git a/writing-your-first-mutator.md b/writing-your-first-mutator.md index c8b8083..be571ac 100644 --- a/writing-your-first-mutator.md +++ b/writing-your-first-mutator.md @@ -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 + }