cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
696 stars 272 forks source link

NPCs are blind outside about 4 tiles #1219

Closed chaosvolt closed 2 years ago

chaosvolt commented 2 years ago

Describe the bug

I noticed recently while cleaning out a next of bandits that they would wander in the direction of my gunfire but not actually charge me, and soon realized the ! indicator to show them as being able to see me wasn't popping up.

Later on I killed another hostile NPC via hit-and-run with a crossbow, and realized that the otherwise-unimpaired NPC was only able to see me if I got within 4 tiles or so, despite it being broad daylight.

Steps To Reproduce

  1. Find a bandit or other hostile NPC.
  2. Check to see if it says they can see you.
  3. Get about 10 tiles away, ideally in broad daylight.
  4. Observe your lack of deadness.

Expected behavior

For NPCs to be able to see however far out during daytime is considered normal range.

Screenshots

Versions and configuration

Additional context

Coolthulhu commented 2 years ago

Need re-test

chaosvolt commented 2 years ago

Retesting on:

- OS: Windows
    - OS Version: 10.0 1809
- Game Version: 25ad09d [64-bit]
- Graphics Version: Tiles
- Game Language:  []
- Mods loaded: [
    Bright Nights [dda],
    Elevated bridges [elevated_bridges],
    No Fungal Monsters [No_Fungi],
    Disable NPC Needs [no_npc_food],
    Manual Bionic Installation [manualbionicinstall],
    Simplified Nutrition [novitamins]
]

I spawned in a bandit camp and walked around it until one of the bandits, roughly 30 tiles away, was in view. They pretty much immediately printed the "gets angry" message and started approaching me.

So I don't know what was going on in the previous version nor what could've changed to make them work just fine now.