Skip to content

Getting Started

Jesus Bracho edited this page Jun 8, 2022 · 21 revisions

Getting Started Fast

  1. In Edit > Project Settings > Input > Default Classes ensure that your input classes are using the Enhanced Input plugin classes.

image

  1. Simply set the current level's World Settings > GameMode Override to BP_OpenRTSGameMode, this will set the default player pawn to be the RTS Camera

image

  1. Drag in a RTSCameraBoundsVolume to your scene

image

Getting Started Normally

  1. In Edit > Project Settings > Input > Default Classes ensure that your input classes are using the Enhanced Input plugin classes.

image

  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