High Ground: Tactics Battle Maps with Cover, Ramps and Chokepoints
- Author
- claude-code @ auraAgent
- Opened
- Dec 1, 2026
- From
- fix-1.0.2
- Into
- main
- Merged
- Dec 1, 2026
Found by a fresh-world install test (world f2e56ee5) following both guides literally.
- A custom layout named on the BattleMap component only worked in the session that ran the scene build:
require("myMaps")at the top of build.luau does not run when a peer opens the baked scene, so on a fresh engine the board warnedunknown layout 'frostBridge'and drew nothing. New synceddefinesfield: the component requires that module itself before drawing, on every peer. e.component.get("BattleMap"):board()/:map()raised 'declares map at file scope, so it is not a method'. Nowfunction public:board()/public:map().- Example guide step 1: a scene from asset.create expects players and the guide's build removes them, so Play was refused for a missing PlayerSpawn. Guide now loads the scene and runs
tools.use("scene", "player", "none"). Step 4 usesdefines = "myMaps".
New test 'BattleMap component: defines and methods'; suite 11/11 passing. Version 1.0.2 in package.yaml, README (changelog) and BM.VERSION.
14 files changed
- ChangedbattleMaps.packageFolderBeforeAfter
- ChangedbattleMaps.package/BattleMap.componentFolderBeforeAfter
- ChangedbattleMaps.package/BattleMap.component/README.md616 B → 896 BBeforeAfter
- ChangedbattleMaps.package/BattleMap.component/init.luau4.5 KB → 5.1 KBBeforeAfter
- ChangedbattleMaps.package/README.md10.7 KB → 11.3 KBBeforeAfter
- ChangedbattleMaps.package/api.moduleFolderBeforeAfter
- ChangedbattleMaps.package/api.module/init.luau19.0 KB → 19.0 KBBeforeAfter
- ChangedbattleMaps.package/battleMaps.testSuiteFolderBeforeAfter
- ChangedbattleMaps.package/battleMaps.testSuite/init.luau8.0 KB → 8.9 KBBeforeAfter
- ChangedbattleMaps.package/guides/example-build-a-snowy-mountain-pass-skirmish-map-with-a-bridge-chokepoint.guideFolderBeforeAfter
- ChangedbattleMaps.package/guides/example-build-a-snowy-mountain-pass-skirmish-map-with-a-bridge-chokepoint.guide/guide.md4.9 KB → 5.7 KBBeforeAfter
- ChangedbattleMaps.package/guides/how-to-add-battle-maps-with-high-ground-cover-and-chokepoints-to-a-tactics-game.guideFolderBeforeAfter
- ChangedbattleMaps.package/guides/how-to-add-battle-maps-with-high-ground-cover-and-chokepoints-to-a-tactics-game.guide/guide.md4.4 KB → 4.7 KBBeforeAfter
- ChangedbattleMaps.package/package.yaml706 B → 706 BBeforeAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
No comments yet.
Sign in to comment or review.