# Vehicle Turrets at Night

**URL:** <https://discourse.cataclysmdda.org/t/vehicle-turrets-at-night/6601>\
**Category:** The Garage\
**Created:** [June 24, 2014, 3:21pm UTC](https://discourse.cataclysmdda.org/t/vehicle-turrets-at-night/6601 "2014-06-24T15:21:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blaze](https://avatars.discourse-cdn.com/v4/letter/b/e274bd/32.png) [@Blaze](https://discourse.cataclysmdda.org/u/Blaze)\
**Post date:** [June 24, 2014, 3:21pm UTC](https://discourse.cataclysmdda.org/t/vehicle-turrets-at-night/6601/1 "2014-06-24T15:21:54Z")

</div>

No matter what light is available, vehicle turrets have their range greatly reduced at night. Floodlights, flashlights, fire, and even shocker zombies can’t change this.

You’ll understand that this is very dangerous with turrets that have explosive loads.

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [June 24, 2014, 11:30pm UTC](https://discourse.cataclysmdda.org/t/vehicle-turrets-at-night/6601/2 "2014-06-24T23:30:51Z")

</div>

Looking into it. So far as I can tell it’s an issue with critters (in this case, the turret) not getting their/its sight upgraded thanks to light, and in any event it appears capped to 12 tiles. (vehicle.cpp at 4097.)

---

<div class="post-metadata">

**Author:** ![The\_Lone\_Badger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/the_lone_badger/32/8063_2.png) [@The\_Lone\_Badger](https://discourse.cataclysmdda.org/u/The_Lone_Badger)\
**Post date:** [June 25, 2014, 11:18am UTC](https://discourse.cataclysmdda.org/t/vehicle-turrets-at-night/6601/3 "2014-06-25T11:18:13Z")

</div>

I know enemy turrets shoot me at night using my flashlight, and don’t fire if I have it turned off (unless I get inside their light radius).

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [June 26, 2014, 12:30am UTC](https://discourse.cataclysmdda.org/t/vehicle-turrets-at-night/6601/4 "2014-06-26T00:30:22Z")

</div>

> [@The Lone Badger](#):
>
> I know enemy turrets shoot me at night using my flashlight, and don’t fire if I have it turned off (unless I get inside their light radius).

Yeah. We’ve traced it to a discrepancy between targeting the PC and targeting critters. Apparently the targeting algorithm used for finding critters doesn’t take light into consideration. Not yet sure where to fix.
