#6 Big Game Project | Abilities and loadout
|
Hello again! During the past week I have mainly been working on abilities and a loadout building, I have also been tinkering with some smaller stuff like particle effects when shooting, cutting wood/stone. In order to create the abilities in our game I had to redo our weapon system. Previously a settler was only assigned a role, either melee or ranged. And there was a set value of damage and range depending on which role. Now I have created a weapon system so that each weapon can be unique with range, damage, attack speed etc. Because our equipment in the game was not only weapon I counted everything as an Item and all the weapons were just an extension from that. Each item has an ability that can be activated. An example is our sledge hammer, it has an ability to slam the ground knocking back and damaging enemies. You can activate an ability by targeting a settler and clicking his item in his inventory, when the ability is selected an area of effect where the ability will happen appears, the player can then aim and click one more time to execute the ability. In order to equip different weapons and items we created a loadout building, this building is where the player enters to change which equipment a settler has before visiting the dangerous jungle.
Picture of me targeting the whirlwind ability, in the lower left i have chosen Märtas ability by clicking the machete icon above her portrait. The loadout building is also shown on the left. |
