Hi there, I've been working on a game prototype for some time and was interested in finding out if a cover system like the one in XCOM games would be possible in Ork Framework in its current state. The game is turn-based in grids and uses a modified version of d&d combat rules, so combatants being able to detect in which squares they have cover and if that cover is being flanked by an enemy would be inmensely helpful. Any advice?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
You can give bonuses (or do other stuff) via the Cell Events (e.g. adding a cover status effect).
Basing this on direction or position to enemies isn't possible, although you might be able to do it using a game event as a cell event (but that wouldn't update if e.g. an enemy moves).
Also, letting AI controlled combatants know about cover to move into cover could be done via having cover cells (grid cell type), as the AI can check for that and move to specific cell types (battle AI).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
The arrow attack would use line of sight, so a combatant behind a cover (i.e. a cell blocking line of sight) wouldn't be available as target.
The splash (i.e. affect range of the ability) wouldn't use line of sight and would hit everything within range. Naturally, you can also have the splash's range use line of sight :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
As for a built-in cover system - maybe that'll come sometime in the future, but I can't promise anything.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!