View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002907 | The Dark Mod | Coding | public | 06.11.2011 15:29 | 06.11.2011 23:37 |
Reporter | Springheel | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 1.07 | ||||
Target Version | TDM 1.07 | Fixed in Version | TDM 1.07 | ||
Summary | 0002907: AI not alerted by mine soundprop | ||||
Description | AI definitely aren't hearing the mine, but I'm not sure why. I switched it to the firearrow propogated sound and that didn't change anything. Could it be related to how the projectile is spawned? Could the AI be hearing but ignoring it, the same way it doesn't trigger a nokill objective? | ||||
Tags | No tags attached. | ||||
The assumption was being made that only one sound can propagate per frame. When an AI steps on a mine and dies, he cries out and that sound is propagated. The mine explodes in the same frame, and the explosion sound is propagated, but the sound code didn’t clear the data from the dying cry, so it behaved as if the explosion was a continuation of the cry. Since AI were already notified about the cry, they didn’t need to be notified about the explosion. Clearing the relevant sound data at the start of each sound propagation allows multiple sounds to be processed by AI in the same frame. rev. 5027: ai.cpp sndProp.cpp |
|
Date Modified | Username | Field | Change |
---|---|---|---|
06.11.2011 15:29 | Springheel | New Issue | |
06.11.2011 15:29 | Springheel | Assigned To | => grayman |
06.11.2011 15:29 | Springheel | Status | new => assigned |
06.11.2011 15:29 | Springheel | Product Version | => TDM 1.07 |
06.11.2011 23:37 | grayman | Note Added: 0004126 | |
06.11.2011 23:37 | grayman | Status | assigned => resolved |
06.11.2011 23:37 | grayman | Resolution | open => fixed |
06.11.2011 23:37 | grayman | Fixed in Version | => TDM 1.07 |
06.11.2011 23:37 | grayman | Target Version | => TDM 1.07 |