From: LegendaryGuard Date: Thu, 25 Jun 2020 17:08:31 +0000 (+0000) Subject: Update Nades, added nades source code link X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=97b0639c67d9fb9521f486df4c3ffb8ef51e0b88;p=xonotic%2Fxonotic.wiki.git Update Nades, added nades source code link --- diff --git a/Nades.md b/Nades.md index f86bdb2..4301155 100644 --- a/Nades.md +++ b/Nades.md @@ -88,7 +88,7 @@ Spawns all of the above and a marine at random. **More info about monsters are in [this link](Monsters).** -## Notes for players and developers +## Notes for developers If you are creating a server for yourself, to play with the nades, you need to activate the nades and it is recommended to set those variables: @@ -124,10 +124,12 @@ If you are creating a server for yourself, to play with the nades, you need to a `set g_nades_ice_freeze_time 2 // How long the ice field will last` -`set g_nades_ice_health 1 // How much health the player will have after being unfrozen` +`set g_nades_ice_health 1 // How much health the player will have after being unfrozen` -`set g_nades_ice_teamcheck 0 // Don't freeze teammates` +`set g_nades_ice_teamcheck 0 // Don't freeze teammates` -`set g_nades_ice_explode 1 // Whether the ice nade should explode again once the ice field dissipated` +`set g_nades_ice_explode 1 // Whether the ice nade should explode again once the ice field dissipated` -After setting all this, it can be necessary to restart the server, use `restart` command to apply the changes. Instead doing this manually, you can put those variables in a *.cfg* file. Save the variables inside *nades.cfg* empty file and save it in *xonotic/data* folder. In the game, when you are playing in your own server, execute in the console: `exec nades.cfg` and restart if it's necessary. \ No newline at end of file +After setting all this, it can be necessary to restart the server, use `restart` command to apply the changes. Instead doing this manually, you can put those variables in a *.cfg* file. Save the variables inside *nades.cfg* empty file and save it in *xonotic/data* folder. In the game, when you are playing in your own server, execute in the console: `exec nades.cfg` and restart if it's necessary. + +Nades source codes are in this [directory](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/tree/master/qcsrc/common/mutators/mutator/nades). \ No newline at end of file