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"

How do I set a wandering actor to test all ground surface within visual radius to find a minimum area of flat space (or near to it)?

How do I set a wandering actor to test all ground surface within visual radius to find a minimum area of flat space (or near to it)?

I have an actor, who is happily trundling along in his cart (top down but free-look) view. and I want him to test the visible area around him for a series of priorities:

  1. Flat ground area of size x*y which we will call z.

  2. Water source distance from area z. If not in visible range then he doesn't find one and will need guidance.

  3. Resources within an area of a*b around z that contain resources such as rock, stone, food, gold, coal, animals, etc.

I've been trying to figure out how to use the EQS to do this but I can't get my head around it. I know it's just the first or second hurdle I need help with then I'll be able to run with it.

I also tried using AIBehaviourToolkit - but that seems to be staggeringly weak on options.

Please can someone help. I'm going crazy here.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 27 '18 at 08:13 AM in Blueprint Scripting

avatar image

Atonnis
48 11 13 17

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

1 answer: sort voted first

Well, you are right about using EQS, it is the solution to this problem. You need to create EQS contexts to return back to the EQS system the results of what your looking for and do tests on those results that in turn can make decisions based off of. EQS and AI is a complex topic and there is a lot to it, I would recommend first starting with learning the systems and how to use them with some tutorials found on epics youtube channel like this one:

https://www.youtube.com/watch?v=PgxuaTSkyu4&list=PLZlv_N0_O1gYraPmTbiWwAkpMxtkWOBag

Tom looman also has an amazing course that goes into AI:

https://www.tomlooman.com/

more ▼

answered Oct 27 '18 at 02:47 PM

avatar image

Steve SybrSyn
1.5k 4 5 10

avatar image Atonnis Oct 27 '18 at 10:48 PM

Ouch. Well, after spending 2 hours on the first 28 minutes of the first video I have a headache.

It's not difficult stuff, using the EQS, it's just finding the most cost effective and practical method for the specific task you are trying to do.

I can make people wander, I can make them starve, eat, grub on the floor for something to eat. I just can't seem to get them to find a flat area of ground. It's weird. Maybe I'm tired and my subconscious will spring up a result whilst I'm sleeping. I always keep a pen by my bed so I can scrawl on whatever is handy. I tried voice notes, but sleepy voice notes tend to be quite unintelligible.

(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