View Issue Details

IDProjectCategoryView StatusLast Update
0004283The Dark ModAIpublic28.01.2016 03:06
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.03 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0004283: AI has a problem relighting an electric light
DescriptionSpooks 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 InformationThe 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.
TagsNo tags attached.

Activities

Spooks

Spooks

27.01.2016 20:40

reporter  

stairs.map (282,418 bytes)
Spooks

Spooks

27.01.2016 20:44

reporter   ~0008033

I've attached the map I provided grayman with for anyone wishing to see the problem in action.
grayman

grayman

28.01.2016 03:05

viewer   ~0008034

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

Issue History

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