zcnpci/README.md
2026-05-27 12:13:26 -04:00

1.4 KiB

Z-City NPC Integration

Adds better NPC integration for the Garry's Mod addon Z-City. While Z-City has a convar that enables the custom health system on NPCs, it really isn't the best or most advanced thing in the world. This has irritated me since I first started using Z-City. Therefore, I've decided to take care of the problem myself with my own plugin.

  • NPCs can now be alive while ragdolled, and can move around in that state.
  • NPCs can collapse due to unconsciousness or pain.
  • NPCs can get back up after being ragdolled.
  • Various configurableperformance settings are included, with the biggest one being automatic corpse removal.

This plugin is based off of Kazarei's Euphoria, which in turn is a fork of Fedhoria by Rama. Credits to them for making the cool thing.

Known issues

  • Kicking NPCs does not knock them down. The same goes for many melee attacks. This is not something I can easily fix -- I would have to override code in Z-City, which I would rather not do.
  • NPCs currently instantly get up, with no animation. I plan on remedying this in the future.
  • Enemy NPCs will not target living downed NPCs. This is an issue I plan on fixing.

Incompatibilities

  • Any mod that modifies the behavior of death ragdolls (Reagdoll, Artagdoll, Fedhoria)

Future plans

No guarantees any of this will become real.

  • NPCs will back out of combat when injured.
  • Friendly NPCs can heal each other.
  • NPCs can heal themselves.