Infinity Damage – Kamikaze Enemy

 

I have created the first enemy type: a Kamikaze enemy. This enemy is just patrolling around but when player is inside sight radius (I have used a UPawnSensingComponent) he enters in crazy mode, ignites his bomb and runs towards the player.

Captura

 

When enemy is close the bomb explode and the enemy die (no damage to the player yet). I still have to decide some things like… if player jumps over the enemy he continues running until collision with something?? He should to stop and face the player??

Would be funny if player jumps over and the enemy runs to another enemy hehehe

Patrol time, distance to explode, bomb damage… all exposed to Blueprint of course.

Behaviour is so simple that I don’t use behaviour trees or FSM but this enemy inherited from a BaseEnemy class which is prepared for AIControllers, Blackboards and BT.

Next enemy probably will be another who patrol and shoot 😉

Bye!

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s