Those monsters are pretty much bosses, so I'm assuming you want pointers for a boss AI?
How I always do it for most of my enemy AI would be state systems.
Basically you'd have a controller object (in this case it'd likely be the monster object in question) that would call different scripts. These scripts you'd write as separate blocks of code that can be called upon at any time by the main controller object.
You'd have 'state' scripts for each action the monster could take, i.e. Idle state, Wander state, Chase the player state, attack the player state (this one could be any number of attacks that can be chosen randomly or in a pattern, it's up to you), and a recover state.
This list is non-exhaustive and you could have any number of different states, but those mentioned would be a good starting point in a basic monster/boss AI.
Hope that helps somewhat. You may decide to go a different route entirely, as there's so many different ways of writing enemy AI. This is just the one I use the most as it's really clean and also really easy to add more states (attacks or whatnot) later into development :D
Harder in a way, but that's not necessarily a bad thing.
From my understanding, behavior trees are just more advanced state systems.
You've still got states that you're swapping in and out, but this time they can branch off in different directions depending on certain factors that you set, instead of a set pattern/sequence that would be the case with a simple state system.
The actual logic behind it would be more complex yes, as there'd be more checks to do, multiple branches depending on how intelligent you want the AI to be, but the core concept of swapping states is the same.
This means you could also switch from a state system to a more advanced behavior tree midway through development. The thing you'd mostly need to change would be the controller object handling all the logic and calling the scripts. as all the actions would remain around about the same as before.
It honestly depends what you want. For a boss monster with complex AI and believable patterns, a behavior tree would be the way to go. However, since you could easily switch from a state system to a tree later down the line, there's no harm with starting off the AI as a few basic states, and then building it from there.
If our idea of procedural animation is the same, in that the animation would follow predefined rules, IK, etc. as opposed to animation keyframes or set animations, then no procedural animation shouldn't affect anything, as they're two separate things.
The only thing it would technically effect is *how* you call for different animations. Obviously in an idle state the character/monster would have an idle animation playing, but that would be different if the animations were procedurally created.
However that wouldn't change the core system, just how you handle animations in each state.
Mow Down! is the Multiplayer Versus Shooter/Zombie Shoot-Em-Up that I'm currently developing for Steam. The game has a complete Multiplayer Deathmatch experience where you can join up to 3 of your friends in an fast-paced, action-packed free-for-all.
The single player aspect of the game is also heavily underway in it's development, with a new devlog coming soon for the first zombies of the game.
For now, you can support the development of Mow Down! through my YouTube or my Twitter, both of which can be found below:
Those monsters are pretty much bosses, so I'm assuming you want pointers for a boss AI?
How I always do it for most of my enemy AI would be state systems.
Basically you'd have a controller object (in this case it'd likely be the monster object in question) that would call different scripts. These scripts you'd write as separate blocks of code that can be called upon at any time by the main controller object.
You'd have 'state' scripts for each action the monster could take, i.e. Idle state, Wander state, Chase the player state, attack the player state (this one could be any number of attacks that can be chosen randomly or in a pattern, it's up to you), and a recover state.
This list is non-exhaustive and you could have any number of different states, but those mentioned would be a good starting point in a basic monster/boss AI.
Hope that helps somewhat. You may decide to go a different route entirely, as there's so many different ways of writing enemy AI. This is just the one I use the most as it's really clean and also really easy to add more states (attacks or whatnot) later into development :D
Harder in a way, but that's not necessarily a bad thing.
From my understanding, behavior trees are just more advanced state systems.
You've still got states that you're swapping in and out, but this time they can branch off in different directions depending on certain factors that you set, instead of a set pattern/sequence that would be the case with a simple state system.
The actual logic behind it would be more complex yes, as there'd be more checks to do, multiple branches depending on how intelligent you want the AI to be, but the core concept of swapping states is the same.
This means you could also switch from a state system to a more advanced behavior tree midway through development. The thing you'd mostly need to change would be the controller object handling all the logic and calling the scripts. as all the actions would remain around about the same as before.
It honestly depends what you want. For a boss monster with complex AI and believable patterns, a behavior tree would be the way to go. However, since you could easily switch from a state system to a tree later down the line, there's no harm with starting off the AI as a few basic states, and then building it from there.
Hope that helps :D
If our idea of procedural animation is the same, in that the animation would follow predefined rules, IK, etc. as opposed to animation keyframes or set animations, then no procedural animation shouldn't affect anything, as they're two separate things.
The only thing it would technically effect is *how* you call for different animations. Obviously in an idle state the character/monster would have an idle animation playing, but that would be different if the animations were procedurally created.
However that wouldn't change the core system, just how you handle animations in each state.
Mow Down! is the Multiplayer Versus Shooter/Zombie Shoot-Em-Up that I'm currently developing for Steam. The game has a complete Multiplayer Deathmatch experience where you can join up to 3 of your friends in an fast-paced, action-packed free-for-all.
The single player aspect of the game is also heavily underway in it's development, with a new devlog coming soon for the first zombies of the game.
For now, you can support the development of Mow Down! through my YouTube or my Twitter, both of which can be found below:
YouTube Devlog #0: https://youtu.be/_cJcZ30dXkw
Twitter: https://twitter.com/penygem_
Thanks for reading!
Ahh yes I understand, that's a pretty good idea actually, would definitely make it less jarring when you get killed.
I'll put it on the to do list! :D