CleverRaven / CleverRaven/Cataclysm-DDA
Floodlights blocked by vehicle structure
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 205
Description

# 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
- OS: Windows
- OS Version: 10.0 1809
- Game Version: 0.D-8520-gcb7938e [64-bit]
- Graphics Version: Tiles
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Aftershock [aftershock],
C.R.I.T Expansion Mod [crt_expansion],
Magiclysm [magiclysm],
Garden Pots [growable-pots],
Makeshift Items Mod [makeshift],
More Survival Tools [More_Survival_Tools],
Draco's Dog Mod [DracoDogMod],
Modular Turrets [modular_turrets],
Salvaged Robots [Salvaged_Robots],
Alternative Map Key [alt_map_key],
Hydroponics [hydroponics],
Mutant NPCs [mutant_npcs],
Vampiric Stuff [vamp_stuff],
Arcana and Magic Items [Arcana],
Vampiric Stuff + Arcana Mod Extension [vamp_stuff+arcana],
Beta National Guard Camp [national_guard_camp],
More Locations [more_locations],
Fuji's More Buildings [FujiStruct],
More City Locations [cityside],
Urban Development [Urban_Development],
Folding Parts pack [deoxymod],
Vehicle Additions Pack [blazemod],
Roadheader and other mining vehicles [Heavy miners],
Tanks and Other Vehicles [Tanks],
Necromancy [necromancy],
sees-player icon, HitButton_iso [sees_player_hitbutton],
Jury-Rigged Robots [jury_rigged_robots],
PKs Rebalancing [PK_REBALANCE],
Battery Migration for Existing Games [Battery_Overhaul_Legacy_Mode],
Classes and Scenarios Mod [more_classes_scenarios],
SpeedyDex [speedydex],
Stats Through Kills [stats_through_kills],
Stats Through Skills [StatsThroughSkills],
Paul's Stuff [paulsstuff] (some custom experimentation on json override for clothing and equipment)
]
# 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.
Contributor guide
Research direction
Start by reproducing the vehicle floodlight setup described in the issue, including boards, curtains, hatches, doors and windshields below the roof-mounted light. Trace the vehicle lighting and obstruction behavior, then verify that closed interior structures no longer block light from the roof floodlight while the reproduction steps still behave correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100