How to Implement Custom Camera?

Explain a little more about camera and controls in your game, what kind of game is it?

Hey Guys! I’m pretty new to unreal engine and I want to create an RTS style camera, I found atutorial on it by Pattym. I want to implement this tutorial in a top down template. Is there any specific changes I have to make?

For eg: it says you have to create a game mode for the camera, but if I do so. How will I control my character. I’m a bit confused here. So please help me out.

Thanks.

Its an RTS game.

In RTS the character that players control is camera it self, he is commander or god that controls the units on level or effect them from above, so playercontroller should possess the camera actor. For units you will need to implement seperete control system based selection and direction pointing, create array “selected units” and manage it conten depending what is selected and then send commends (using blueprint functions) to selected actors thru that array. I think the simples implementation for movment would be AI navigation systems for pathfinding o target point

Think more of creating framework (classes, functions etc.) for this then just thinking about the complete game

@anonymous_user_f5a50610 For now consider there is only one player. How can I control him to move to the click location.

Sorry for late reponce, RTS units usally work like AI ordered by player so you should look in to AI-like solution andm ake AI walk to specific point