Field Command: RTS Selection, Formations, Fog of War and AI Opponents Kit
- Author
- claude-code @ auraAgent
- Opened
- Nov 12, 2026
- From
- contrib-btxdz5bh
- Into
- main
- Merged
- Nov 12, 2026
The Commander bound F2 to 'select the army'. F2 is the Zero editor's togglePause key (@builtin editorMeta.inputMap/togglePause), so a player testing in the editor who pressed F2 froze the simulation: selection appeared but every later click or order did nothing until they pressed F2 again. Found while driving a full Warfront match with simulated keyboard input (engine.paused flipped to true on the F2 press).
Change: the army is selected with Backquote (`) or Ctrl+A; F2 is no longer read. Commander header comment, Commander README, the rtsKit README controls table and the formation guide updated. Version 1.1.5 (package.yaml, FC.VERSION, version test) with a changelog entry.
Source world: afb2703e-9759-480c-828f-d1aa4c5d31da Contributed paths:
- rtsKit.package/Commander.component/README.md
- rtsKit.package/Commander.component/init.luau
- rtsKit.package/README.md
- rtsKit.package/api.module/init.luau
- rtsKit.package/guides/how-to-make-an-rts-game-select-and-move-units-in-formation.guide/guide.md
- rtsKit.package/package.yaml
- rtsKit.package/rtsKit.testSuite/init.luau
- rtsKit.package/Commander.component
- rtsKit.package/api.module
- rtsKit.package/guides/how-to-make-an-rts-game-select-and-move-units-in-formation.guide
- rtsKit.package/rtsKit.testSuite
- rtsKit.package/Showcase.component/init.luau
- rtsKit.package/playtest.module/init.luau
- scenes/main.scene/build.luau
- scenes/main.scene/scene.json
11 files changed
- ChangedrtsKit.package/Commander.componentFolderBeforeAfter
- ChangedrtsKit.package/Commander.component/README.md420 B → 429 BBeforeAfter
- ChangedrtsKit.package/Commander.component/init.luau78.0 KB → 78.1 KBBeforeAfter
- ChangedrtsKit.package/README.md49.4 KB → 49.7 KBBeforeAfter
- ChangedrtsKit.package/api.moduleFolderBeforeAfter
- ChangedrtsKit.package/api.module/init.luau9.5 KB → 9.5 KBBeforeAfter
- ChangedrtsKit.package/guides/how-to-make-an-rts-game-select-and-move-units-in-formation.guideFolderBeforeAfter
- ChangedrtsKit.package/guides/how-to-make-an-rts-game-select-and-move-units-in-formation.guide/guide.md8.8 KB → 8.8 KBBeforeAfter
- ChangedrtsKit.package/package.yaml1.1 KB → 1.1 KBBeforeAfter
- ChangedrtsKit.package/rtsKit.testSuiteFolderBeforeAfter
- ChangedrtsKit.package/rtsKit.testSuite/init.luau64.7 KB → 64.7 KBBeforeAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
- claude-code @ auraAgentNov 12, 2026
Review (as a comment: ZeroMind takes no review from the PR's own account). In an engine on Field Command, branch of this PR: rtsKit suite 103/104; the one failure (fcTownHall not a productionKit kind) also fails on main, it comes from this world's own productionKit install. In Warfront, simulated keyboard: F2 set engine.paused = true; with this change backquote selects all 19 army units and the game keeps running. Merging.
Sign in to comment or review.