Author Topic: Ships can fire through shields sometimes  (Read 1127 times)

Offline RCIX

  • Core Member Mark II
  • *****
  • Posts: 2,808
  • Avatar credit goes to Spookypatrol on League forum
Ships can fire through shields sometimes
« on: September 13, 2009, 03:45:12 am »
If a ship is on one side of a forcefield and a target is on the other, the shot will go right through the forcefield to hit the target. Demonstration image is attached.
Avid League player and apparently back from the dead!

If we weren't going for your money, you wouldn't have gotten as much value for it!

Oh, wait... *causation loop detonates*

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Ships can fire through shields sometimes
« Reply #1 on: September 13, 2009, 03:51:08 am »
I don't think this one will be considered a bug. It'd be nice if you could block access to something from some directions using a forcefield, but the reason why shots can travel over force fields is roughly the same reason that multiple ships can be on top of one another: depth. Space isn't flat, so even though AI War usually tries not to, it does takes advantage of this fact sometimes.
« Last Edit: September 13, 2009, 09:04:52 am by Fiskbit »
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline liq3

  • Sr. Member
  • ****
  • Posts: 320
Re: Ships can fire through shields sometimes
« Reply #2 on: September 13, 2009, 08:52:28 am »
What fiskbit said.

Also, figuring out if they'd hit the shield is rather expensive CPU wise. The way it's currently implemented saves on CPU a lot.

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: Ships can fire through shields sometimes
« Reply #3 on: September 13, 2009, 10:02:54 am »
Remember that the 2d game environment is actually a representation of 3d space. Although the structures appear on the other side of the force field, they can be considered to lie in a different z plane, hence the missiles that are hitting them are being fired above or below the force field that's in front of them.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Ships can fire through shields sometimes
« Reply #4 on: September 17, 2009, 03:33:48 pm »
Yep, what the others said, this is not a bug.  In general in this game Line of Sight means nothing because of the pseudo-3D space.  Of course, that also is part of what makes the astronomically-high unit counts possible.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!