Physics Castle Builder
Destructible Wall PhysicsPhysics Castle Builder — v1.0.4
Build • Defend • Destroy
Physics Castle Builder is a BepInEx plugin for Totally Accurate Battle Simulator (TABS). It lets you build fortifications from individual stone bricks with Rigidbody and collider-based interactions. Structures can be supported, released, damaged, and brought down by physics.
Features
- Individual physics-based stone bricks.
- Building tools for bricks, walls, towers, platforms, stairs, and raised Archer Stands.
- Curved tower exteriors with crenellated battlements.
- Archer Stand with two supporting walls, a raised platform spanning the gap, and three-course crenellations along both long sides.
- Animated flags with manually selected Red or Blue colors.
- Structural support checks, localized siege damage, and explosive interaction that can affect multiple nearby bricks.
- TABS unit-placement compatibility for supported construction surfaces.
- Save and load for constructed structures.
- Automatic restoration of constructed structures after a TABS battle reset.
- Delete an individual constructed structure without clearing the other structures.
Requirements
- Totally Accurate Battle Simulator.
- BepInEx compatible with your TABS installation.
Installation
Thunderstore / mod manager
Install the package through your TABS mod manager.
Manual installation
- Make sure TABS has been launched with BepInEx installed at least once.
- Extract the package so the plugin is placed at:
BepInEx/plugins/PhysicsCastleBuilder/PhysicsCastleBuilder.dll - Launch TABS and check the BepInEx log for the plugin load message.
Do not install multiple copies of the plugin in different plugin folders.
Controls
| Control | Action |
|---|---|
| F8 | Toggle construction mode |
| F1 | Select individual brick |
| F2 | Select wall |
| F3 | Select tower |
| F4 | Select platform |
| F5 | Select stairs |
| F6 | Select Archer Stand |
| F7 | Select flag |
| Middle-click | Place the selected construction tool |
| Left-click | Remains available for normal TABS unit placement |
| Q / E | Rotate in 15-degree steps |
| R | Reset rotation |
| G | Release targeted brick to gravity physics |
| X | Remove targeted brick |
| Backspace | Remove the complete structure under the cursor |
| Delete | Clear constructed structures |
| Ctrl + S | Save structures |
| Ctrl + L | Load structures |
| F9 | Cycle construction collision layer |
| F10 | Write placement diagnostics to the BepInEx log |
| F11 | Switch manual flag color between Red and Blue |
Performance note
Occasional FPS stutters may happen when bricks fall, collide, and break apart into pieces. Large battles and many simultaneous falling bricks or fragments can be demanding. The mod prioritizes its established building, physics, and destruction behavior over untested performance changes.
Compatibility notes
- Explosive detection depends on the projectile objects recognized by the game. Some modded explosive prefabs may need separate compatibility work.
- This Thunderstore package contains the compiled plugin only. It does not include the Visual Studio development project or game-managed assemblies.
Note
This mod was created using AI. This is my first mod released to public.
