x

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"

What is the best way to have a large number of ai?

I was trying to think of a way to have a large number of AI on-screen at once, but would like a second opinion. I was thinking about having the AI have more detailed Behavior trees when they are by themselves, but when close to other AI they choose one of the AI to be the leader of the group, so they use a very simple behavior tree when following the leader, would this be a good way to go about doing it? If not I would very much appreciate any help I can get.

Product Version: UE 4.13
Tags:
more ▼

asked Sep 04 '16 at 09:19 PM in Blueprint Scripting

avatar image

Hafgren
21 3 7 9

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

1 answer: sort voted first

Hey Hafgren,

This is indeed a solid way of doing it, you will have to test a lot though because I have not seen anyone do it in Unreal yet :) I have done some tests myself and my frame-rate only drops when I have 150+ advanced individual AI's running around :p

You should take a look at this link: https://software.intel.com/en-us/articles/designing-artificial-intelligence-for-games-part-1/ There is also something described like a 'commander' AI leading other AI's like you are describing.

Good luck with your project, I am looking foreward to the results!
Elias

more ▼

answered Sep 05 '16 at 09:03 AM

avatar image

PasteDog
1.2k 24 16 53

(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