Do flak cannons get any upgrade from weapon techs?
Moderator: Oberlus
Do flak cannons get any upgrade from weapon techs?
I was thinking on a implementation for a rudimentary, standalone combat simulator (to be able to discuss some rock-paper-scissors stuff with Jaumito) and stumbled on this question.
I thought flak cannons start with 3 shots (modified by pilots species trait) and get +1 from each tech upgrade (up to 6 shots plus species trait), but then I realised I didn't know what techs granted the upgrade, either the mass driver refinements (SHP_WEAPON_1_[2-4].focs.txt) or the unlocking tech of the other weapon types (SHP_WEAPON_[2-4]_1.focs.txt). So I tried to figure it out checking the focs files for weapon parts and techs, and their descriptions in the stringtables, but I couldn't see if or how are flak cannons upgraded.
Which improvement (if any) do flak cannons get from what techs?
I thought flak cannons start with 3 shots (modified by pilots species trait) and get +1 from each tech upgrade (up to 6 shots plus species trait), but then I realised I didn't know what techs granted the upgrade, either the mass driver refinements (SHP_WEAPON_1_[2-4].focs.txt) or the unlocking tech of the other weapon types (SHP_WEAPON_[2-4]_1.focs.txt). So I tried to figure it out checking the focs files for weapon parts and techs, and their descriptions in the stringtables, but I couldn't see if or how are flak cannons upgraded.
Which improvement (if any) do flak cannons get from what techs?
Re: Do flak cannons get any upgrade from weapon techs?
Another question related to flak cannons:
Since I've seen in the combat reports that a ship can end up with big negative HP numbers after a combat round, I assume that on each round each weapon chooses a target independently, so that many guns can aim at the same target even if that target needs only one shot to die in this round. Therefore, I also assume that two different flak cannons can choose the same target. However, flak cannons are the only weapons that have more than one shot per combat round.
Can a flak cannon choose more than once the same target in the same combat round?
I'm thinking of objectives with 1 HP that will die with first shot, especially fighters.
Since I've seen in the combat reports that a ship can end up with big negative HP numbers after a combat round, I assume that on each round each weapon chooses a target independently, so that many guns can aim at the same target even if that target needs only one shot to die in this round. Therefore, I also assume that two different flak cannons can choose the same target. However, flak cannons are the only weapons that have more than one shot per combat round.
Can a flak cannon choose more than once the same target in the same combat round?
I'm thinking of objectives with 1 HP that will die with first shot, especially fighters.
Re: Do flak cannons get any upgrade from weapon techs?
AFAIK, the flak cannon does not get any upgrades from techs currently. It's actually more of a proof of concept type of thing. The entire carrier/fighter thing, as it's currently present in the game, is at a "first rough implementation" stage, and in need of revision/polishing/fleshing out, meaning, very much work in progress.Oberlus wrote:Which improvement (if any) do flak cannons get from what techs?
As is the IS, and will be the Influence thing once it gets added next release cycle. I guess we need to do some refining/consolidating after 0.5.0.
Re: Do flak cannons get any upgrade from weapon techs?
AFAIK the flak does not get any improvements ATM (its for shooting down fighters which always have 1HP).
Also the three rounds of the flak per round should randomly choose (different) targets. So a lucky flak cannon should be able to shoot down three fighters per round (i.e. 9 fighters per turn).
Also the three rounds of the flak per round should randomly choose (different) targets. So a lucky flak cannon should be able to shoot down three fighters per round (i.e. 9 fighters per turn).
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Do flak cannons get any upgrade from weapon techs?
So Flak does not have a priority to shoot at fighters first?Ophiuchus wrote:Also the three rounds of the flak per round should randomly choose (different) targets.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13586
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Do flak cannons get any upgrade from weapon techs?
Weapons target all valid targets with equal probability, independently for each shot.EricF wrote:So Flak does not have a priority to shoot at fighters first?
Re: Do flak cannons get any upgrade from weapon techs?
Any plans to change that?Geoff the Medio wrote:Weapons target all valid targets with equal probability, independently for each shot.EricF wrote:So Flak does not have a priority to shoot at fighters first?
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13586
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Do flak cannons get any upgrade from weapon techs?
Leaders or targetting parts in designs are vaguely envisioned to be able to prioritize target selection. Species could have grudges against other species, and also prioritize based on that.EricF wrote:Any plans to change that?
Re: Do flak cannons get any upgrade from weapon techs?
So, in a given combat round, a single flak cannon could target more than once the same (say) fighter, because it is still a valid target until destroyed at the end of combat round?Geoff the Medio wrote:Weapons target all valid targets with equal probability, independently for each shot.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13586
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Do flak cannons get any upgrade from weapon techs?
Yes.Oberlus wrote:So, in a given combat round, a single flak cannon could target more than once the same (say) fighter, because it is still a valid target until destroyed at the end of combat round?
Re: Do flak cannons get any upgrade from weapon techs?
So did the fighters (bomber inteceptor..) follow the same rule as "Weapon" ?Weapons target all valid targets with equal probability, independently for each shot.
so an interceptor could attack a battleship even if there are enemy fighters around ?
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13586
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Do flak cannons get any upgrade from weapon techs?
Yes.phocas wrote:...so an interceptor could attack a battleship even if there are enemy fighters around ?
Re: Do flak cannons get any upgrade from weapon techs?
There is work going on right now to implement prioritized target selection: Combat Preferred Targetting threadGeoff the Medio wrote: ↑Sun May 20, 2018 11:15 amLeaders or targetting parts in designs are vaguely envisioned to be able to prioritize target selection. Species could have grudges against other species, and also prioritize based on that.EricF wrote:Any plans to change that?
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!