On this page
Grenade Spam: the feature checklist
Grenade Spam is a Battlefield Heroes ability, Soldier. 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: 2 of 58 lines checked.
Situations: 0 of 16 checked for what the game does, 0 of 16 for what a player sees. The original's code: 2 of 26 checked (3 functions and 23 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#
3 / 4 / 5 / 6 / 7 grenades of 20 / 17 / 15 / 13 / 12 damage within 10 m; ready again after 20 down to 12 s (Soldier)
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | Grenade Spam |
| kind | ability, Soldier |
| in the game's data | GrenadeSpam_BRI_HGrenade_Millsbomb / GrenadeSpam_GER_HGrenade_Stielhandgranate, levels 1 to 5 (2065 to 2074) |
| what it acts on (the ledger's tags) | targets-enemies |
| its row in the sweeps | notes/bfheroes/ability_sweep.md, the row Grenade Spam; notes/bfheroes/abilities_table.md rows S4-L1 to S4-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 |
|---|---|---|
0x00797fcd | the fire, a shared step of every weapon: this feature's part is the throw's spread and the fuse's draw | as a part: its calls are not followed |
0x009634e6 | the rotational projectile's object test | whole |
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: has a scenario, no recorded pass (scenario bfh_r0105_grenades (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_grenades (no recorded result)) | played by state: no screenshot is read |
| used at the wheel of a vehicle | open: not checked | open: not checked | |
| used from a passenger's or a gunner's seat | open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_soldier (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_soldier (no recorded result)) | played by state: no screenshot is read |
| enemy sitting in a vehicle | open: not checked | open: not checked | |
| the user dies while it runs | open: not checked | open: not checked | |
| after the user respawns | open: not checked | open: not checked | |
| 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: has a scenario, no recorded pass (scenario bfh_grenade_in_hand_swim (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_grenade_in_hand_swim (no recorded result)) | played by state: no screenshot is read |
| on a ladder | open: has a scenario, no recorded pass (scenario bfh_grenade_in_hand_ladder_grab (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_grenade_in_hand_ladder_grab (no recorded result)) | played by state: no screenshot is read |
| while another effect runs on the same hero | open: not checked | open: not checked | |
| the effect on a target or user in a vehicle seat is drawn on the vehicle | open: not checked | open: not checked | |
| triggered in a round's last seconds, the next round | open: not checked | open: not checked |
Recorded plays#
5 more scenarios the ledger names have no row in the records file: bfh_grenade_in_hand_swim, bfh_r0105_grenades, bfh_grenade_spam_levels, bfh_grenade_in_hand_ladder_grab, bfh_r0105_seat_keys_soldier.
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#
19 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 |
|---|---|---|---|---|---|---|
0x00797fcd FUN_00797fcd | S | entry, depth 0 | crates/bf2-client/src/networld.rs:3040 (fn apply) | crates/bf2-client/tests/heroes_ammo_pool.rs:188 (fn alternate_shot_launches_its_projectile_keyed_to_the_arm), crates/bf2-server/tests/stay_active_return_heroes.rs:134 (fn heroes_water_entry_gives_list_0_the_gun_for_an_abilitys_weapon_or_a_fire_in_state_3) | test from the original's code | yes: PART: entered without its calls (expand = false) |
0x009634e6 world::RotationalPointResponsePhysics::checkObjectVsObject | S | entry, depth 0 | crates/bf2-client/src/local_projectiles.rs:682 (fn rot_object_pass) | crates/bf2-world/tests/rot_object_bfh126.rs:1 (fn answer) | test from the original's code | yes |
0x004073a5 FUN_004073a5 | W | 0x009634e6, depth 1 | not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it | |||
0x004073ce ~animationSystem::setCameraSpring.amplitude | W | 0x009634e6, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x00496df4 FUN_00496df4 | W | 0x009634e6, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00496f01 FUN_00496f01 | W | 0x009634e6, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00497864 FUN_00497864 | W | 0x009634e6, depth 1 | crates/bf2-physics/src/soldier.rs:866 (fn add_acceleration_in) | crates/bf2-physics/tests/heroes_movement_matrix.rs:94 (fn heroes_vec3_add_assign_adds_each_component_into_the_nodes_acceleration) | not a line: hub (74 callers): not expanded | |
0x004984f5 FUN_004984f5 | W | 0x009634e6, depth 1 | crates/bf2-physics/src/culler.rs:945 (fn sub_bfh126) | bfh_ability_overload, bfh_alt_fire_ammo_pool | not a line: hub (144 callers): not expanded | |
0x0049d61d FUN_0049d61d | W | 0x009634e6, depth 1 | 1.89 twin 0x00491e76 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-gameplay/tests/dot_bfh126.rs:1 (fn the_dot_product_is_heroes_machine_code_bit_for_bit), crates/bf2-world/src/wind_affector.rs:372 (fn heroes_cylinder_sums) | not a line: hub (112 callers): not expanded | |
0x0049d641 FUN_0049d641 | S | 0x009634e6, depth 1 | crates/bf2-client/src/fx/collision.rs:121 (fn ground_hit_distance) | crates/bf2-client/src/fx/mod.rs:4541 (fn heroes_speed_inherit_order) | not a line: hub (301 callers): not expanded | |
0x004a0e85 FUN_004a0e85 | W | 0x009634e6, depth 1 | 1.89 twin 0x0049550d pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-server/src/damage_trigger.rs:1193, crates/bf2-server/src/radio.rs:990 | not a line: hub (63 callers): not expanded | |
0x004a57d7 FUN_004a57d7 | W | 0x009634e6, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x004a580f FUN_004a580f | W | 0x009634e6, depth 1 | crates/bf2-core/src/fmath.rs:36 (fn normalize3) | bfh_normalize3, gen_bfh_normalize3 | not a line: hub (132 callers): not expanded | |
0x00533b17 FUN_00533b17 | W | 0x009634e6, depth 1 | crates/bf2-game/src/game_logic_uncalled_bf2.rs:369 (fn float_min_client) | crates/bfh-game/tests/uncalled_rounds_bfh126.rs:550 (fn the_float_min_answers_the_first_only_when_it_is_below) | not a line: hub (74 callers): not expanded | |
0x0072b76b FUN_0072b76b | W | 0x009634e6, depth 1 | crates/bf2-physics/src/vecmath.rs:34 (fn zero_tiny) | crates/bf2-physics/tests/zero_tiny_bfh126.rs:1 (fn heroes) | not a line: hub (40 callers): not expanded | |
0x0088f213 FUN_0088f213 | W | 0x009634e6, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x009bd22c FUN_009bd22c | W | 0x009634e6, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x009f127c MSVCR90.DLL::_CIsqrt | S | 0x009634e6, depth 1 | crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt) | bfh_ability_overload, bfh_apparel_ingame | not a line: hub (253 callers): not expanded | |
0x0095ddee FUN_0095ddee | W | 0x009634e6 vt+0x3c, depth 1 | not ported | none | open |
Inner calls#
A call through a virtual table has no line in the call graph; the ledger lists every one it met: 24 here, 23 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): has a scenario, no recorded pass
- used on foot (what you see): has a scenario, no recorded pass
- used at the wheel of a vehicle (what it does): not checked
- used at the wheel of a vehicle (what you see): not checked
- used from a passenger's or a gunner's seat (what it does): has a scenario, no recorded pass
- used from a passenger's or a gunner's seat (what you see): has a scenario, no recorded pass
- enemy sitting in a vehicle (what it does): not checked
- enemy sitting in a vehicle (what you see): not checked
- 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 it does): not checked
- after the user respawns (what you see): not checked
- 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): has a scenario, no recorded pass
- in water (swimming) (what you see): has a scenario, no recorded pass
- on a ladder (what it does): has a scenario, no recorded pass
- on a ladder (what you see): has a scenario, no recorded pass
- while another effect runs on the same hero (what it does): not checked
- while another effect runs on the same hero (what you see): not checked
- the effect on a target or user in a vehicle seat is drawn on the vehicle (what it does): not checked
- the effect on a target or user in a vehicle seat is drawn on the vehicle (what you see): not checked
- triggered in a round's last seconds, the next round (what it does): not checked
- triggered in a round's last seconds, the next round (what you see): not checked
And 24 lines about the original's code:
- a step of the original (FUN_0095ddee): this part of the original is in no count of ours: nobody has placed it
- a large shared step of the original (0x00797fcd) is on the list by itself: what it calls for this feature is not followed yet
- an inner call of the original (in 0x009634e6, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x1c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x58) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x58) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x5c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x5c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x60) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x60) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x60) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x64) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x74) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x78) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x78) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x7c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x88) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x8c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0xa4) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0xac) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0xb4) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0xb4) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0xc4) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x009634e6, slot 0x124) is not followed yet: nobody has named what it calls
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/grenade_spam.toml (its ticks: the folder notes/bfheroes/features/ability/grenade_spam.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.