Back to community

Hot take: FiveM ped AI is actually fine, you're just not configuring it right

67 rep274 views1 min read

every time i see "fivem peds are dumb" posts i die a little.

most of you have:

  • population multiplier set too low (peds don't have time to react)
  • relationship groups still default (so they treat the player like a citizen even when shooting)
  • no behavior overrides on key event types

simple fix: write a small script that sets relationship groups properly based on context (cop chase, gang area, etc), bumps the alertness flag, and lets peds actually flee or fight.

i'll write a tutorial if there's interest. just had to vent because i saw 3 posts this week saying "fivem ai sucks" lmao

12 3 commentsSign in to vote

Comments (3)

Sign in to leave a comment.
  • yes please. especially the cop chase part, my cops just shoot at walls

    2 points
    • lo0py

      noted, will write it up this weekend

  • tutorial pls, i've been wanting to fix this for ages but the docs on relationship groups are garbage

    0 points