Spielerando

Let a wounded animal run away, unless it is cornered or guarding young

Wild animals that fight to the last point of health feel like monsters. Animals that always run feel too easy. This entry gives each animal its own courage and a few clear exceptions, so hunting feels like a real animal with real reasons.

Why this works

Real animals protect themselves first, and the player can only read them if the reason is visible. When fleeing follows clear conditions such as pain, an open way out and young nearby, the player can learn the rules and use them.

When not to use it

Skip it for creatures that should never stop, such as undead, machines or a final boss, and when fleeing animals would only make the player chase them across the map. Let those fight to the end or hold back.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 3 common mistakes and the fix
  • 21 lines of example code with 4 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "Let a wounded animal run away, unless it is cornered or guarding young" (read_entry wild-animal-flees-when-hurt) in my game. Build it step by step, and show me how you checked that it works.

Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP