View Issue Details

IDProjectCategoryView StatusLast Update
0002893The Dark ModMappingpublic24.10.2011 18:06
Reporterungoliant Assigned Totels  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSWindows XPOS VersionSP3
Product VersionTDM 1.06 
Target VersionTDM 1.07Fixed in VersionTDM 1.07 
Summary0002893: zones w/ dynamic ambient lighting disabled still carry settings from other zones
Descriptionif dynamic ambient lighting is disabled in a zone by setting spawnarg "ambient_light_dynamic" "0 0 0" to its relevant info_location entity, the current ambient light level of any adjacent zones will stick when crossing into the disabled zone, and will not fade until crossing back into a zone with dynamic lighting enabled.

problem will fix itself by resetting to "ambient_light_dynamic" "0.01 0.01 0.01" instead of disabled, but its the principle of the thing.
Steps To Reproducesplit a simple room into 2 zones with a visportal. set up appropriate info_locationseperator and info_location entities. set one zone with "ambient_light_dynamic" "0 0 0", and the other zone with "ambient_light_dynamic" "0.2 0.2 0.2". use the player lantern in the latter zone, which will create a ridiculously high ambient light value, then cross back into the disabled zone. the dynamic ambient light will not fade.
TagsNo tags attached.

Activities

tels

tels

24.10.2011 18:06

reporter   ~0004103

Fixed with checkin #12347. The location script had an optimization where it did not compute the dynamic light in a zone if the result was to be 0 0 0 anyway. However, it just kept the old value.

Now it takes the old value and halves it at every step (2/second), thus quickly pulling the value towards zero (but still somewhat fading it instead of just setting it to 0 at the border crosing).

Issue History

Date Modified Username Field Change
23.10.2011 16:29 ungoliant New Issue
23.10.2011 17:18 tels Assigned To => tels
23.10.2011 17:18 tels Status new => assigned
24.10.2011 18:04 tels Target Version => TDM 1.07
24.10.2011 18:06 tels Note Added: 0004103
24.10.2011 18:06 tels Status assigned => resolved
24.10.2011 18:06 tels Fixed in Version => TDM 1.07
24.10.2011 18:06 tels Resolution open => fixed