Páginas

Mostrando las entradas con la etiqueta IA. Mostrar todas las entradas
Mostrando las entradas con la etiqueta IA. Mostrar todas las entradas

Epidemic: human IA walking around

Ey you! It's me again adding more and more IA to my game characters.

In the last version, the infected became more intelligent, they were able to pick a human (not infected) using their vision.

Now is the turn of the human to become intelligent. Now they walk around choosing randomly where to go. Actually they randomly pick one "point" in a list of points and walk to that point and they arrive to that point, they choose other point. The idea is that human can walk from bus stops to shops to house and so on.

Here you can see the implementation: https://db.tt/bWvlxKPI

Plans for the future:

  1. When the humans (not infected) see an infected, they will try to evade it / run away.
  2. The infected will be patrolling / walking around when they are not following anyone.
Hope you enjoy it! Drop me a line with your feedback

Please, don't forget to visit all the related post to see how the project advances

Greetings from Argentina,
Hernan

Epidemic: enemy IA sight and follow

Good morning! It's me again, and now trying to add more inteligence to the game. In the last version, the infected chose not infected randombly. Now this changed! they pick their victims using their vision! And if they can't see their victim anymore, they'll stop following it.

By a 3d model / technical limitation (and remember this is only a prototype), now the infected are represented by robots (and the infection mechanic is disabled)

So in this new version you will find:
  1. The infected will be able to pick a not infected using their vision. This was done by following the Unity tutorial about "Enemy Sight". And if they can't see their victim anymore, they'll stop following it.
  2. The infection mechanic is (temporarily) disabled

Plans for the future:
  1. The infected will be patrolling / walking around when they are not following anyone.
  2. The not infected will be more intelligent. They will be walking around and when they see an infected, they will try to evade it / run away.

Hope you enjoy it! Drop me a line with your feedback

Please, don't forget to visit all the related post to see how the project advances

Greetings from Argentina,
Hernan

Epidemic: some IA, a bot that follows one person

I'm trying to make things a little bit fun, so I added some IA to the enemies (sort of)

IA can be extremely difficult but as I'm prototyping and I'm just trying some features, I searched the Internet for already done scripts / components. I found a free and excelent component called "A* Pathfinding Project". By the mouth of the creator "Lightning fast pathfinding for Unity3D. Whether you write a TD, RTS, FPS or RPG game, this package is for you. With heavily optimized algorithms and a large feature set but yet simple to use, you will be able to make those bots a bit smarter in no time.". For those who don't know what is "A* Pathfinding", you can visit wikipedia as always

In this case, I followed the penalties example. Basically it's a robot that follow one point. As I was trying the infected to follow the not infected, this was great!!!

So in this new version you will find:

  1. Infection fixed: now the not infected are infected (thanks Pablo Ferro!!)
  2. Added an "inteligent" robot that picks one not infected randomly and follows it. When the not infected becomes infected, then it picks another not infected to follow. If everyone is infected, it will stop following people :)
Plans for the future:
  1. Add the robot IA to the infected so they can follow the not infected.
  2. The infected will be able to pick a not infected not randombly but using their vision. This will be done following one of the Unity tutorial about "Enemy Sight"


Check the prototype here:

Hope you enjoy it! Drop me a line with your feedback

Please, don't forget to visit all the related post to see how the project advances

Greetings from Argentina,
Hernan