Bonus tank abilities

The sample project also includes three bonus tank abilities for you to play with. Of course, you are highly encouraged to modify these abilities or implement your own custom rules, but for the sake of spicing up the example a bit, all you have to do is add the component for each ability you want to add to the tank prefab.

The bonus abilities are:

  • Hulk mode: Your tank grows in size for a set amount of time. Want a challenge? Implement a health and armor system similar to our HomeRock example from Chapter 6, Behavior Trees, and have the buff be represented visually by this ability!
  • Shrink mode: It's the opposite of hulk mode, duh! Your tank shrinks for a set period of time. If you're feeling up to the task, try implementing ...

Get Unity 2017 Game AI Programming - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.