From: terencehill Date: Mon, 22 Apr 2019 12:47:15 +0000 (+0000) Subject: minor fixes/improvements X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic.wiki.git;a=commitdiff_plain;h=e3b8fae255d82d05d29e5c1e2af5ea904e01f108 minor fixes/improvements --- 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).