how should targeting selection work

Moderator: JaggedAppliance

how should targeting selection work

Postby yodabomb » 14 Jan 2016, 05:30

some units just "pewpew" into mountains without care.

some units hit little bumps in the ground and waste their DPS.

Your t2 PD that was patiently plinking away at the mountainside got killed by a LAB because it didn't change target.

but, should they? Or should they understand what is possible to hit and not waste shots.

Just curious if anyone else has feedback. I think it's possible to program the firingSolutions so only acceptable solutions are prioritized. I'd be happy to work on this if people think smarter firingSolutions are better for the game.
yodabomb
Crusader
 
Posts: 13
Joined: 14 Jan 2016, 03:44
Has liked: 1 time
Been liked: 3 times
FAF User Name: yodabomb

Re: how should targeting selection work

Postby Reaper Zwei » 14 Jan 2016, 05:51

this would be nice but is it actually doable in the parts of the game we can actually fiddle with?
Reaper Zwei
Priest
 
Posts: 316
Joined: 08 Oct 2013, 06:58
Has liked: 5 times
Been liked: 18 times
FAF User Name: Reaper_Zwei

Re: how should targeting selection work

Postby Exotic_Retard » 14 Jan 2016, 12:14

im pretty sure there is a value called GroundAtackTries which is the number of times a weapon will hit the ground before switching targets.

if you give a list of units that have this problem (specifically: taking too long to switch targets if its hitting the ground)

it might be possible to take a look and see if they can be tuned a bit better
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: how should targeting selection work

Postby Sprouto » 14 Jan 2016, 23:31

Actually, GroundAttackTries only affects how many times a weapon will fire at a given ground target (not a unit) before moving on to another target. For example, take a T2 Artillery, set it to GroundAttack and shift-select a number of ground targets. The gun will fire a specific number of times at each target and then move on to the next.

The problem described in the OP is usually associated with DirectFire weapons, but it can occur with Low-Arc weapons as well. If there is any intervening terrain, the weapon is NOT aware of it, and will continue to fire at the selected enemy. The only solution is to run some code that will test the line-of-sight to the target and insure that it's clear before firing. While it can, and has, been done, it's very performance intensive in anything but a small game.
Sprouto
Priest
 
Posts: 366
Joined: 08 Sep 2012, 05:40
Has liked: 54 times
Been liked: 74 times
FAF User Name: Sprouto

Re: how should targeting selection work

Postby nine2 » 16 Jan 2016, 02:42

I think you could also test to see if the unit has been hit by your projectile in the last 5 seconds. Perhaps less performance intensive
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: how should targeting selection work

Postby zeroAPM » 16 Jan 2016, 11:46

What if the cause of miss is micro and there is only one unit around? Will it keep targeting the unit or bug out?
zeroAPM
Priest
 
Posts: 452
Joined: 21 May 2014, 20:39
Has liked: 3 times
Been liked: 52 times
FAF User Name: Impressingbutton

Re: how should targeting selection work

Postby nine2 » 17 Jan 2016, 07:02

a fine point
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine


Return to Balance Discussion

Who is online

Users browsing this forum: No registered users and 1 guest