Product Chat / [SOLVED] Enemies shoot through walls

Author
Message
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 26th Oct 2019 18:04
Someone made a post on Steam about this and I checked it out.
With the current public release, the basic enemies from the characters folder shoot through walls, (in test mode - I didn't bother making a standalone).
I built a simple enclosure on flat ground, placed the player marker inside and various enemies, (one by one) outside. They all killed me through the wall. I reverted to the 2019-03 release, restarted, reloaded my map and all was okay. Reinstalled the current release, loaded the map, tested and got gunned down.
You can't teach an old dog.

The author of this post has marked a post as an answer.

Go to answer
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 26th Oct 2019 18:45


Quote: "With the current public release"


Are you referring to this one?



Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

Attachments

Login to view attachments
PM
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 26th Oct 2019 19:45 Edited at: 26th Oct 2019 19:53
Whichever one it is you get installed if you opt out of all betas in Steam properties.
2019.09.16 - Performance Build
You can't teach an old dog.
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 26th Oct 2019 20:31
The standalone behaves the same way - so it's not just an editor problem.
You can't teach an old dog.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 26th Oct 2019 20:39
Very odd, as seen in the video the soldiers do not shoot me.
Maybe someone comes with a similar problem.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 26th Oct 2019 21:12
I have tried countless times … all good here as well
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 26th Oct 2019 22:29
All the walls used are stock, static and not modified?

Maybe if physics or collision is turned off-- maybe?
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 26th Oct 2019 22:45
If the walls aren't thick enough this can happen.
Been there, done that, got all the T-Shirts!
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 26th Oct 2019 22:49
No shooting through walls for me, but the AI is still WAY too
deadly, accurate and vicious. Needs to be a level modifier.
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 26th Oct 2019 23:19
So you won't want this then:

synchromesh provided the test level and I rewrote the ai modules with performance in mind, unexpected side effect of this was ai on steroids!
Been there, done that, got all the T-Shirts!
PM
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 26th Oct 2019 23:21
Quote: "Very odd, as seen in the video the soldiers do not shoot me.
Maybe someone comes with a similar problem."


same to me.. no prob here..

@3com .. how about your horror pack??
PC 2 Specs:
AMD RYZEN 2600 SIX CORE @3,70, 64GB RAM DDR4 2400, M/B GIGABYTE AX370
SVGA NVDIA 1660GTX 6GB , SSD M.2 TRANSCEND S110 1TB, 1X HDD SEAGATE BARRACUDA 4TB, 1X HDD TOSHIBA 2TB


PC 2 Specs:
AMD QUADCORE 880K @4.5GHZ, 32GB RAM DDR3 1600, M/B ASUS A88XM-PLUS
SVGA RADEON R9 380 4GB , SSD KINGSTON A400 1TB, 2X HHD SEAGATE BARRACUDA 4TB
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 27th Oct 2019 00:44
@AmenMoses - wow that looks like a significant increase - is that purely from using locals instead of globals? Is there any other techniques you've used for the refactoring? I was wondering if improvements could be teased out of gameplayercontrrol too.

I don't get any shooting through walls either.

Cheers.
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 27th Oct 2019 00:50 Edited at: 27th Oct 2019 00:55
@cybernescence : Take a look for yourself.

It's not quite there yet, hopefully I can make this a 'proper' module like the utillib.lua or physlib.lua.
But it's a start in the right direction.

The problem I'm having is that even the slightest innocuous looking change I make to any of the functions results in radical (and not always positive) changes to AI behaviour.

Edited to add: beware that this changes global.lua as well!
Been there, done that, got all the T-Shirts!

Attachments

Login to view attachments
PM
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 27th Oct 2019 04:50
All,
The entities used are straight out of the box, but is that not irrelevant since it appears to be the change of engine version that determines the presence or absence of the fault? I would post the fpm but since 2 vsns of GG behave differently without changing the map, the problem must lie in the rendering software.
If you are all using 2019.09.16, ( which, 3com, you don't seem to be judging by your screenshot) then that suggests the problem maybe lies in the dx calls being used, dependent upon the gfx hardware that GG is running on.
I tested this on Intel HD400 running DX12. I have other m/c's and will test those too.
You can't teach an old dog.
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 27th Oct 2019 05:22 Edited at: 27th Oct 2019 06:49
I just recreated this from scratch on a Win10, i5, Nvidia GTX2060 and got exactly the same result. 2019.09.16 bugged. 2018.11.26 not bugged.
and on a Win10, I5, Intel HD5000 - same result.

Entities used : scenery/modular wall 3, characters/combat soldier(defender) & rocketman & shotgun soldier.
You can't teach an old dog.
Pink Panther
14
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 28th Oct 2019 17:00
I have intermittently had this problem too with the 9/16/2019 performance build. Using stock buildings as well. Sometimes it happens and sometimes it doesn't. Haven't had that issue in a long time. Verified the cache but the problem still (intermittently) happens.
PM
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 28th Oct 2019 18:29 Edited at: 28th Oct 2019 18:31
It is consistent for me.
It started a few weeks ago when I tried playing The Big Escaoe, but I put it down to an enemy I could not see.
It wasn't.
But what kind of bug can be intermittent like this? I would expect ray tracing, (which I guess is what's at the root of the problem) to either work or not work on a given h/w configuration - not come and go with the rain.

I'm just gald I can go back to the previous release and avoid it.
You can't teach an old dog.
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 28th Oct 2019 20:41
This post has been marked by the post author as the answer.
Do you get the issue with the draw call optimiser turned off in setup.ini?

It’s not straight forward to see exactly what was released in the code for each public version with github but it looks like raycasting updates were made after the September release - this would affect things like player visibility to enemy - the changes were made to ensure raycasts hit draw call optimised entities so that’s why I’m asking. If the issue isn’t present with it turned off then it’s likely fixed for the next public version and that’s why some people experience it and others don’t at the moment.

Cheers.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 28th Oct 2019 21:32
Quote: "the changes were made to ensure raycasts hit draw call optimised entities "

Nice to know, ty Ciber.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 29th Oct 2019 04:39
Thanks cybernescence. That fixed it.
Good to know a permanent fix is on the way, and one that'll regain the benefits of the draw call optimiser.
You can't teach an old dog.

Login to post a reply

Server time is: 2024-11-23 23:00:03
Your offset time is: 2024-11-23 23:00:03