]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
minor fixes/improvements
authorterencehill <piuntn@gmail.com>
Mon, 22 Apr 2019 12:47:15 +0000 (12:47 +0000)
committerterencehill <piuntn@gmail.com>
Mon, 22 Apr 2019 12:47:15 +0000 (12:47 +0000)
Programming-Tips.md

index f2bbb41a2b69ced18593d5fc25838055cdd8f143..c9446f6b789045f03c174fc0012364cbb6ee8530 100644 (file)
@@ -8,10 +8,10 @@ You can draw text anywhere on the map using `debug_text_3d(world_coords, message
 
 If you need 2 players for debugging, you can launch another client locally:
  - use -sessionid (e.g. `./all run -sessionid testing`) to keep your config
- - use -userdir (e.g. `./all run -userdir ~/.xonotic-testing +name tester +cl_allow_uid2name 0`) to get a clean config (`+` sets cvars to avoid annoying popups)
+ - use -userdir (e.g. `./all run -userdir ~/.xonotic-testing +name tester +cl_allow_uid2name 0`) to get a clean config (`+cl_allow_uid2name 0` to avoid an annoying popup). You can set whatever cvar on start with `+cvar_name value`.
 
 ### Testing with bots
 
-You can prevent bots from firing (`bot_nofire 1`) or stop them completely (`bot_cmd * pause`). With `sv_cheats 1` (takes effect next match), you can drag them around (default V or drag object in menu).
+You can prevent bots from firing with `bot_nofire 1` or stop them completely with `bot_cmd * pause` (unstop them with `bot_cmd * continue`). With `sv_cheats 1` (takes effect next match), you can drag them around (default key V or 'drag object' in menu).
 
 Note that `sv_cheats 1` prevents bots from spawning in the campaign (should you decide to put it in your `autoexec.cfg` and later wonder why the campaign is broken).