Use the above mentioned source found in the archives.
http://www.blitzbasic.com/codearcs/codearcs.php?code=515
You need to perform a line pick straight down from the entity that you want to color. Shadow Turtle was saying to make it a long pick, IE the distance goes way down on the Y from your entity.
Use this pick and the function from that code to get the color value on the light map baked into your level.
Use the entitycolor() command in blitz to set the color of the entity to whatever color value you retrieved from that function above.
Keep looking around the forums, there was some demo source a long time ago that does just what you are asking and its commented very well.
Good luck,
Scott
http://www.blitzbasic.com/codearcs/codearcs.php?code=515
You need to perform a line pick straight down from the entity that you want to color. Shadow Turtle was saying to make it a long pick, IE the distance goes way down on the Y from your entity.
Use this pick and the function from that code to get the color value on the light map baked into your level.
Use the entitycolor() command in blitz to set the color of the entity to whatever color value you retrieved from that function above.
Keep looking around the forums, there was some demo source a long time ago that does just what you are asking and its commented very well.
Good luck,
Scott