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

Grenade Spam: the feature checklist

Heroes

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.

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.

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#

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 knowsGrenade Spam
kindability, Soldier
in the game's dataGrenadeSpam_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 sweepsnotes/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.

AddressWhat it is, in the ledger's wordsFollowed
0x00797fcdthe fire, a shared step of every weapon: this feature's part is the throw's spread and the fuse's drawas a part: its calls are not followed
0x009634e6the rotational projectile's object testwhole

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 footopen: 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 vehicleopen: not checkedopen: not checked
used from a passenger's or a gunner's seatopen: 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 vehicleopen: not checkedopen: not checked
the user dies while it runsopen: not checkedopen: not checked
after the user respawnsopen: not checkedopen: not checked
the round ends while it runs, and the next round starts cleanopen: not checkedopen: not checked
the map changes while it runsopen: not checkedopen: not checked
a player who joins while it runs sees itopen: not checkedopen: not checked
watching a team mate who uses it (after dying, or as a spectator)open: not checkedopen: not checked
team mates against enemies (who gets it and who does not)open: not checkedopen: 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 ladderopen: 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 heroopen: not checkedopen: not checked
the effect on a target or user in a vehicle seat is drawn on the vehicleopen: not checkedopen: not checked
triggered in a round's last seconds, the next roundopen: not checkedopen: 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 functionKindReachedOursProofIts kindChecked
0x00797fcd FUN_00797fcdSentry, depth 0crates/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 codeyes: PART: entered without its calls (expand = false)
0x009634e6 world::RotationalPointResponsePhysics::checkObjectVsObjectSentry, depth 0crates/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 codeyes
0x004073a5 FUN_004073a5W0x009634e6, depth 1not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it
0x004073ce ~animationSystem::setCameraSpring.amplitudeW0x009634e6, depth 1engine utility (>= 100 call sites)not a line
0x00496df4 FUN_00496df4W0x009634e6, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x00496f01 FUN_00496f01W0x009634e6, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x00497864 FUN_00497864W0x009634e6, depth 1crates/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_004984f5W0x009634e6, depth 1crates/bf2-physics/src/culler.rs:945 (fn sub_bfh126)bfh_ability_overload, bfh_alt_fire_ammo_poolnot a line: hub (144 callers): not expanded
0x0049d61d FUN_0049d61dW0x009634e6, depth 11.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_0049d641S0x009634e6, depth 1crates/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_004a0e85W0x009634e6, depth 11.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:990not a line: hub (63 callers): not expanded
0x004a57d7 FUN_004a57d7W0x009634e6, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x004a580f FUN_004a580fW0x009634e6, depth 1crates/bf2-core/src/fmath.rs:36 (fn normalize3)bfh_normalize3, gen_bfh_normalize3not a line: hub (132 callers): not expanded
0x00533b17 FUN_00533b17W0x009634e6, depth 1crates/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_0072b76bW0x009634e6, depth 1crates/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_0088f213W0x009634e6, depth 1engine utility (>= 100 call sites)not a line
0x009bd22c FUN_009bd22cW0x009634e6, depth 1engine utility (>= 100 call sites)not a line
0x009f127c MSVCR90.DLL::_CIsqrtS0x009634e6, depth 1crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt)bfh_ability_overload, bfh_apparel_ingamenot a line: hub (253 callers): not expanded
0x0095ddee FUN_0095ddeeW0x009634e6 vt+0x3c, depth 1not portednoneopen

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#

WhatWhere
this feature's ledgernotes/bfheroes/features/ability/grenade_spam.toml (its ticks: the folder notes/bfheroes/features/ability/grenade_spam.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.