Capstone: Month 2 Week 3

This post covers the 7th week of our Capstone project.

This Week’s Tasks

This week I was tasked with:

  • Swapping in Production Models
  • Jetpack Fuel System & HUD
  • Keycard Access System

For the purposes of this post, I will be focusing on Swapping in Production Models

Swapping in Production Models

The majority of my time spent this week was on finding appropriate models to swap for the developer art that I had previously used. This included things such as:

  • Zombie Model + Animations
  • Pulse Rifle
  • Grenade Launcher + Ammo
  • Missile Launcher + Ammo

The most interesting of these is the Zombie due to the aniamtions. While the asset included both the model and the animations, they were set up for the legacy unity animation system. To be able to use them in our project, I had to create the Animator Controller myself. This includes rules for when to transition between animations and how they blend. After creating this controller, I had to hook into the Animator in the ZombieEnemy’s code, which indirectly controls the animations via setting variable values on the Animator component. These variables include things such as a light attack trigger, heavy attack trigger, death boolean, walking boolean, and so on. The controller is then able to determine the correct animation to be played at any time.