View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005019||The Dark Mod||AI||public||25.03.2019 22:15||14.04.2019 19:04|
|Platform||PC||OS||GNU/Linux||OS Version||Ubuntu 18.04|
|Product Version||TDM 2.07|
|Target Version||TDM 2.08||Fixed in Version||TDM 2.08|
|Summary||0005019: Reaction time of AI too fast when spotting player in full light|
|Description||Playing TDM on default difficulty settings,(AI vision: "Forgiving", AI hearing: "Challenging") AI seems to be having little to no delayed response upon spotting the player in full light, even if at considerable distance. This leads to overly punishing situations for the player.|
|Steps To Reproduce||Load the save game provided for the Bakery Job mission. AI will come out of the door and take aggressive stance within a fraction of a second upon spotting the player, giving no time to react.|
|Additional Information||Happens in other missions too when spotted in full light.|
|Tags||No tags attached.|
bakery.zip (360,844 bytes)
savegames.tar.7z (1,707,240 bytes)
|Added another savegame replicating the issue in Cleaning up the Neiborhood (savegames.tar.7z)|
Some notes if I end up looking at this:
1. Since I can't build 2.07 any more, this has to be debugged in the Trunk, which means I can't use the savegames.
2. Luckily, it's easy to quickly get to the spots where the problems are showing up.
3. CUtN requires 2.07, so I can't run it with anything earlier (to compare behaviors).
4. St. Lucia doesn't say what it requires (!!), so just try revs earlier than 2.07 to spot where the behavior change occurred.
I'll see if I can manage to run an older version later.
For now, I've uploaded two videos of the issue:
A bug has definitely crept into the visibility code.
A comparison of a similar setup to CUtN (2 lights + ambient, player fully lit and up 6' or so, same guard at the same distance) shows that the delay that exists between achieving levels 4 and 5 in 2.00 has pretty much disappeared in 2.07. (See attached.)
So the focus should be on how is the delay applied, and why did it change?
alerts.jpg (116,338 bytes)
alerts.jpg (116,338 bytes)
|Whatever is done to correct this problem should still allow the start of PD3 to work properly.|
I modified the AI vision factors into a blend of the 2.07 settings and the settings I suggested in the visibility thread.
nearly blind 0.134
I also adjusted the reaction time when entering Combat mode so that it more resembles what we had in 2.04. (I.e. fix the 'bug' mentioned in the visibility thread.)
To test these, remove the 4 visibility factor lines from your Darkmod.cfg file and TDM will use the new defaults.
I tested these settings on Cleaning up the Neighbourhood, PD3, and the Bakery Job.
The results seemed okay to me.
This is a very subjective area, so I'm hoping that these settings won't disturb existing missions or get folks grumbling about the changes based on what they're used to.
I committed Windows binaries to the trunk. I no longer build linux, so anyone wanting to test on linux will need to get a dev to build binaries for them.
These changes are only available in the SVN trunk. I don't plan to retrofit them into 2.07. If someone's unable to obtain access to the SVN trunk version of TDM, they'll need to wait until we begin beta testing 2.08.
At this time, I plan no further changes to the visibility code. It's complex enough as it is.
|25.03.2019 22:15||zergrush||New Issue|
|25.03.2019 22:15||zergrush||File Added: bakery.zip|
|25.03.2019 22:30||zergrush||File Added: savegames.tar.7z|
|25.03.2019 22:31||zergrush||Note Added: 0011693|
|26.03.2019 02:19||grayman||Note Added: 0011694|
|26.03.2019 12:11||zergrush||Note Added: 0011695|
|27.03.2019 17:58||grayman||Assigned To||=> grayman|
|27.03.2019 17:58||grayman||Status||new => assigned|
|28.03.2019 00:59||grayman||Note Added: 0011697|
|28.03.2019 01:00||grayman||File Added: alerts.jpg|
|30.03.2019 18:19||grayman||Relationship added||related to 0004347|
|30.03.2019 18:20||grayman||Note Added: 0011703|
|11.04.2019 13:52||grayman||Target Version||=> TDM 2.08|
|14.04.2019 19:04||grayman||Note Added: 0011740|
|14.04.2019 19:04||grayman||Status||assigned => feedback|
|14.04.2019 19:04||grayman||Resolution||open => fixed|
|14.04.2019 19:04||grayman||Fixed in Version||=> TDM 2.08|