On this page
Explosive Keg: the feature checklist
Explosive Keg is a Battlefield Heroes ability, Gunner. This page is its checklist from the project's feature ledger: every step of the original's code behind it and every situation it must work in, each with the proof that stands for it, or none. The ledger's status today: 6 of 25 lines checked.
Situations: 1 of 16 checked for what the game does, no such lines for what a player sees. The original's code: 5 of 9 checked (5 functions and 4 inner calls). By the ledger's rule this feature is not called done, fixed or the same as the original. The ledger was written on 2026-11-28 11:55.
Every line has a kind: W, what the game does with nothing to see (a number, a speed, a refusal), or S, what a player sees or hears. A W line is checked by a test written from the original's code or by a play with a recorded pass; an S line only by a recorded play whose pixels an assert reads, or that a person looked at and wrote so. A scenario that merely exists, a test that merely calls the Rust function and a read of the listing are not checks. All feature checklists explains the rule.
What it is for a player#
25 / 30 / 35 damage within 6 m, 40 / 45 within 8 m, after 3 s; a slow from level 2 (Gunner)
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | Explosive Keg |
| kind | ability, Gunner |
| in the game's data | ExplosiveKeg_BRI / ExplosiveKeg_GER (2046 to 2053, 2151, 2152) |
| what it acts on (the ledger's tags) | targets-enemies |
| its row in the sweeps | notes/bfheroes/ability_sweep.md, the row Explosive Keg; notes/bfheroes/abilities_table.md rows G1-L1 to G1-L5 |
The original's entry functions#
Where the original starts doing it (BFHeroes.exe 1.126). The code behind the feature is everything these reach.
| Address | What it is, in the ledger's words | Followed |
|---|---|---|
0x00753ebe | the damage function, a shared step of every hit: this feature's part is its speed item (its lines 2302 to 2345, at 0x00756c1c): the victim's slow from level 2 | as a part: its calls are not followed |
0x007281aa | the splash's fall-off | whole |
0x007064f6 | the projectile's update, a shared step of every projectile | as a part: its calls are not followed |
0x0072a930 | the explosion, a shared step of every blast | as a part: its calls are not followed |
0x0072a3b0 | the splash, a shared step of every blast | as a part: its calls are not followed |
The situations#
Every situation the ledger's matrix names for a feature of this kind, with its two lines side by side. "Has a scenario, no recorded pass" and "passed on a branch not landed" are the ledger's words for a play that is not a check yet.
| Situation | What the game does (W) | What a player sees (S) | Note |
|---|---|---|---|
| used on foot | checked: play with a recorded pass, pixels read (scenario bfh_client_keg_trail (PASS in run 20261128_013337_verify_c656255_lane3 on c656255)) | no such line | |
| used at the wheel of a vehicle | open: not checked | no such line | |
| used from a passenger's or a gunner's seat | open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_gunner (no recorded result)) | no such line | played by state: no screenshot is read |
| enemy sitting in a vehicle | open: not checked | no such line | |
| the user dies while it runs | open: not checked | no such line | |
| after the user respawns | open: not checked | no such line | |
| the round ends while it runs, and the next round starts clean | open: not checked | no such line | |
| the map changes while it runs | open: not checked | no such line | |
| a player who joins while it runs sees it | open: not checked | no such line | |
| watching a team mate who uses it (after dying, or as a spectator) | open: not checked | no such line | |
| team mates against enemies (who gets it and who does not) | open: not checked | no such line | |
| in water (swimming) | open: not checked | no such line | |
| on a ladder | open: not checked | no such line | |
| while another effect runs on the same hero | open: not checked | no such line | |
| the effect on a target or user in a vehicle seat is drawn on the vehicle | open: not checked | no such line | |
| triggered in a round's last seconds, the next round | open: not checked | no such line |
Recorded plays#
4 more scenarios the ledger names have no row in the records file: bfh_r0105_keg, bfh_client_keg_trail, bfh_keg, bfh_r0105_seat_keys_gunner.
A recorded pass on a commit that is not in the tree's history counts, in the ledger's words, as "passed on a branch not landed", and is not a check. A run is named by its folder's name; the runs themselves are not published, so a row links to nothing. The ledger also reads run folders that this file does not hold; the tables above carry its verdicts.
The code behind it#
5 functions of the original reachable from the entries, as the ledger's tool walked them: each with its kind, the port's place, the proof that stands for it and that proof's kind. "Checked" is the ledger's tick; a row that is no line of the checklist (library code, shared engine code that is tested in its own game) says so.
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x00753ebe FUN_00753ebe | W | entry, depth 0 | crates/bf2-gameplay/src/kills/bookkeeping.rs:646 (fn handle_damage_2142) | crates/bf2-gameplay/src/kills/bookkeeping.rs:976 (fn field_owner_gets_the_kill_assist_before_the_damage_share), crates/bf2-server/tests/seated_kill_heroes.rs:3 (fn a_seated_heros_kill_ends_at_zero_hit_points) | test from the original's code | yes: PART: entered without its calls (expand = false) |
0x007281aa FUN_007281aa | W | entry, depth 0 | crates/bfh-game/src/explosion.rs:30 (fn falloff) | crates/bf2-server/src/projectile_armor.rs:781 (fn a_bullet_gives_a_struck_projectiles_armor_its_damage_times_the_cell_above_a_hundredth) | test from the original's code | yes |
0x007064f6 world::GenericProjectile::handleUpdate | W | entry, depth 0 | crates/bf2-server/src/damage_explosion.rs:1412 (fn message_detonation_asks_arming) | scenario bfh_r0105_teleport_inside_page (PASS in run 20261127_224059_f16p3 on ca4f005) | play with a recorded pass, pixels read | yes: PART: entered without its calls (expand = false) |
0x0072a930 FUN_0072a930 | W | entry, depth 0 | crates/bf2-server/src/abilities_heroes.rs:3737 (fn stomp_vehicles) | scenario bfh_r0105_stomp_things (PASS in run 20261119_195653_h8k1 on 9bf2f6d) | play with a recorded pass, state asserts | yes: PART: entered without its calls (expand = false) |
0x0072a3b0 FUN_0072a3b0 | W | entry, depth 0 | crates/bf2-server/src/crit_heroes.rs:105 (fn held_explosion_damage_mod) | crates/bf2-server/src/damage_explosion.rs:2168 (fn a_keg_does_full_damage_at_2_5_m_with_its_hot_spot) | test from the original's code | yes: PART: entered without its calls (expand = false) |
Inner calls#
A call through a virtual table has no line in the call graph; the ledger lists every one it met: 4 here, 4 of them open lines (nobody has named what they call, or what they call is not checked).
What is open#
In a player's words, as the ledger writes them:
- used at the wheel of a vehicle: not checked
- used from a passenger's or a gunner's seat: has a scenario, no recorded pass
- enemy sitting in a vehicle: not checked
- the user dies while it runs: not checked
- after the user respawns: not checked
- the round ends while it runs, and the next round starts clean: not checked
- the map changes while it runs: not checked
- a player who joins while it runs sees it: not checked
- watching a team mate who uses it (after dying, or as a spectator): not checked
- team mates against enemies (who gets it and who does not): not checked
- in water (swimming): not checked
- on a ladder: not checked
- while another effect runs on the same hero: not checked
- the effect on a target or user in a vehicle seat is drawn on the vehicle: not checked
- triggered in a round's last seconds, the next round: not checked
And 4 lines about the original's code:
- a large shared step of the original (0x00753ebe) is on the list by itself: what it calls for this feature is not followed yet
- a large shared step of the original (0x007064f6) is on the list by itself: what it calls for this feature is not followed yet
- a large shared step of the original (0x0072a930) is on the list by itself: what it calls for this feature is not followed yet
- a large shared step of the original (0x0072a3b0) is on the list by itself: what it calls for this feature is not followed yet
How it is tested#
This page is the answer: the tables above name each test and each played scenario that stands for a line, with its kind. The ledger's own tool refuses a status that disagrees with its rows, a tick the rule does not give, and a proof that is not in the tree (feature_ledger.py --check). The wiki's test checks that this page says done only where the ledger does.
In the code#
| What | Where |
|---|---|
| this feature's ledger | notes/bfheroes/features/ability/explosive_keg.toml (its ticks: the folder notes/bfheroes/features/ability/explosive_keg.ticks) |
| the ledger's rule | notes/bfheroes/features/README.md |
| the recorded results | notes/bfheroes/features/records/<run>.tsv |
| the tool that walks the original's call graph and computes the status | tools/bfheroes/feature_ledger.py |
| the counter the ledger was made with | bfheroes e7ed773 2026-11-28T11:50:06 |
| this page's maker | tools/devwiki/features.py |
tools/devwiki/features.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.