top of page

Create Your First Project

Start adding your projects to your portfolio. Click on "Manage Projects" to get started

Nightwatch

Date

June 2025 - August 2025

Location

Full Sail University

Role

AI Programmer

During the project I've worked on many things such as
KnightAI,
MannequinAI,
WolfAI,
BruteAI,
Inventory Logic and UI,
Fear Factor

FULL DESCRIPTION BELOW

Game Mechanic
Inventory:
The player has an Inventory Component that does majority of the logic with add, removing and swapping. As of right now the logic of Equip, Use, Combine, Drop is in the UI and will be switched over soon.
The UI of the inventory is InventoryHUD that holds InventoryGrid. The InventoryGrid holds InventorySlot. The InventorySlot holds the Icon, Amount, EquipContext and EquippedOverlay. The EquipContext holds EquipSwitcher {Equip, Use}, Combine, Drop buttons that will dynamically update depending if the item uses the button.

Fear Factor:
The Player has the Fear Component that will increase and decrease the fear level. Depending on the on the fear level it will spawn in enemies that the players will also have to fight during the game. The higher the fear level the shorter the time intervals between each enemy spawn will be.


AI
General AI Functions:
All the AI will play a behavior tree called Standard. The Standard behavior tree will cause the AI to wonder around the map and when they target an enemy they will head to the target within a certain distance and attack the enemy. We can add a different behavior tree that will override the standard behavior tree. AI sight perception can be dynamically update when the AI is playing a different state, such as Investigate, Attack, Wonder.

KnightAI:
KnightAI will patrol between points, when they spot an enemy they will chase the enemy until they lose sights. Also, they have a hearing component so that they can hear items being thrown or gunshots and they will investigate the location.

MannequinAI:
MannequinAI will have an weeping angels movement effect, stop when the player looks at them and move when they are not being viewed. Also, if the player gets too close the the mannequin will will trigger the FreeDistance function. This will allow the mannequin to attack no matter if they are being looked at or not. The first attack is a grab and will hold the player for a set amount of time. They will play the Standard behavior tree. If they are targeting an enemy the mannequin will play the whispering cue sound effect. This will only happen when the player is being targeted, not being looked at and not within the FreeDistance.

WolfAI
Solo and Alpha wolf will also play the Standard behavior tree.
Follower wolf will follow behind the alpha and use the flocking behavior
When any of the followers or alpha wolf spots an enemy they will notify the rest of the pack about the enemy and will still use the flocking behavior so it will surround the enemy and then use a token system to attack the player. The token system will allow the wolf with a token to get close to the target and attack them then the wolf will return back into the flocking behavior. Then a new sets of wolf will gain the token and repeat. If the pack loses the alpha the next wolf in the array will become the alpha and the rest of the wolf will now follow that new alpha.

bottom of page