View Issue Details

IDProjectCategoryView StatusLast Update
0005978The Dark ModFeature proposalpublic17.06.2022 05:35
ReporterObsttorte Assigned ToObsttorte  
Status resolvedResolutionfixed 
Product VersionTDM 2.10 
Target VersionTDM 2.11Fixed in VersionTDM 2.11 
Summary0005978: AI should notice if func_fracture entities (e.g. breakable glass) got broken.
DescriptionCurrently the ai is not able to notice that a func_fracture entity got broken. This should be changed, as a broken glass window is pretty obvious and players would probably expect that the ai notice it.
TagsNo tags attached.




17.06.2022 05:35

developer   ~0014899

Source code commited with revision 9937 (game/BrittleFracture.cpp)
Game files commited with revision 16496 (def/func.def)

This behaviour is enabled by default, but can be disabled by setting "notice_destroyed" to zero. I left the standard health value as it was before, but this means it will take a few blows to break the window, and ai will NOT notice damaged glass, only destroyed one. As this may be a bit odd it might be good if mappers reduce the health value to a reasonable low amount (a blackjack blow deals 2 damage, but if the glass is considered to be weak one blow might suffice).

Issue History

Date Modified Username Field Change
17.06.2022 05:15 Obsttorte New Issue
17.06.2022 05:15 Obsttorte Status new => assigned
17.06.2022 05:15 Obsttorte Assigned To => Obsttorte
17.06.2022 05:35 Obsttorte Status assigned => resolved
17.06.2022 05:35 Obsttorte Resolution open => fixed
17.06.2022 05:35 Obsttorte Fixed in Version => TDM 2.11
17.06.2022 05:35 Obsttorte Note Added: 0014899