Jump to content

Shooting through walls.


ESTSWEL
 Share

Recommended Posts

On 16/12/2022 at 3:22 AM, ESTSWEL said:

Logically,but I meant protection from arrows, etc. Maybe I don't know something?

Walls don't obstruct vision either. Also trees, mountains, structures et al don't inhibit ranged attacks either, so why should walls?

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

If you put archers on walls i believe they get additional protection from it.

Agree vision obstruction from walls would be nice, but it needs really good code design because walls can be build and destroyed and vision is calculated from every player owned entity so might hurt performance a lot. 

Also currently there is issue with ai seeing everything by design and there is also unitai code depending on vision of units.

To the original topic, with current rate of fire of units in game, checking collision for each arrow is performance nightmare

Edited by Silier
  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...