top of page

The Negotiators

Main attributes

  • AI Controller

    • Enemies handled with a Behaviour Tree​

  • Spawner system

    • Entity export from Unity to our own engine​

Level3-ezgif.com-video-to-gif-converter.gif
ddd.png

Behavior Tree

For this game, I structured the AI using our behaviour tree (made by Emil Olofsson), using selectors, decorators and leaf nodes that I implemented.

​

The enemies were made to stay in idle until they got alerted and after that, find line of sight, come within range, and then either shoot or walk sideways.

​

I added a random selector node to make sure it was random whether they shoot or walk sideways, and adjusted it so it was less likely for the enemies to do the same action twice.

Spawner system

In earlier game projects I exported the player seperately from how the enemies were exported. So this time we decided to try and handle all entities even more equally in the export from Unity to our engine, in order to make it easier knowing things like transforms and materials in the engine.

​

This system also made it easier spawning enemies and pickups at the developers desire.

Skärmbild 2024-03-28 124158.png
HealthPickup-ezgif.com-video-to-gif-converter.gif
PistolPickup-ezgif.com-video-to-gif-converter.gif

Pickups

For this game we needed two kinds of pickups, one that would restore health,

 

 

and one that upgrades the player by giving it another weapon to shoot from.

​

​

Diplomat death

We had an event in the beginning where the player is trying to negotiate peace with a diplomat that goes terribly wrong, and player ends up having to shoot the diplomat.

I took the liberty and implemented the animations and features of the diplomat interaction, which included locking player movement until the diplomat is dead.

DiplomatDie-ezgif.com-video-to-gif-converter.gif
bottom of page