CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.66k stars 4.18k forks source link

Floodlights blocked by vehicle structure #34764

Open sdp0et opened 5 years ago

sdp0et commented 5 years ago

Cataclysm Dark Days Ahead - 0 D-8520-gcb7938e

Describe the bug

A floodlight on the roof at the center of a vehicle is blocked by the boards and curtains of the vehicle "below".

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install a floodlight on the center of the vehicle.
  2. install curtains on all non-board structure below (hatches, doors and windshields)
  3. Wait until night and check how light is case from flood light based on curtains being opened or closed (this can be made easier with door motors and an electronic control unit on an exterior space on the vehicle.

Expected behavior

Since the flood light is on the roof I expect its light to not be blocked by the walls and curtains inside the vehicle and below it.

Screenshots

The attached screenshot shows the flooclight (with a red square around it), The circled squares are hatches (one open, one closed with the curtain open). The squares marked with with X are hatches and windshields with curtains closed.

Versions and configuration

Additional context

For me this is problematic because I am attempting to operate the vehicle at night with curtains closed using a camera system. Vision is limited to the front and back with headlights and would like 360 coverage without the power draw of individual headlights around the vehicle.

Night-Pryanik commented 5 years ago

I guess this is the same bug as in #31064, but this issue has more info.