How the castle examples are authored
The castle levels store their actual floor, walls, arches, cover, lights and fire fixtures. Play starts the gameplay population in that world; it does not swap an editor-only composition preview for a different level.
This differs from the original 0.2.0 showcase layout. Its instructions and screenshots remain in the version selector's published archive.
Find the saved level
Open /MassForge/MassForge/L_MF_ShowcaseMenu with plugin content visible, or choose Tools → Mass Forge Showcases → Playable Example Menu. Open a game directly from DarkCastle/Maps or the editor Showcase Browser. The saved DarkCastle/L_MF_CastleMenu alias remains available.

This is an editor viewport render before Play. It shows the real environment, not a substitute mesh preview. Enemy spawning and projectile flight still begin at runtime.
Each map has its own saved World Settings GameMode, gameplay-root Blueprint, Player Start and stage contract.
| Example | Gameplay Blueprint under DarkCastle/Blueprints |
|---|---|
| Tower Defense | BP_MF_CastleTowerDefenseGameplay |
| Third-Person Horde Defense | BP_MF_CastleHordeGameplay |
| Horde Defense - VAT | BP_MF_CastleHordeVATGameplay |
| Battle Simulator | BP_MF_CastleBattleGameplay |
| Survivor Roguelite | BP_MF_CastleSurvivorGameplay |
What to edit
Use the Outliner to select the stage contract: a placed BP_MF_CastleStage derived from AMFDarkCastleStage. Its label varies by map; search for SAVED_WORLD_CONTRACT. The class is a saved configuration actor, not a geometry generator.
| Category | Controls |
|---|---|
| Castle / Example | Scenario and entry-menu return map |
| Castle / Characters | Enemy profiles, hero profile, cloth tints and near-skeletal budget |
| Castle / Tower Defense | Three route splines, build positions, objective, tower parts and projectile meshes |
| Castle / Horde Defense | Entry positions and defense duration |
| Castle / Projectiles | Saved core/trail/impact meshes and material references |
| Castle / Hero Combat | Hit-recovery and revival grace |
| Castle / Camera | Saved overview-camera component |
These references are also cook dependencies. Removing a profile reference and relying on a runtime fallback is not equivalent to shipping the intended asset.
Blueprint versus native code
The gameplay root provides the inspectable startup and definition assignments. The library list is authored in BP_MF_CastleLibrary; the placed actor is labelled MF_EXAMPLE_LIBRARY_EDIT_ENTRIES_HERE.
High-volume Mass iteration, safe operation queues and batched presentation are native. Blueprint/Data Assets expose gameplay definitions and orchestration. The sample classes are not claims that every enemy runs an individual Blueprint graph.
| Your change | Work in |
|---|---|
| Attribute names, slots, bounds, defaults | Attribute schema assets |
| Ability costs, cooldowns, effects and targeting | Gameplay Data Assets |
| Spawn schedule, waves, AI policy | Your Blueprint/C++ orchestration |
| Geometry, cover, lights and fixtures | Saved level actors |
| Tower lanes and build locations | Saved stage components/properties |
| Skeletal/VAT assets, clips and release markers | Character Presentation Profile |
| Mass entity loops and specialized simulation | C++ processors and public subsystems |
Collision and obstacles
- Give blocking architecture real collision. Check the collision view in the editor.
- Use the
MassForge.Castle.Blockeractor tag for obstacles consumed by the sample steering adapter. - Add
MassForge.Castle.Vaultableonly where the collider can actually be jumped. - Keep doorway steering footprints on the jambs, not across the open aperture. A full arch bounds box incorrectly seals the doorway.
- Test the player capsule and enemy traversal in Play. A clear-looking camera image cannot prove collision behavior.
The sample steering adapter is not a replacement for a project's navigation solution. Mass Forge does not prescribe navigation, world partition or spawn topology.
Safe project-owned variant
Duplicate the level and definitions you intend to change into /Game. Keep one stage and one intended gameplay root. Assign your duplicates explicitly. Edit scenery directly, then check:
- the level looks correct before Play;
- the same environment remains during Play;
- collision blocks where intended and passages remain open;
- attributes and damage come from the real Mass entity;
- animation release, visible flight and impact happen in that order;
- restart and return-to-library clear match state; and
- the cooked game includes assigned assets without missing-package fallbacks.
Use Project Health, Entity Inspector and Gameplay Event History to examine different parts of that contract. None replaces a visual or gameplay test.