THE AI IS COMPLETE...ISH?

Unreal Engine AI Update

After hours of anguish, anger and still major issues with a log error that sometimes does / doesn't happen, the coding is done to a pretty decent deal.  But what does that mean mean for the end coding? 


The main coding part

The main code will do the following:

The Predator will walk between nodes in a sequence, the predator will wait for a random variable and then move to the next value.  The player if seen / heard will increase the status of the predator to make it into suspicious where the predator will walk / move to a last stimulus point of noise made.  The predator will wait and then after a duration move back to the patrol stage unless it hits a threshold where the player is seen for too long / made too much noise and the enemy will hunt the player.

The following is the main section of the blackboard. I am unhappy with the final design and there are many things that I am wanting to change.


The Patrol is in sequence, I do not want that

Currently the patrol points that are used work in a set sequence 1,2,3,4,5.  The idea is to set up a sequence of patrol points all over the map and to make the map sequence random.  The reasoning for this idea is to allow the random factor that'll be a massive improvement on the map that sequence patrols that can easily be exploitable.

Although, I can make it initially a random factor without the points, the problem seen with that is that the random factor of the locations seen in the places the AI walks to seem to be annoyingly small.  When testing it with the original random factor, the AI although given the whole testing area only stuck to one corner, this means that it could happen in actual game play and that is not worth the risk.

Footprint System Integration

The footprint system still needs to be made with a hidden volume, that being said it'll be easy to add in the volume within the blackboard for it to be detected by the AI for a last stimulus sight and for it to raise the awareness of the AI for the hunter to "stalk" it's prey.

This is the results so far

The following video show's the results so far with what the AI does, although not all parts are covered within the video with the sections seen, it is seen of the progress and how it increases / decreases over time.


Comments

Popular Posts