On this page
Tank shell (the cannon of the Sherman and the Panzer): the feature checklist
Tank shell (the cannon of the Sherman and the Panzer) is a Battlefield Heroes vehicle. 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: 18 of 64 lines checked.
Situations: 15 of 29 checked for what the game does, 0 of 29 for what a player sees. The original's code: 3 of 6 checked (3 functions and 3 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 21:44.
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#
The ledger holds no sentence of what the feature does for a player, and no row of the wiki's abilities and widgets tables carries this feature's name.
| the name a player knows | Tank shell (the cannon of the Sherman and the Panzer) |
| kind | vehicle |
| in the game's data | BRI_Tank_Sherman_Barrel, GER_Tank_PanzerIV_01_Barrel (the shell: BRI_Tank_Sherman_Barrel_Projectile) |
| what it acts on (the ledger's tags) | targets-enemies |
| its row in the sweeps | notes/bfheroes/vehicle_sweep.md, the row the tank's cannon |
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 |
|---|---|---|
0x0072a3b0 | the detonation's damage to one candidate, a shared step of every explosive: this feature's part is the round's burst | as a part: its calls are not followed |
0x00728c03 | the explosion, a shared step: this feature's part is who the round's burst reaches, and its force | as a part: its calls are not followed |
0x0082898a | the armor's damage, a shared step of every vehicle: this feature's part is the hit points a struck tank, jeep or plane loses | 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 | open: not checked | open: not checked | |
| used at the wheel of a vehicle | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | |
| used from a passenger's or a gunner's seat | open: not checked | open: not checked | |
| enemy sitting in a vehicle | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_occupied (PASS in run 20261128_180130_suite2_c656255 on 719d3b3)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_occupied (PASS in run 20261128_180130_suite2_c656255 on 719d3b3)) | an enemy at the wheel of a tank (the hull takes it, he nothing) and of a jeep (he and the jeep lose hit points) |
| the user dies while it runs | open: not checked | open: not checked | |
| after the user respawns | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_respawn (PASS in run 20261128_180006_suite2_c656255 on 719d3b3)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_respawn (PASS in run 20261128_180006_suite2_c656255 on 719d3b3)) | he died in his wrecked tank; the entry is the enter key's |
| the round ends while it runs, and the next round starts clean | open: not checked | open: not checked | |
| the map changes while it runs | open: not checked | open: not checked | |
| a player who joins while it runs sees it | open: not checked | open: not checked | |
| watching a team mate who uses it (after dying, or as a spectator) | open: not checked | open: not checked | |
| team mates against enemies (who gets it and who does not) | open: not checked | open: not checked | |
| in water (swimming) | open: not checked | open: not checked | |
| on a ladder | open: not checked | open: not checked | |
| while another effect runs on the same hero | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | fired while the shooter's own Tank Shield runs, and after a widget key the seat refuses |
| fired at an enemy tank | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | |
| fired at an enemy jeep | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | |
| fired at an enemy plane standing on the ground | open: not checked | open: not checked | |
| a direct hit on an enemy soldier | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell (PASS in run 20261128_163912_tip_aafdba4 on aafdba4)) | |
| bursting beside an enemy soldier | open: not checked | open: not checked | |
| fired by a player on the browser client | open: not checked | open: not checked | |
| from the new vehicle after the shooter's own was wrecked | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_respawn (PASS in run 20261128_180006_suite2_c656255 on 719d3b3)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_respawn (PASS in run 20261128_180006_suite2_c656255 on 719d3b3)) | |
| fired at a bot | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_bots (PASS in run 20261128_175504_suite_c656255 on 719d3b3)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_bots (PASS in run 20261128_175504_suite_c656255 on 719d3b3)) | bots on foot; no bot sat in a vehicle in the plays |
| from a vehicle entered in the warm-up and kept into the counted round | open: not checked | open: not checked | |
| fired by a lone player in a warm-up round | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_lone_warmup (PASS in run 20261128_191157_suite_c656255 on d3ed25a)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_lone_warmup (PASS in run 20261128_191157_suite_c656255 on d3ed25a)) | |
| after a widget key pressed in the seat | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_lone_warmup (PASS in run 20261128_191157_suite_c656255 on d3ed25a)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_lone_warmup (PASS in run 20261128_191157_suite_c656255 on d3ed25a)) | keys 3 to 5: Buff_Health, TNT, a bandage |
| after a weapon key pressed in the seat | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_lone_warmup (PASS in run 20261128_191157_suite_c656255 on d3ed25a)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_lone_warmup (PASS in run 20261128_191157_suite_c656255 on d3ed25a)) | keys 1 and 2: his two hand weapons |
| from a vehicle entered right after the spawn | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_lone_warmup (PASS in run 20261128_191157_suite_c656255 on d3ed25a)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_lone_warmup (PASS in run 20261128_191157_suite_c656255 on d3ed25a)) | the enter key one second behind the spawn |
| in a later round of the same level (no level load between the rounds) | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_next_round (PASS in run 20261128_212536_suite44_37d32bc on 37d32bc)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_next_round (PASS in run 20261128_212536_suite44_37d32bc on 37d32bc)) | round two of a ranked game's three rounds a level, with bots |
| after the weapon fired late in the round before | checked: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_next_round (PASS in run 20261128_212536_suite44_37d32bc on 37d32bc)) | open: play with a recorded pass, state asserts (scenario bfh_r0114_tank_shell_next_round (PASS in run 20261128_212536_suite44_37d32bc on 37d32bc)) | the weapon's last shot of round one stands above every tick of the hero's stay in round two |
Recorded plays#
| Scenario | Last result | Run | Mode | Date | Commit | Last pass |
|---|---|---|---|---|---|---|
bfh_r0114_tank_shell_bots | PASS | 20261128_175504_suite_c656255 | headless | 2026-11-28 17:55 | 719d3b3 | 2026-11-28 17:55 at 719d3b3 |
bfh_r0114_tank_shell_lone_warmup | PASS | 20261128_191157_suite_c656255 | headless | 2026-11-28 19:11 | d3ed25a | 2026-11-28 19:11 at d3ed25a |
bfh_r0114_tank_shell | PASS | 20261128_163912_tip_aafdba4 | headless | 2026-11-28 16:39 | aafdba4 | 2026-11-28 16:39 at aafdba4 |
bfh_r0114_tank_shell_next_round | PASS | 20261128_212536_suite44_37d32bc | headless | 2026-11-28 21:25 | 37d32bc | 2026-11-28 21:25 at 37d32bc |
bfh_r0114_tank_shell_respawn | PASS | 20261128_180006_suite2_c656255 | headless | 2026-11-28 18:00 | 719d3b3 | 2026-11-28 18:00 at 719d3b3 |
bfh_r0114_tank_shell_occupied | PASS | 20261128_180130_suite2_c656255 | headless | 2026-11-28 18:01 | 719d3b3 | 2026-11-28 18:01 at 719d3b3 |
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#
3 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 |
|---|---|---|---|---|---|---|
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) |
0x00728c03 FUN_00728c03 | S | entry, depth 0 | crates/bf2-client/src/explosion.rs:145 (fn friendly_force_scale) | crates/bf2-client/src/explosion.rs:786 (fn a_team_mates_blast_stores_no_push_for_a_living_team_mate_heroes), crates/bf2-server/src/abilities_heroes.rs:4962 (fn a_team_mates_blast_pushes_a_soldier_by_the_percent_on_friendlies) | test from the original's code | yes: PART: entered without its calls (expand = false) |
0x0082898a world::ArmorGLComp::vslot18 | W | entry, depth 0 | crates/bf2-server/src/abilities_heroes.rs:2657 (fn armor_damaged) | crates/bf2-server/src/field_heroes.rs:1924 (fn a_used_up_shield_gives_the_shield_ability_a_tenth_of_a_second), crates/bf2-server/tests/shield_end_tick_heroes.rs:101 (fn the_tank_shield_is_the_driven_tanks_armors_and_takes_the_hits_first) | 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: 3 here, 3 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 on foot (what it does): not checked
- used on foot (what you see): not checked
- used at the wheel of a vehicle (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- used from a passenger's or a gunner's seat (what it does): not checked
- used from a passenger's or a gunner's seat (what you see): not checked
- enemy sitting in a vehicle (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- the user dies while it runs (what it does): not checked
- the user dies while it runs (what you see): not checked
- after the user respawns (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- the round ends while it runs, and the next round starts clean (what it does): not checked
- the round ends while it runs, and the next round starts clean (what you see): not checked
- the map changes while it runs (what it does): not checked
- the map changes while it runs (what you see): not checked
- a player who joins while it runs sees it (what it does): not checked
- a player who joins while it runs sees it (what you see): not checked
- watching a team mate who uses it (after dying, or as a spectator) (what it does): not checked
- watching a team mate who uses it (after dying, or as a spectator) (what you see): not checked
- team mates against enemies (who gets it and who does not) (what it does): not checked
- team mates against enemies (who gets it and who does not) (what you see): not checked
- in water (swimming) (what it does): not checked
- in water (swimming) (what you see): not checked
- on a ladder (what it does): not checked
- on a ladder (what you see): not checked
- while another effect runs on the same hero (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- fired at an enemy tank (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- fired at an enemy jeep (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- fired at an enemy plane standing on the ground (what it does): not checked
- fired at an enemy plane standing on the ground (what you see): not checked
- a direct hit on an enemy soldier (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- bursting beside an enemy soldier (what it does): not checked
- bursting beside an enemy soldier (what you see): not checked
- fired by a player on the browser client (what it does): not checked
- fired by a player on the browser client (what you see): not checked
- from the new vehicle after the shooter's own was wrecked (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- fired at a bot (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- from a vehicle entered in the warm-up and kept into the counted round (what it does): not checked
- from a vehicle entered in the warm-up and kept into the counted round (what you see): not checked
- fired by a lone player in a warm-up round (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- after a widget key pressed in the seat (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- after a weapon key pressed in the seat (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- from a vehicle entered right after the spawn (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- in a later round of the same level (no level load between the rounds) (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- after the weapon fired late in the round before (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
And 3 lines about the original's code:
- a large shared step of the original (0x0072a3b0) is on the list by itself: what it calls for this feature is not followed yet
- a large shared step of the original (0x00728c03) is on the list by itself: what it calls for this feature is not followed yet
- a large shared step of the original (0x0082898a) 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/vehicle/tank_shell.toml (its ticks: the folder notes/bfheroes/features/vehicle/tank_shell.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 6a56fe5 2026-11-28T21:27:07 |
| 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.