View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002169 | The Dark Mod | AI | public | 12.03.2010 18:53 | 03.06.2011 03:59 |
Reporter | grayman | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Win32 | OS | Windows | OS Version | XP |
Product Version | TDM 1.01 | ||||
Target Version | TDM 1.03 | Fixed in Version | TDM 1.03 | ||
Summary | 0002169: Strange AI behaviour/death when underwater | ||||
Description | If an AI (a citywatch guard in this case) finds itself underwater, the following odd behavior occurs: The AI continues with its idle animations and voices. It might stretch. It might talk about going to the kitchen. Then, when it notices it's underwater, it starts to cough, then it dies. It will drop whatever its holding, and will slump over, still standing. It doesn't collapse to the floor. This behavior is different than that in TDM 1.00. There the AI would get alarmed, start walking around underwater looking for an enemy (asking it to come out), then die after a couple minutes. It would drop everything, then raise its arms, and remain standing. The behavior is better in TDM 1.01. The AI dies more quickly, and doesn't have time to go wandering around looking for someone to smack. However, it takes about 10s or so before it notices it's underwater, so its behavior prior to that is as if it were standing on dry land, breathing air. | ||||
Steps To Reproduce | dmap the attached map. Press the button and the guard will drop into the water. Watch the fun. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
In 1.02, AI collapse correctly. Still need to look at disallowing idle barking and animations. | |
I've made corrections to disable idle barking and animations when an AI is underwater. Checking them in soon. |
|
Code changes: rev 4273: IdleAnimationTask.cpp RepeatedBarkTask.cpp SingleBarkTask.cpp Testing: Dropped several AI into water and observed their corrected behavior. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
12.03.2010 18:53 | grayman | New Issue | |
12.03.2010 18:53 | grayman | File Added: AI_in_H2O.map | |
24.04.2010 15:32 | greebo | Assigned To | => greebo |
24.04.2010 15:32 | greebo | Status | new => acknowledged |
24.04.2010 15:33 | greebo | Assigned To | greebo => |
24.04.2010 15:33 | greebo | Summary | Strange AI death => Strange AI behaviour/death when underwater |
10.11.2010 07:03 | grayman | Note Added: 0003284 | |
10.11.2010 07:03 | grayman | Assigned To | => grayman |
10.11.2010 20:18 | grayman | Note Added: 0003286 | |
12.11.2010 21:44 | grayman | Status | acknowledged => resolved |
12.11.2010 21:44 | grayman | Resolution | open => fixed |
12.11.2010 21:44 | grayman | Fixed in Version | => TDM 1.03 |
12.11.2010 21:44 | grayman | Target Version | => TDM 1.03 |
13.11.2010 20:31 | grayman | Note Added: 0003289 | |
14.11.2010 23:53 | grayman | Note Edited: 0003289 | |
03.06.2011 03:59 | greebo | Status | resolved => closed |