Page 1 of 1

Stationary flak hitting own buildings

Posted: 25 Aug 2010, 13:36
by Sgt Doom
When I place a flak gun between 2 building with one space between each, the flak shell consistently hits the building instead, even when firing straight forward and up. Is this meant to happen?
On Spring 0.82.3, BA 7.15

Re: Stationary flak hitting own buildings

Posted: 25 Aug 2010, 14:57
by Hobo Joe
This happens with T2 AA kbots as well, pretty annoying.

Re: Stationary flak hitting own buildings

Posted: 25 Aug 2010, 21:11
by Gouken
yeah and units coming out of lab always shoot/damage lab if enemies are in range

Re: Stationary flak hitting own buildings

Posted: 26 Aug 2010, 04:01
by Saktoth
Press alt-b to get the debug mode and see the hit volumes.

You will probably see that the weapons of the flak are inside the hit volumes.

The surprising part is that it fires at all. It probably has the aim from point in the middle of the turret, which is clear to fire, but even then im sort of surprised.

Re: Stationary flak hitting own buildings

Posted: 26 Aug 2010, 15:11
by Hobo Joe
Well flak is kind of a wild card, it will explode even if it doesn't come in contact with the plane it is firing at, so maybe it activates on proximity and that same proximity works on friendly buildings?

Re: Stationary flak hitting own buildings

Posted: 26 Aug 2010, 15:47
by Jazcash
Gouken wrote:yeah and units coming out of lab always shoot/damage lab if enemies are in range
Ano right, god damn Janus blowin' up their home territory...

Re: Stationary flak hitting own buildings

Posted: 27 Aug 2010, 17:51
by zerver
This is war, and accidents happen.

Re: Stationary flak hitting own buildings

Posted: 28 Aug 2010, 05:49
by Saktoth
Hobo Joe wrote:Well flak is kind of a wild card, it will explode even if it doesn't come in contact with the plane it is firing at, so maybe it activates on proximity and that same proximity works on friendly buildings?
No, that is not how burnblow works. The projectile is fired at an enemy units location, and explodes when it reaches that location, regardless of whether it hit or not. There is no 'proximity' sensor.

Re: Stationary flak hitting own buildings

Posted: 28 Aug 2010, 08:12
by Hobo Joe
Saktoth wrote:
Hobo Joe wrote:Well flak is kind of a wild card, it will explode even if it doesn't come in contact with the plane it is firing at, so maybe it activates on proximity and that same proximity works on friendly buildings?
No, that is not how burnblow works. The projectile is fired at an enemy units location, and explodes when it reaches that location, regardless of whether it hit or not. There is no 'proximity' sensor.

You learn something new every day.


Still explodes on friendly buildings though, either the hitspheres are wack or it will explode without real contact.

Re: Stationary flak hitting own buildings

Posted: 28 Aug 2010, 15:10
by Saktoth
Yeah, take a look at the hitspheres (alt+b). I replicated this bug, and the flak shoots while its inside a buildings hitsphere.

Its not really a huge problem, because it does hardly any damage to buildings, and if you are building it that close to things then you arent going to hit anything anyway and it serves you right.

Re: Stationary flak hitting own buildings

Posted: 30 Aug 2010, 18:23
by eyu100
Saktoth wrote:Yeah, take a look at the hitspheres (alt+b). I replicated this bug, and the flak shoots while its inside a buildings hitsphere.

Its not really a huge problem, because it does hardly any damage to buildings, and if you are building it that close to things then you arent going to hit anything anyway and it serves you right.
There is the case of scout planes that are landed in your base... Here, you don't need to take them out fast, but you do need to kill them eventually.

Re: Stationary flak hitting own buildings

Posted: 31 Aug 2010, 13:18
by Wombat
units/buildings block shots, thats normal (why would u place flak in base anyway), aa does shitty damage to ground stuff so who cares anyway

Re: Stationary flak hitting own buildings

Posted: 01 Sep 2010, 10:00
by Sgt Doom
Wombat wrote:units/buildings block shots, thats normal (why would u place flak in base anyway), aa does shitty damage to ground stuff so who cares anyway
The thing is it shouldn't be firing if it doesn't have a clear line of fire.

Re: Stationary flak hitting own buildings

Posted: 01 Sep 2010, 11:04
by JohannesH
Flak doesnt really matter, now you know how not to place it, but unit coming out of labs shooting lab can lose you a game

Re: Stationary flak hitting own buildings

Posted: 01 Sep 2010, 12:37
by ==Troy==
Hobo Joe wrote:
Saktoth wrote:
Hobo Joe wrote:Well flak is kind of a wild card, it will explode even if it doesn't come in contact with the plane it is firing at, so maybe it activates on proximity and that same proximity works on friendly buildings?
No, that is not how burnblow works. The projectile is fired at an enemy units location, and explodes when it reaches that location, regardless of whether it hit or not. There is no 'proximity' sensor.

You learn something new every day.


Still explodes on friendly buildings though, either the hitspheres are wack or it will explode without real contact.

Not sure whether this is how the engine does it, but if that was a description about RL flak, then it is slightly flawed.

Flak rounds simply have varied fuse lengths, operators approximate distance to the enemy plane, and choose appropriate ammo. The spread of the gun and the randomness in fuse lengths combined with high ROF and shrapnel rounds allows them to actually hit once in a blue moon.

Fuse lengths are calculated with consideration to the speed of the projectile and height of the plane, and ammo usually had the 500m 750m etc markings on it.




Edit :

Even more offtopic, the current flak does enormous damage to T2 DT (fortifications) while even arm t2 arty does not even scratch it, and bulldogs take a week to kill them.

Re: Stationary flak hitting own buildings

Posted: 02 Sep 2010, 02:56
by Saktoth
This is because flak uses special damages to all land units, but a high default damage, when the logical thing to do would be to have special damage to air units, and a low default damage. This is the same reason the juno wipes out wrecks.

But BA's damage categories are very screwed up. I suspect you'll find flak does full damage to hovercraft too, and a bunch of other zany stuff.

Re: Stationary flak hitting own buildings

Posted: 02 Sep 2010, 03:16
by Hobo Joe
*Note to self to FPS flak at the first opportunity

Re: Stationary flak hitting own buildings

Posted: 02 Sep 2010, 03:34
by TheFatController
It's always had high default damage as a hack to give it a bigger engine explosion I believe.

I fixed the hitting own buildings for next release btw.