Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to Implement Custom Camera?

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.


Product Version: Not Selected
more ▼

asked Sep 04 '14 at 09:25 AM in Blueprint Scripting

avatar image

208 29 35 44

avatar image Shadowriver Sep 04 '14 at 09:39 AM

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

avatar image Amaresh Sep 04 '14 at 09:40 AM

Its an RTS game.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Sep 04 '14 at 10:22 AM

avatar image

35.9k 928 169 1105

avatar image Amaresh Sep 04 '14 at 12:00 PM

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

avatar image Shadowriver Sep 17 '14 at 06:39 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question