Skip to content

Getting Started

Jesus Bracho edited this page May 7, 2022 · 21 revisions
  1. Create a new blueprint subclassing BP_OpenRTSCamera

image

  1. Create a new blueprint subclassing BP_OpenRTSGameMode or create your own game mode! All that matters is that you set the Default Pawn Class in the game mode to your camera class.

image

  1. Set the default game mode in your project settings

image

  1. Drag and drop a Player Start actor somewhere in the world, make sure it's near to the ground!

image

image

  1. In BP_YourCamera, set the input mapping context to the provided IMC_InputRTSCameraInputs. Now you should be able to move the camera around!

image

  1. (Optional) If you want to customize the inputs, copy IMC_OpenRTSCameraInputs or create a new Input Mapping Context data asset and update the reference. You'll need to provide bindings for the input actions in the OpenRTSCamera Content > Inputs folder.

image

Clone this wiki locally