Tutorial / Tools > AI
Reanimate
Bring dead NPCs back: they follow you and take orders.
What it does
Reanimate brings a dead NPC back where it died. It rises with the same kind, model, skin and weapon, likes you and follows you. It is named "Reanimated ..." and looks pale green by default.
Your reanimated NPCs defend you when a player or NPC attacks you. They are removed when you leave the server.
A command wheel gives them orders: follow, stay, go somewhere, attack, guard a spot, wander, come to you, or release.
Where to find it
Q menu > KGX's Admin Toolbox > AI > Reanimate.
Admins can use it. Other players can use it only if they are given the tool in Settings > Player Access. The server settings in the panel can be changed by superadmins only.
You can also bind a key to open the command wheel at any time you have reanimated NPCs: in the tool panel or in Settings > Keybinds.
Given to a player (v3.6.11.3): Their own reanimated NPCs (they drop no weapons); attack: never the server's NPCs, players only with kgxat_grant_others.
Controls
| Key | What it does |
|---|---|
| Left click | Reanimate the corpse you aim at (or where it died) |
| Right click | Open the command wheel. Aim first: where to go, or whom to attack. |
| Reload | All of them follow you |
The command wheel
| Order | What it does |
|---|---|
| Follow me | They follow you |
| Stay here | They hold where they stand |
| Go there | They run to where you aimed, spread out |
| Attack that | They attack the player or NPC you aimed at |
| Guard there | They guard the spot you aimed at, within 300 units |
| Wander | They wander around |
| Come here | They run to you |
| Release (they die) | They die |
Move the mouse toward an order and left click it. Right click closes the wheel. If you aimed at one of your own NPCs when you opened the wheel, the order goes to that one only (except Attack that).
Options
| Option | What it does | Default |
|---|---|---|
| Key for the command wheel (any time you have reanimated NPCs; recommended: I): | A key that opens the wheel, also without the tool out | None |
Server (superadmins)
| Option | What it does | Default | Range |
|---|---|---|---|
| Reanimate works | Turns the tool on or off | On | |
| Seconds after death a corpse can be brought back | How long a corpse stays usable | 300 | 10-3600 |
| Reanimated NPCs per player | Most each player may have | 5 | 1-50 |
| Their health (% of what they had) | Percent of the NPC's old max health | 75 | 1-300 |
| Seconds they live (0 = until killed) | They die after this time | 0 | 0-3600 |
| They look pale green | Green tint | On | |
| They attack other players (off: they ignore them unless told) | Hostile to other players | Off | |
| Apply the numbers above | Saves the slider values |
How to use it
Raise a fallen soldier
- Kill an NPC, or find one that died recently.
- Aim at its corpse, or where it died, and left click.
- It rises and follows you. The HUD shows how many you have and how long corpses stay usable.
Send your NPCs to attack
- Aim at the target player or NPC.
- Right click (or press your wheel key) to open the wheel.
- Click Attack that.
Hold a doorway
- Aim at the doorway.
- Open the wheel and click Guard there.
Settings and commands
| Setting | Default | Range |
|---|---|---|
kgxat_reanimate |
1 | 0-1 |
kgxat_reanimate_window |
300 | 10-3600 |
kgxat_reanimate_max |
5 | 1-50 |
kgxat_reanimate_health |
75 | 1-300 |
kgxat_reanimate_lifetime |
0 | 0-3600 |
kgxat_reanimate_tint |
1 | 0-1 |
kgxat_reanimate_hostile |
0 | 0-1 |
kgxat_reanimate_key (client) |
0 (none) | Any key |
Tips and limits
- The corpse must be within 160 units of where you aim, and must have died within the reanimate window.
- Deaths are only remembered while Reanimate is on. The server remembers the last 64 deaths.
- Once you have the most allowed, you must release some before raising more.
- Reanimated NPCs like each other. Other players are ignored unless
kgxat_reanimate_hostileis on. - Attack that needs a player or NPC under your aim that is not you or one of yours.
- Each reanimation is written to the server log.