I'm working on a combat scenario where the player summons monsters to fight for them. This is an early version of what I've got:
It's pretty functional, and does most of what I need it to do. Both "players" (enemy AI and human) summon monsters, and it looks the same. However, it actually works differently for the player and the AI.
The "enemy player" summons "enemies" in the database. This is nice and simple. This is using HIME's "Enemy Reinforcements" plugin.
The "player character" actually summons party members from the database that are dressed up to look like enemies, and auto-fight to act like enemies. This uses SRD's "SummonCore" plugin.
This works (as you can see), but it has two problems:
If I could summon "enemies" to fight for the player, it would immediately allow me to remove a lot of duplication and make things simpler.
It's pretty functional, and does most of what I need it to do. Both "players" (enemy AI and human) summon monsters, and it looks the same. However, it actually works differently for the player and the AI.
The "enemy player" summons "enemies" in the database. This is nice and simple. This is using HIME's "Enemy Reinforcements" plugin.
The "player character" actually summons party members from the database that are dressed up to look like enemies, and auto-fight to act like enemies. This uses SRD's "SummonCore" plugin.
This works (as you can see), but it has two problems:
- It creates a lot of duplication in the database, which is a real pain.
- Having both "enemies" and "actors" as "monsters" means I have a lot of duplicate logic for the states (this is the bigger problem I want to fix)
- Longer matches result in slowdown. I think this is because the game doesn't "clear away" player-party-members properly when they die, as the idea of continually summoning more and more party members probably wasn't accounted for in its design. (less of a problem as I'll just make the games shorter)
If I could summon "enemies" to fight for the player, it would immediately allow me to remove a lot of duplication and make things simpler.