Attacking through walls

08/26/2023 17:39 3lmoo#1
Hey again everyone,

does anyone know what determines if you can shoot through a wall or not? Same thing goes for hight differences and other stuff. Since grid alone doesn't seem to be the answer.

Thanks for help
08/26/2023 19:17 Bejine#2
The grid (NStcData) does have this information. If the second bit is set, it means you can't shoot through (so for example values like 2, 3, 6, 7, 10, etc.). You can do
Code:
(value & 2) != 0
to check if that cell can be shot through.

There is no concept of height for anything gameplay wise or server-sided. It's purely visual and client-side only. If you can't shoot "up" or "down", it means there's a wall between that can't be shot through.
08/27/2023 15:55 3lmoo#3
Thanks for the quick answer! But how/where are these values stored in NStc? Like the NStc is just a .png file - how do I open it to get access to those values?
08/30/2023 20:24 Limoo#4
Quote:
Originally Posted by 3lmoo View Post
Thanks for the quick answer! But how/where are these values stored in NStc? Like the NStc is just a .png file - how do I open it to get access to those values?
You can export them raw in binary format