From e3b8fae255d82d05d29e5c1e2af5ea904e01f108 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 22 Apr 2019 12:47:15 +0000 Subject: [PATCH] minor fixes/improvements --- Programming-Tips.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Programming-Tips.md b/Programming-Tips.md index f2bbb41..c9446f6 100644 --- a/Programming-Tips.md +++ b/Programming-Tips.md @@ -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). -- 2.39.2