Hey developers, I need some help with creating and modifying NPC behavior. During Halloween, GTA Online introduced a new horde and zombie mode, and I’d like to replicate their behavior. In GTA Online, these zombies have proper animations and act like real zombies—they punch and move in a way that fits the theme.
I’m not interested in other mechanics like attacking the player, just their movement and animations.
Here’s an example from GTA Online:
And here’s a script from another developer showcasing these animations:
anim@ingame@melee@unarmed@streamed_variations_zombie contains a few attacks, I would just search for the word “zombie” when looking for animations, I’m sure you’ll find more, and probably a clip/movement set for movement as well.
That’s what I thought. But is there a native function that forces peds to change their attack animations? Or maybe a way to change it via .meta files?
Walk movement seems to have some existing options, but I’ve searched for ways to change ped attack animations and couldn’t find anything. If you know of any discussions or documentation about this, I’d really appreciate it!