View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004283 | The Dark Mod | AI | public | 27.01.2016 20:23 | 28.01.2016 03:06 |
Reporter | grayman | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.03 | ||||
Target Version | TDM 2.04 | Fixed in Version | TDM 2.04 | ||
Summary | 0004283: AI has a problem relighting an electric light | ||||
Description | Spooks reported a problem with an AI at the top of a stairwell who wants to relight a doused electric light, and the switch is in an alcove at the bottom of the stairs. The AI walks partway down the stairs and stops, then performs the relight animation and the light comes back on. | ||||
Additional Information | The problem's in the relight code, in SwitchOnLightState::Think() where a check is made to see if the AI has come close enough to be inside the standoff radius for the switch. The way it's written, the code thinks he's close enough when he reaches a step directly above the switch. Has to be corrected. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
I've attached the map I provided grayman with for anyone wishing to see the problem in action. | |
Added a vertical check for how far the AI’s origin is from the relight goal spot from which the relighting will occur. rev. 6571: SwitchOnLightState.cpp |
|
Date Modified | Username | Field | Change |
---|---|---|---|
27.01.2016 20:23 | grayman | New Issue | |
27.01.2016 20:23 | grayman | Status | new => assigned |
27.01.2016 20:23 | grayman | Assigned To | => grayman |
27.01.2016 20:40 | Spooks | File Added: stairs.map | |
27.01.2016 20:44 | Spooks | Note Added: 0008033 | |
28.01.2016 03:05 | grayman | Note Added: 0008034 | |
28.01.2016 03:05 | grayman | Fixed in Version | => TDM 2.04 |
28.01.2016 03:05 | grayman | Target Version | TDM 2.05 => TDM 2.04 |
28.01.2016 03:06 | grayman | Status | assigned => resolved |
28.01.2016 03:06 | grayman | Resolution | open => fixed |