From 7c5a48d328b35f6fd60a9ef5583085bfcba9d5de Mon Sep 17 00:00:00 2001
From: lL1l1 <82986251+lL1l1@users.noreply.github.com>
Date: Sun, 12 Jan 2025 22:59:30 -0800
Subject: [PATCH 1/4] Add new unit-related development tips
---
docs/development/developmentEnviroment.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs/development/developmentEnviroment.md b/docs/development/developmentEnviroment.md
index 6804826dfc..604551ce5c 100644
--- a/docs/development/developmentEnviroment.md
+++ b/docs/development/developmentEnviroment.md
@@ -198,6 +198,11 @@ Helpful hotkeys and resource you can use in game
- ~ to Open the Console
- In the Console run `ren_ShowNetworkStats` for the sim rate / package drops, on the top right
- In the Console run `ShowStats` for engine stats, on the left
+- Use Ctrl + Shift + C to copy selected units to the clipboard, so that you can spawn them again ("paste" them) with Ctrl + Shift + V.
+ - In general, Ctrl + Shift + V runs Lua UI code from your clipboard.
+- In the Console run `SimLua` with Lua code to test Sim code, and `UI_Lua` to test UI code.
+- The Sim-side global function `SelectUnit()` gives the sim-side of the currently selected unit; useful for testing scripts or logging information.
+- In the Console run `ui_SelectAnything` to be able to select enemy units; useful for copying test scenarios or debugging selected units.
## Frequently asked Questions (FAQ)
From efd23544c896c38070eabf34d858f5b2465dd102 Mon Sep 17 00:00:00 2001
From: lL1l1 <82986251+lL1l1@users.noreply.github.com>
Date: Sun, 12 Jan 2025 22:59:57 -0800
Subject: [PATCH 2/4] Update phrasing of old tips
---
docs/development/developmentEnviroment.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/development/developmentEnviroment.md b/docs/development/developmentEnviroment.md
index 604551ce5c..344f1d6b4f 100644
--- a/docs/development/developmentEnviroment.md
+++ b/docs/development/developmentEnviroment.md
@@ -193,11 +193,11 @@ Where the addition operator should be interpreted as appending one text (source)
Helpful hotkeys and resource you can use in game
-- Alt + F2 to invoke the unit spawning page, great for making units for free or taking control of an AI.
+- Alt + F2 to show the unit creation dialog, great for cheating in units or taking control of an AI.
- F9 to open the log window if you close it or it's not open for whatever reason.
-- ~ to Open the Console
-- In the Console run `ren_ShowNetworkStats` for the sim rate / package drops, on the top right
-- In the Console run `ShowStats` for engine stats, on the left
+- ~ to Open the Console.
+- In the Console run `ren_ShowNetworkStats` for the sim rate / package drops, on the top right.
+- In the Console run `ShowStats` for engine stats, on the left.
- Use Ctrl + Shift + C to copy selected units to the clipboard, so that you can spawn them again ("paste" them) with Ctrl + Shift + V.
- In general, Ctrl + Shift + V runs Lua UI code from your clipboard.
- In the Console run `SimLua` with Lua code to test Sim code, and `UI_Lua` to test UI code.
From 6ff8c5cee9929f57b55aa27e3df9bc9d19653263 Mon Sep 17 00:00:00 2001
From: lL1l1 <82986251+lL1l1@users.noreply.github.com>
Date: Sun, 12 Jan 2025 23:00:43 -0800
Subject: [PATCH 3/4] Update setup-english.md
---
setup/setup-english.md | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/setup/setup-english.md b/setup/setup-english.md
index 6110f2b8ea..2c40b8462c 100644
--- a/setup/setup-english.md
+++ b/setup/setup-english.md
@@ -182,11 +182,16 @@ Tips
Helpful hotkeys and resource you can use in game
-* Alt + F2 to invoke the unit spawning page, great for making units for free or taking control of an AI.
-* F9 to open the log window if you close it or it's not open for whatever reason.
-* ~ to Open the Console
-* In the Console run `ren_ShowNetworkStats` for the sim rate / package drops, on the top right
-* In the Console run `ShowStats` for engine stats, on the left
+- Alt + F2 to show the unit creation dialog, great for cheating in units or taking control of an AI.
+- F9 to open the log window if you close it or it's not open for whatever reason.
+- ~ to Open the Console.
+- In the Console run `ren_ShowNetworkStats` for the sim rate / package drops, on the top right.
+- In the Console run `ShowStats` for engine stats, on the left.
+- Use Ctrl + Shift + C to copy selected units to the clipboard, so that you can spawn them again ("paste" them) with Ctrl + Shift + V.
+ - In general, Ctrl + Shift + V runs Lua UI code from your clipboard.
+- In the Console run `SimLua` with Lua code to test Sim code, and `UI_Lua` to test UI code.
+- The Sim-side global function `SelectUnit()` gives the sim-side of the currently selected unit; useful for testing scripts or logging information.
+- In the Console run `ui_SelectAnything` to be able to select enemy units; useful for copying test scenarios or debugging selected units.
Frequently asked Questions (FAQ)
--------------------------------
From 55ea477e573468ba5f7f27edf8ec7236c6f1e337 Mon Sep 17 00:00:00 2001
From: lL1l1 <82986251+lL1l1@users.noreply.github.com>
Date: Tue, 14 Jan 2025 01:11:01 -0800
Subject: [PATCH 4/4] Add `ui_DebugAltClick` tip
---
docs/development/developmentEnviroment.md | 1 +
setup/setup-english.md | 1 +
2 files changed, 2 insertions(+)
diff --git a/docs/development/developmentEnviroment.md b/docs/development/developmentEnviroment.md
index 344f1d6b4f..62d3e0ae66 100644
--- a/docs/development/developmentEnviroment.md
+++ b/docs/development/developmentEnviroment.md
@@ -203,6 +203,7 @@ Helpful hotkeys and resource you can use in game
- In the Console run `SimLua` with Lua code to test Sim code, and `UI_Lua` to test UI code.
- The Sim-side global function `SelectUnit()` gives the sim-side of the currently selected unit; useful for testing scripts or logging information.
- In the Console run `ui_SelectAnything` to be able to select enemy units; useful for copying test scenarios or debugging selected units.
+- In the Console run `ui_DebugAltClick` to be able to quickly switch armies by Alt + left-clicking a unit in the army you want to switch to.
## Frequently asked Questions (FAQ)
diff --git a/setup/setup-english.md b/setup/setup-english.md
index 2c40b8462c..909841b6bf 100644
--- a/setup/setup-english.md
+++ b/setup/setup-english.md
@@ -192,6 +192,7 @@ Helpful hotkeys and resource you can use in game
- In the Console run `SimLua` with Lua code to test Sim code, and `UI_Lua` to test UI code.
- The Sim-side global function `SelectUnit()` gives the sim-side of the currently selected unit; useful for testing scripts or logging information.
- In the Console run `ui_SelectAnything` to be able to select enemy units; useful for copying test scenarios or debugging selected units.
+- In the Console run `ui_DebugAltClick` to be able to quickly switch armies by Alt + left-clicking a unit in the army you want to switch to.
Frequently asked Questions (FAQ)
--------------------------------