Tactical Combat

For what's not in 'Top Priority Game Design'. Post your ideas, visions, suggestions for the game, rules, modifications, etc.
Post Reply
Message
Author
User avatar
Oberlus
Vacuum Dragon
Posts: 662
Joined: Mon Apr 10, 2017 4:25 pm

Tactical Combat

#1 Post by Oberlus » Mon Jul 02, 2018 11:14 am

I recently saw a mention to tactical combat in the forum.

I got curious and found the 0.4 Design Pad.

How much of that old design for combat system is still in place?
It depicts a 2D board-like game in which the fleets/ships can move. Allowing interactive battles of 5 to 10 minutes length (as sketched in that document) could be an interesting option, at least for single-player games as an option. I realise that is either discarded or planned only for long term (the child of someone over here could be the lead developer by then).
However, the automatic (non-visual, just the report of the result) version of that tactical combat system (or a similar one) would be really interesting and not so hard to get (maybe something near 0.5.* or 0.6.*).

Replacing my previous question with more specific ones:

1. Is it planned to add the Long Range (LR) class of weapons (e.g. missiles that target fighters/missiles, torpedoes that target capital ships, and bombs that target planet defenses)?

2. Is is planned to consider tactical movement? In the sense that different fleets in a battle can have different movements, e.g. to stay at a given range of a given group of enemy ships (to better exploit your weapon/defense choices against your enemy's) or to flee of combat if some condition is met.

3. Is it planned to allow the player to set more or less complex rules of behaviour to each of the fleets? For this we could have a lot of inspiration from Stars! (I found a link to an overview/FAQ of the combat system that I can't seem to find now). Or is it intended to let the fleets be mostly autonomous and allow only for some simple toggle options?

Ophiuchus
Vacuum Dragon
Posts: 505
Joined: Tue Sep 30, 2014 10:01 am

Re: Tactical Combat

#2 Post by Ophiuchus » Fri Jul 06, 2018 8:15 pm

Please read up the discussions on tactical combat.

Ill try to remember and sum it up: The current combat system is a placeholder for whatever will be the combat system in the future. Combat will be asynchronous (i.e. so you can send your orders and dont have to wait for the other clients); so turn based or real-time combat is off the table.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

User avatar
Oberlus
Vacuum Dragon
Posts: 662
Joined: Mon Apr 10, 2017 4:25 pm

Re: Tactical Combat

#3 Post by Oberlus » Sun Jul 08, 2018 11:53 am

Thank you, Ophiuchus. I did a better research now and found much more interesting discussion.

o01eg
Space Kraken
Posts: 140
Joined: Sat Dec 10, 2011 5:46 am

Re: Tactical Combat

#4 Post by o01eg » Tue Jul 10, 2018 7:18 pm

I have a most cons against tactical combat: it will increase number of interactions per turn for player. Currently the player could make all his orders and only wait for turn change (the game's mechanics allows even to disconnect the player, I'm going to work on the implementation).
Any tactical combat implementation requires more micromanagement and requires more interactions per turn.
Gentoo Linux x64, gcc-7.3, boost-1.65.0
Ubuntu Server 18.04 x64, gcc-7.3, boost-1.65.1
Welcome to multiplayer server at freeorion-test.dedyn.io.Version 2018-08-13.770ca38 0.4.8 pre-RC3
Donates are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

User avatar
Oberlus
Vacuum Dragon
Posts: 662
Joined: Mon Apr 10, 2017 4:25 pm

Re: Tactical Combat

#5 Post by Oberlus » Tue Jul 10, 2018 8:08 pm

o01eg wrote:Any tactical combat implementation requires more micromanagement and requires more interactions per turn.
Agree.
But would you like an implementation that only requires the player to set one or two toggles (like offensive/defensive) with it carrying over to following turns?
It if brings interesting design choices (what weapon, defense, engines, etc. to equip) and only require a toggle setting once in a while (maybe never if default value fits fine with your designs), I see great value and very little micromanagement involved. I mean, what I am imaging should require less effort than colonisation.

Just in case it wasn't clear in my initial post: tactical combat non-interactive (no graphics, no orders issued during combat, and only requiring to consider changing one or two toggles of your fleets during turn management, the same you consider switching the focus of a planet).

User avatar
Oberlus
Vacuum Dragon
Posts: 662
Joined: Mon Apr 10, 2017 4:25 pm

Re: Tactical Combat

#6 Post by Oberlus » Thu Jul 19, 2018 8:51 pm

I'm thinking about simple implementations for tactical combat that considers range and movement (non-interactive, non-visual, like current engine).

I do miss the range and movement concept on Free Orion: all ships can shoot all ships, ships are sitting ducks, there is no fleeing away, charging, etc. And I think it can be added to increase tactical choices in ship designs requiring very little input from player.


This thread by The Silent One presents a sketch of design for a tactical combat engine which includes aspects like accuracy, action points and initiative, but does not consider movement/position/speed/range.
http://www.freeorion.org/forum/viewtopic.php?f=6&t=9732

Also in this older thread Eleazar sketched a simpler combat system that considered tactical choices regarding movement (flee, defend, attack and charge) and ship's velocity, but didn't look at the range aspect (the different choices only affects length of combat and number of shots of the planets).
http://freeorion.org/forum/viewtopic.php?f=5&t=7750

I'm also inspiring myself on the combat engine of Stars! (thanks Jaumito for the briefings). I highly recommend reading this: http://www.starsfaq.com/battleengine.htm


WEAPONS AND RANGE

I'm discarding accurary of beam (SR) weapons in favor of maximum ranges and damage reduction over distance, and giving them a big revamp to make research choices more interesting and more lasting during late game. I'm considering as long range weapons the class "drones" (anti-ship torpedoes, anti-drone missiles, anti-ship "bombers" and anti-drone interceptors). I see these bombers and interceptors as autonomous drones, no "species" pilots in them. Mr. Fluff says you can't put a living thing in a "fighter" and catapult it towards the enemy at missile speed without squeezing it.

With deterministic targetting there is no cannon-fodder possible against SR weapons. So shields are the counter against SR and "fighters" are not it anymore.
Against LR weapons "interceptors" make sense as a kind of mobile PD platform, targetting incomming torpedoes or bomber from ahead the defending ship.
I revamped bombers as "plasma drones", they travel very fast to the enemy, traverses its shield, attach to its hull and uses plasma torches (that have very small range but very good damage) to tear the hull appart. Ignores shields.
Plasma drones and torpedoes must have different roles within its category. Plasma drones may be less letal and easier to kill as well as cheaper. The same for PD drones (cheaper and weaker), and missiles (more expensive and effective against torpedoes, and maybe a bit overshooting against plasma drones).


Ranges: ("0"/"1"/"2"/"3"/"4+", more on this later)
- MD: 100%/50%/0%
- Laser: 100%/100%/80%/40%/0%
- Plasma: 100%/0%.
- Death Ray: 100%/80%/40%/0%
- Torpedoes/Missiles/Drones: no range penalty.
- MD Flaks: 100%/0%
- Laser PD: 100%/50%

Mr. Fluff says "0" could be about 0.001 light-seconds (or 300 km), "1" around 0.01, "2" at 0.1, "3" at 1 light-second, "4+" in the tens.

Damages:
- MD: low to high.
- Laser: low to medium.
- Plasma: medium to high.
- Death ray: medium to high.
- Torpedoes: high to very high.
- Plasma drones: medium to high.
- PD drones: mobile flaks.
- Missiles: one-shot-killers of other drones.

Low is probably something like 5, medium 15, high around 50, and very high 150 (so most ships would die from a direct torpedo hit).

This makes laser and mass drivers still useful on late game (MD low range but high damage, Laser medium damage but longest range, DR is still the most powerful weapon. It implies to increase accordingly MD and laser techs costs for levels 2 to 4.


MOVEMENT REPRESENTATION

I'm thinking on a one-dimensional board to support different weapon ranges and different ship "speeds" (accelleration is more realistic). The board won't represent a given euclidean space centered in a reference point (like the sun of a solar system). It abstracts the relative positions of each fleet and the huge distances that happen in space combat (probably up to light-seconds).

The board is probably 7 cells long (I'm considering 9, 5...). The center of the board is position "0" (P0). Each faction (A, B...) starts at one end, at 3 cells from the center. So A starts at A3, and can charge through A2 and A1 to get to P0. A3-1 is a lane, B3-1 is another lane. If there are more than two factions, more lanes can be added. Check image.
one-dim-board.png
one-dim-board.png (2.37 KiB) Viewed 65 times
A fleet in A2 is at range 2 of P0, at range 3 of B1/C1... range 5 of B3/C3.

In this board, fleets can push to approach enemies or pull to try to flee or keep distance from enemy fleets, depending on their "tactical settings", which should be (1) the targetting priorities (decided by installed parts or leaders in the fleet, as suggested by Geoff) and (2) the "combat orders" (set by the player via the current passive/aggressive toggle, probably adding deffensive).

Ships going out of the board (e.g. successfully fleeing from A3 to A4) are out of the battle until next turn.

Movement is an opposing action, and the board represents relative positions: if a fleet AX in A3 pulls with speed 3 and an enemy fleet BX at P0 pushes at speed 6, AX will move from A3 to A2 while AX will stay at P0 (so it looks like AX is approaching BX).

The whole set of fleets and their movements actions and speeds have to be considered together, which seems easy if fleets of each faction can't pass P0 to get into an enemy faction lane (as seen above, a fleet successfully chasing anothe fleet doesn't need to get into its lane, just to force it come closer to P0).
However, I'd like to make the engine capable of representing the situation in which charging fleets of each faction ignores each other and keep charging towards enemy rear lines. Something like this:
<<AX <<BX AY>> BY>>
AX trying to flee from BX, that is chasing, and the opposite on the other lane. Here or BX or AY or both need to be on the enemy lane, and that complicates a lot the movement rules for this board. I'm working on it.


The targetting priorities of a given ship would decide which kind of enemy aim to maximise some heuristics that could consider different factors. My main inspiration for that is Stars!, but addapted to Free Orion. For this, there should be basic (dumb) forms of targetting, blunt heuristics that can give acceptable results on average situations (target closest/weakest/most expensive ship first), as well as more sophisticated targetting schemes (like the ones presented in the Stars!, like maximise damage inflicted over damage taken).

The combat orders would modify how this targetting priorities are applied.

Both combat orders (the fleet toggle) and the targetting priorities (parts and leader effects) must be designed together and with careful thought to keep to a minimum the number of interactions from the player and the time required to make the relevant decissions. For this, the combat orders and targetting schemes must be relatively simple and intuitive, and affect as directly as possible specific aspects of the game. I'm also working on this.


I'd like to read your ideas and thoughts on this.

And I'm still interested on what think players that are not interested in enriching the combat tactical engine but are concerned about this suggestions bringing in more burden to each turn on a multiplayer game.


Edited to add some missing weapons.

Post Reply