View Issue Details

IDProjectCategoryView StatusLast Update
0003132The Dark ModCodingpublic22.05.2012 18:03
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionSVN 
Target VersionTDM 1.08Fixed in VersionTDM 1.08 
Summary0003132: Ambient light is currently not considered in object illumination
DescriptionWhen an AI needs to 'see' an object, it can only see it if there's enough illumination on that object. Currently, ambient light isn't factored into the illumination calculations. It should be.

This has nothing to do with the AI's ability to see the player. That's determined differently.
TagsNo tags attached.

Activities

grayman

grayman

22.05.2012 18:03

administrator   ~0004607

Include ambient light—either from the main ambient light (usually ‘ambient_world’) or the location entity for the area where the object lives—in illumination calculations when AI are trying to see objects other than the player.

Also change the scripts to query for the main ambient light and not assume it’s named ‘ambient_world’.

rev 5456:

Script_Thread.cpp
Script_Thread.h
darkModLAS.cpp
Game_local.h
Game_local.cpp
Entity.cpp

rev 12905:

tdm_events.script
tdm_location_settings.script

Issue History

Date Modified Username Field Change
18.05.2012 19:41 grayman New Issue
18.05.2012 19:41 grayman Status new => assigned
18.05.2012 19:41 grayman Assigned To => grayman
22.05.2012 18:03 grayman Note Added: 0004607
22.05.2012 18:03 grayman Status assigned => resolved
22.05.2012 18:03 grayman Resolution open => fixed
22.05.2012 18:03 grayman Fixed in Version => TDM 1.08