View Issue Details

IDProjectCategoryView StatusLast Update
0002907The Dark ModCodingpublic06.11.2011 23:37
ReporterSpringheel Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 1.07 
Target VersionTDM 1.07Fixed in VersionTDM 1.07 
Summary0002907: AI not alerted by mine soundprop
DescriptionAI 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?
TagsNo tags attached.

Activities

grayman

grayman

06.11.2011 23:37

viewer   ~0004126

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

Issue History

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