BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
Battlefield Heroes
On this page

Explosive Keg: the feature checklist

Heroes

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.

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.

What a check is

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 knowsExplosive Keg
kindability, Gunner
in the game's dataExplosiveKeg_BRI / ExplosiveKeg_GER (2046 to 2053, 2151, 2152)
what it acts on (the ledger's tags)targets-enemies
its row in the sweepsnotes/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.

AddressWhat it is, in the ledger's wordsFollowed
0x00753ebethe 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 2as a part: its calls are not followed
0x007281aathe splash's fall-offwhole
0x007064f6the projectile's update, a shared step of every projectileas a part: its calls are not followed
0x0072a930the explosion, a shared step of every blastas a part: its calls are not followed
0x0072a3b0the splash, a shared step of every blastas 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.

SituationWhat the game does (W)What a player sees (S)Note
used on footchecked: 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 vehicleopen: not checkedno such line
used from a passenger's or a gunner's seatopen: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_gunner (no recorded result))no such lineplayed by state: no screenshot is read
enemy sitting in a vehicleopen: not checkedno such line
the user dies while it runsopen: not checkedno such line
after the user respawnsopen: not checkedno such line
the round ends while it runs, and the next round starts cleanopen: not checkedno such line
the map changes while it runsopen: not checkedno such line
a player who joins while it runs sees itopen: not checkedno such line
watching a team mate who uses it (after dying, or as a spectator)open: not checkedno such line
team mates against enemies (who gets it and who does not)open: not checkedno such line
in water (swimming)open: not checkedno such line
on a ladderopen: not checkedno such line
while another effect runs on the same heroopen: not checkedno such line
the effect on a target or user in a vehicle seat is drawn on the vehicleopen: not checkedno such line
triggered in a round's last seconds, the next roundopen: not checkedno 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 functionKindReachedOursProofIts kindChecked
0x00753ebe FUN_00753ebeWentry, depth 0crates/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 codeyes: PART: entered without its calls (expand = false)
0x007281aa FUN_007281aaWentry, depth 0crates/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 codeyes
0x007064f6 world::GenericProjectile::handleUpdateWentry, depth 0crates/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 readyes: PART: entered without its calls (expand = false)
0x0072a930 FUN_0072a930Wentry, depth 0crates/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 assertsyes: PART: entered without its calls (expand = false)
0x0072a3b0 FUN_0072a3b0Wentry, depth 0crates/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 codeyes: 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#

WhatWhere
this feature's ledgernotes/bfheroes/features/ability/explosive_keg.toml (its ticks: the folder notes/bfheroes/features/ability/explosive_keg.ticks)
the ledger's rulenotes/bfheroes/features/README.md
the recorded resultsnotes/bfheroes/features/records/<run>.tsv
the tool that walks the original's call graph and computes the statustools/bfheroes/feature_ledger.py
the counter the ledger was made withbfheroes e7ed773 2026-11-28T11:50:06
this page's makertools/devwiki/features.py
Source: tools/devwiki/features.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.