View Issue Details

IDProjectCategoryView StatusLast Update
0002906The Dark ModCodingpublic07.11.2011 04:22
ReporterSpringheel Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilitysometimes
Status resolvedResolutionfixed 
Product VersionTDM 1.07 
Target VersionTDM 1.07Fixed in VersionTDM 1.07 
Summary0002906: Arrows sometimes spawn explosion decal without exploding mine
Descriptionabout 25% of the time when I shoot one with an arrow, the arrow breaks and the white-hot scorch decal is applied to the mine...but the mine doesn't detonate. Shooting it again works.
TagsNo tags attached.

Relationships

related to 0002794 resolvedgrayman Mines show decal when shot with water arrow 

Activities

grayman

grayman

07.11.2011 00:41

viewer   ~0004128

Is it possible that you're shooting the mine before it's armed? It takes about 4 seconds after tossing it before it's armed.

The only time I could reproduce this problem is when I fire at the mine very soon after throwing it. The mine is being damaged, but since it's not armed, it doesn't explode. It takes the impulse and reacts to that.

The decal code only cares if damage is being applied, not whether there's an explosion. I need to account for the case where there's damage, but no explosion.
Springheel

Springheel

07.11.2011 01:41

administrator   ~0004129

Hmm, that's quite possible, I can't recall. I'll test it.
Springheel

Springheel

07.11.2011 01:47

administrator   ~0004130

Yes, that looks like the cause.
grayman

grayman

07.11.2011 04:22

viewer   ~0004131

This only happens if an arrow hits a mine before it’s armed. After tossing a mine, 4 seconds pass before it arms. A mine only explodes once it’s armed.

Since displaying the damage effect decal is done separately from exploding, we need to check the mine to see if it’s armed. Armed = explosion + decal. Not armed = no explosion and no decal.

rev. 5028:

projectile.cpp
projectile.h

Issue History

Date Modified Username Field Change
06.11.2011 15:28 Springheel New Issue
06.11.2011 15:28 Springheel Status new => assigned
06.11.2011 15:28 Springheel Assigned To => grayman
06.11.2011 19:16 tels Relationship added related to 0002794
07.11.2011 00:41 grayman Note Added: 0004128
07.11.2011 00:42 grayman Status assigned => feedback
07.11.2011 01:41 Springheel Note Added: 0004129
07.11.2011 01:41 Springheel Status feedback => assigned
07.11.2011 01:47 Springheel Note Added: 0004130
07.11.2011 04:22 grayman Note Added: 0004131
07.11.2011 04:22 grayman Status assigned => resolved
07.11.2011 04:22 grayman Resolution open => fixed
07.11.2011 04:22 grayman Fixed in Version => TDM 1.07
07.11.2011 04:22 grayman Target Version => TDM 1.07