CleverRaven / Cataclysm-DDA

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

NPCs panic suicidally #75243

Open Agnistel opened 3 months ago

Agnistel commented 3 months ago

Describe the bug

If there is a horde or a single strong enemy in sight/nearby, or a fire nearby, npcs stop following you and begin to panic, running side to side until they are grabbed by enemies or they run far enough away from the fire. This makes it impossible to get NPCs out of the city or escape the horde together.

If you increase their bravery to the maximum via debug, the panic attacks become much less frequent, but in the city they still continue to panic and rush into the arms of the horde.

Attach save file

Хулберт-trimmed.tar.gz

Steps to reproduce

  1. Spawn friendly NPC
  2. Spawn horde
  3. Prohibit companion from fighting and order them to follow alongside.
  4. They begin to panic and run towards the horde, allowing the zombies to grab them

Expected behavior

Npcs do not panic while they are near you or during a panic they run away from danger rather than towards death

or allow them to be dragged along with you like pets so that they don’t run away

Screenshots

test2 test3

Versions and configuration

Windows 10, 64-bit Last experimental Russian/English languages With or without mods

Additional context

No response

PGR-14 commented 3 months ago

This really needs to be fixed, right now, they used to act like the futile fighter & attack anything in sight, but now they run from anything & anyone