Abandoned Body Takeover

by Cichy Laslo
Abandoned Body Takeover

Summary

No one left behind. When a wounded player gives up, quits or disconnects, his unconscious body stays - for medics to save and for a teammate to take over.

Description

Abandoned Body Takeover keeps an unconscious soldier in the world when his player leaves him - by giving up (Respawn in the pause menu), quitting the game or losing connection. In vanilla that body disappears and the medic's work is lost. With ABT it stays to be treated and evacuated, and - if the server allows it - a teammate can respawn into it once it is stabilized.

HOW IT WORKS
- Only unconscious characters. Kick and ban stay vanilla.
- Giving up is still a death for the player, as in vanilla (score, XP, rank, respawn timer). Only the body stays alive.
- The body stays unconscious even when healed. Enemies treat it as any other character.
- Once stabilized (when the game would wake the character up), the body appears in the deploy menu as "<name> (casualty)", for its own faction only. The player who takes it over wakes up after the get-up animation and gets XP ("Casualty taken over").
- The owner has priority: during the server's reconnect window only he can take the body. A player who reconnects in time gets his body back as in vanilla.
- Slot limit: the server slots are split equally between the playable factions. Living players + bodies of a faction never exceed its share; above it, its new players can only deploy into its bodies ("Slots held by casualties"). A faction without bodies is never blocked.
- Send back home: a stabilized body within the healing range of its faction's field hospital can be sent home by any player of that faction (hold the action). The body is removed with its gear, its slot is freed and the player gets XP ("Casualty sent home"). Not while the owner can still return, nor while the body is in a vehicle.
- A body that dies leaves a normal corpse. ABT never changes health rules: bleeding, damage and death follow vanilla, ACE or any other medical mod.

SETTINGS
"missionHeader": {
  "m_ABT_Settings": {
    "m_iEnabled": 1,
    "m_iAbandonOnPauseMenuRespawn": 1,
    "m_iAbandonOnQuit": 1,
    "m_iAbandonOnConnectionLoss": 1,
    "m_iTakeoverEnabled": 1,
    "m_iTakeoverXP": 10,
    "m_iSlotLimitEnabled": 1,
    "m_iBodyMaxAgeSeconds": 0,
    "m_iMaxBodiesPerFaction": 0,
    "m_iSendHomeEnabled": 1,
    "m_iSendHomeXP": 50,
    "m_iDebugLog": 0
  }
}

Switches: 1 on, 0 off. A field set to -1 or left out takes the scenario's value.
- m_iEnabled - master switch; 0 = fully vanilla.
- m_iAbandonOnPauseMenuRespawn / m_iAbandonOnQuit / m_iAbandonOnConnectionLoss - which ways of leaving keep the body; 0 = vanilla for that one.
- m_iTakeoverEnabled - 0 = nobody can respawn into a body, not even the owner; bodies stay for medics, Send back home and the limits. The vanilla reconnect still works.
- m_iTakeoverXP / m_iSendHomeXP - XP for taking over someone else's body / for sending a body home, in game modes with XP (e.g. Conflict); 0 = none. Consider them together with the game mode's suicide penalty.
- m_iSlotLimitEnabled - slot limit described above (share of maxPlayers). With takeover off, a faction at its share waits until its bodies are sent home or die - use field hospitals or a body max age.
- m_iBodyMaxAgeSeconds - seconds a body lasts, then it dies; 0 = unlimited.
- m_iMaxBodiesPerFaction - at the limit the oldest body of that faction dies; 0 = unlimited.
- m_iSendHomeEnabled - "Send back home" at field hospitals.
- m_iDebugLog - detailed [ABT] lines in the server log.

Scenario authors: the same settings are attributes of the game mode entity, category "Abandoned Body Takeover".
Server config > scenario. The server log shows the settings in use at every game start (line starting with [ABT] Settings).

COMPATIBILITY
- Requires Universal Events Bus (UEB).
- Hooks into vanilla reconnect, respawn, deploy menu, consciousness and XP through modded classes, and adds the Send back home action to the base character prefab.
- Made for vanilla and ACE Medical; tested in Conflict.

FOR MODDERS
- Events on the Universal Events Bus, category "abt": abt_abandoned, abt_stabilized, abt_takeover, abt_sent_home, abt_body_lost, abt_slot_limit. Subjects "owner" (who left the body) and "actor" (who acted on it). Universal Events Logger can log them.
- XP reward IDs: SCR_EXPRewards.ABT_TAKEOVER (39100), SCR_EXPRewards.ABT_SEND_HOME (39101).

* If you have any comments or suggestions, you can find me on the official Arma Discord as @CichyLaslo.

License

Arma Public License Share Alike (APL-SA)

Version
1.0.1
Game Version
1.9.0.37
Version size
60.44 KB
Downloads
2
Created
15.11.2026
Last Modified
18.11.2026
ID
6ADD2572C1B47AAE

Dependencies