Part 1 – How To Start Your RTS Game In Unreal Engine 5.6 (Project Setup + Enhanced Input)
Published: July 21, 2025 β’ Series: RTS Camera Series β’ Level: beginner
This is Rambod, and this is Part 1 of the RTS Camera Series.
Weβll set up a new UE5.6 project, create the RTS Player Pawn & Controller, configure Enhanced Input Mapping, and verify that everything is working before we move into camera movement in the next part.
By the end, youβll have a clean foundation for an RTS camera system.
1) Creating the Project
- Open the Unreal Project Browser.
- Under Games, choose the Blank template.
- Set the project type to Blueprint (all logic will be visual for accessibility).
- Name the project:
UE5RTSCameraTutorial. - Click Create.
π This keeps your project organized from the start.
2) Saving the Level
- Press Ctrl+S.
- Save the default level as MainMap.
- This will be our working map for the series.
3) Creating the RTS Player Pawn & Camera
- In the Content Browser, right-click β Blueprint Class β Pawn.
- Name it
BP_RTSPlayer. - Open it, then switch to the Viewport tab.
- Add a Spring Arm component.
- Add a Camera attached to the spring arm.
Camera settings:
- Spring Arm Rotation β Pitch = β50, Yaw = 45
- Target Arm Length β 1000
π This gives a clear angled view typical for RTS cameras.
4) Setting Up the Input System
- In the Content Browser, create a new folder called Input.
- Inside Input, create an Input Mapping Context asset.
- Remove the prefix βNewβ in the name.
- Inside the Input folder, create another folder called Actions.
- Inside Actions, create an Input Action asset named
IA_TestAction.- Open it and set Value Type = Digital (on/off button).
5) Binding the Test Action
- Open your Input Mapping Context.
- Add a new mapping.
- Set the action to
IA_TestAction. - Bind it to the S key.
π This is just for testing β later weβll add real RTS camera controls.
6) Creating the RTS Player Controller
- In the Content Browser, right-click β Blueprint Class β Player Controller.
- Name it
BP_RTSController. - Open it and go to the Event Graph.
Add Enhanced Input Logic:
- Place an Event BeginPlay.
- Add Get Enhanced Input Local Player Subsystem.
- Connect it to an Is Valid? node.
- From there, add Add Mapping Context.
- Assign your Input Mapping Context.
π This ensures your custom Input Context is activated when the game starts.
7) Creating the RTS Game Mode
- Right-click β Blueprint Class β GameModeBase.
- Name it
BP_RTSGameMode. - Open it and in Details:
- Default Pawn Class β
BP_RTSPlayer - Player Controller Class β
BP_RTSController
- Default Pawn Class β
Compile & Save.
8) Assigning the Game Mode
- In MainMap, go to World Settings (or toolbar β GameMode).
- Set the Active Game Mode to
BP_RTSGameMode.
9) Testing the Input
- Open
BP_RTSPlayer. - In the Event Graph, right-click β add your
IA_TestActionevent. - Connect it to a Print String node with text
"Test". - Compile & Save.
- Press Play.
- When you hit S on your keyboard, you should see
"Test"appear top-left.
β That confirms Enhanced Input is working correctly.
10) Subtitle Expansion (Full Tutorial Flow)
βLetβs set up our Unreal Engine project for the RTS Camera Series. Start with a Blank template, name it
UE5RTSCameraTutorial, and set type to Blueprint. Save the new level as MainMap. Create a Pawn called BP_RTSPlayer, add a Spring Arm + Camera, rotate to Pitch β50 and Yaw 45, and set Arm Length to 1000 for an RTS view. Next, make an Input folder with a Mapping Context and an Action named TestAction, set it to Digital, and bind to the S key. Create BP_RTSController (Player Controller). In Event Begin Play, get Enhanced Input Local Player Subsystem β IsValid? β Add Mapping Context. Then create BP_RTSGameMode, set Default Pawn = BP_RTSPlayer, Controller = BP_RTSController. Assign it in World Settings. Finally, in BP_RTSPlayer, add the TestAction event and Print String βTest.β When you press S in Play mode, the word appears, confirming Enhanced Input works. This wraps up Part 1: clean project, pawn, controller, game mode, input setup β ready for camera movement in Part 2.β
Wrap-Up
In Part 1 we:
- Set up the project & main map.
- Built the RTS Player Pawn with angled camera.
- Configured the Enhanced Input Mapping.
- Created the RTS Controller & Game Mode.
- Verified that input fires correctly in Blueprints.
π Next, in Part 2, weβll start implementing WASD camera movement.
π¦ Project repo: GitHub
π Docs: Enhanced Input Guide
π¬ Community: Discord
π More info: rambod.net RTS Camera Page