Running mobs over
For now I'm in process of adapting the mobs to attack mode. This adaptation includes some adjustments to assets, setting up AI and state machines, as well as adding a bunch of new animations. Animations are required mainly for interaction with the tank, and that's what I got to show today. In general, mobs colliding with tank behave in a similar way to movable objects - the tank simply drags them along until they die, forcing them to use new animations both in the process of dragging and in the process of dying. The damage dealt depends on the speed and weight of the tank; the tank itself also receives damage and slows down according to the weight of the mobs being dragged.
But there are also differences - if a mob manages to get off the tank, it continues its combat activity, whether it's simply running away or using range attacks. If the tank overtakes a fleeing mob instead of running it over, it'll turn and rush in the opposite direction, towards the almost guaranteed escape from the dwarf’s wrath.
1708866600