]> git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
Added "Loading the code you've just compiled" section
authorterencehill <piuntn@gmail.com>
Thu, 12 Dec 2019 13:56:13 +0000 (13:56 +0000)
committerterencehill <piuntn@gmail.com>
Thu, 12 Dec 2019 13:56:13 +0000 (13:56 +0000)
Programming-Tips.md

index b56c04dadf439a87a5b8650aa956e8fb58c3e92d..8f4798074c0cf3e853b2cbf302332f005d53d346 100644 (file)
@@ -1,3 +1,7 @@
+### Loading the code you've just compiled
+
+Once your QC code is compiled to progs.dat for server and csprogs.dat for client you don't need to restart Xonotic, it suffices to start a new map with `map XXX` (depending on how you launch Xonotic you may need to use `fs_rescan; map XXX`). For menu code you can restart the menu with `menu_restart`.
+
 ### Debug prints
 
 Use `con_notify 4` together with `LOG_INFOF("my_var: %s", my_var);` (`%s` string, `%f` float, `%d` integer, `%v` vector) to see debug output without opening the console. Type `con_notify` and press `<TAB>` to see descriptions and more options (or use `apropos con_notify`).