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

6th Sense: the feature checklist

Heroes

6th Sense 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: 8 of 53 lines checked.

checked

Situations: 2 of 17 checked for what the game does, 2 of 17 for what a player sees. The original's code: 4 of 19 checked (9 functions and 10 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.

The owner's report

The ledger names the owner's open report on this feature: R-0105.

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#

6 / 7 / 8 / 10 / 12 s; team mates within 10 m see through walls too (Soldier)

That is this wiki's own line about it, taken at build time from the page that tells it.

the name a player knows6th Sense
kindability, Soldier
in the game's dataSeeEnemySoldiers_BRI / SeeEnemySoldiers_GER, levels 1 to 5 (2126 to 2135); ability.seeThroughWalls
what it acts on (the ledger's tags)targets-enemies, affects-mates, client-effect
the owner's reportR-0105
its row in the sweepsnotes/bfheroes/ability_sweep.md, the row 6th Sense; notes/bfheroes/abilities_table.md rows S3-L1 to S3-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
0x006eafa2the local player's half-second step: is one of his soldier's three lists' active items a see-through ability, or a near team mate's; then every player of the other team is outlined (Player vt+0x440) or notwhole
0x006ead61found by the flag rule and confirmed: the OTHER writer of the outlined flag. For the local player without an aura of his own (+0xb8 is 0) it sets each enemy's flag to is he marked (vt+0x454): Mark Target's half of the same switch, run by the same update 0x006ec374whole

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_r0105_sixth_sense (PASS in run 20261127_185256_f15b on 3d20a0a))checked: play with a recorded pass, pixels read (scenario bfh_r0105_sixth_sense (PASS in run 20261127_185256_f15b on 3d20a0a))
used at the wheel of a vehicleopen: has a scenario, no recorded pass (scenario bfh_r0105_sixth_sense_wheel_jeep (no recorded result))open: has a scenario, no recorded pass (scenario bfh_r0105_sixth_sense_wheel_jeep (no recorded result))at the wheel the key selects nothing (the seat's cameras hide the item lists): played on the server's and the client's state, no screenshot is read
used from a passenger's or a gunner's seatopen: has a scenario, no recorded pass (scenario bfh_r0105_sixth_sense_seated_mate (no recorded result))open: has a scenario, no recorded pass (scenario bfh_r0105_sixth_sense_seated_mate (no recorded result))
enemy sitting in a vehicleopen: not checkedopen: not checked
team mate 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 itchecked: play with a recorded pass, pixels read (scenario bfh_ability_sixth_sense_late (PASS in run 20261127_184548_f15b on 3d20a0a))checked: play with a recorded pass, pixels read (scenario bfh_ability_sixth_sense_late (PASS in run 20261127_184548_f15b on 3d20a0a))
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: has a scenario, no recorded pass (scenario bfh_ability_sixth_sense_mate (no recorded result))open: has a scenario, no recorded pass (scenario bfh_ability_sixth_sense_mate (no recorded result))
in water (swimming)open: not checkedopen: not checked
on a ladderopen: not checkedopen: not checked
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#

7 more scenarios the ledger names have no row in the records file: bfh_ability_sixth_sense_late, bfh_ability_sixth_sense_mate_late, bfh_ability_sixth_sense_mate, bfh_r0105_sixth_sense, bfh_ability_sixth_sense, bfh_r0105_sixth_sense_wheel_jeep, bfh_r0105_sixth_sense_seated_mate.

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#

23 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
0x006eafa2 FUN_006eafa2Sentry, depth 0crates/bf2-client/app/src/client/heroes_outline.rs:218 (fn heroes_outline_frame)crates/bfh-client/src/outline.rs:226 (fn every_players_place_is_his_soldiers_and_the_local_players_own_ability_asks_none)test from the original's codeyes
0x006ead61 FUN_006ead61Sentry, depth 0crates/bfh-client/src/outline.rs:81 (fn update)scenario bfh_r0105_mark_line (PASS in run 20261128_064908_f20pm on e18804d) (+1 more)play with a recorded pass, pixels readyes
0x0045d160 FUN_0045d160S0x006eafa2, depth 1crates/bfh-client/src/sound_comp.rs:88 (fn init)bfh_client_ctf_sounds, bfh_client_footstepsnot a line: tested in every game: bf2142 0x0042b800, bf2 0x00440510
0x006eae82 FUN_006eae82S0x006eafa2, depth 1crates/bf2-client/app/src/client/heroes_outline.rs:218 (fn heroes_outline_frame)scenario bfh_ability_sixth_sense (PASS in run 20261127_184124_f15c on 3d20a0a) (+1 more)play with a recorded pass, pixels readyes
0x00527c6f world::PlayerManager::getLocalHumanPlayerW0x006eafa2 vt+0x30, depth 1tiny stub (<= 5 bytes)not a line
0x00528cdd world::PlayerManager::vslot15W0x006eafa2 vt+0x3c, depth 1crates/bf2-world/src/player_sort.rs:136 (fn of_team)crates/bf2-world/src/player_sort.rs:361link line onlyopen
0x006fbb3c Player::vslot272W0x006eafa2 vt+0x440, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x006fbb6a Player::vslot277W0x006ead61 vt+0x454, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x004073a5 FUN_004073a5W0x006eae82, depth 2not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it
0x0049d641 FUN_0049d641S0x006eae82, depth 2crates/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
0x009f127c MSVCR90.DLL::_CIsqrtS0x006eae82, depth 2crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt)bfh_ability_overload, bfh_apparel_ingamenot a line: hub (253 callers): not expanded
0x006e9db6 Player::vslot51S0x006eae82 vt+0xcc, depth 2crates/bfh-client/src/outline.rs:34 (struct OutlinePlayer)scenario bfh_r0105_sixth_sense_seated_mate (no recorded result)has a scenario, no recorded passopen
0x00520922 FUN_00520922W0x00528cdd, depth 2STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762)not a line
0x0052a071 FUN_0052a071W0x00528cdd, depth 2not portednoneopen
0x004b3cf5 FUN_004b3cf5W0x006e9db6, depth 3engine utility (>= 100 call sites)not a line
0x00529e16 FUN_00529e16W0x0052a071, depth 3forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor)not a line
0x00529e2b FUN_00529e2bW0x0052a071, depth 3thin wrapper (<= 80 bytes, calls only library code)not a line
0x0052074f FUN_0052074fW0x00529e16, depth 4thin wrapper (<= 80 bytes, calls only library code)not a line
0x006f3a63 FUN_006f3a63Salso writes Player+0x680 (vt+0x440), depth 1crates/bf2-client/src/radio.rs:770 (fn radio_message_heroes)crates/bfh-server/tests/in_game_event.rs:2 (fn first_strike_reaches_stats_on_in_game_event)not a line: not a Player: its +0x440 call is through the global DAT_013bd0c4 (the HUD's object, eight setters in a row), another class with a slot at the same offset
RendDX9.dll@bfh126!0x1005458f FUN_1005458fSreads Player+0x680 (vt+0x444), depth 1crates/bf2-client/src/spawn_screen.rs:201noneopen: confirmed: the drawing's frame pass (is any player outlined at all): it walks the player list and sets the renderer's own switch (+0x6c7) when ANY player is outlined
Show all 23 functions (the other 3)
The original's functionKindReachedOursProofIts kindChecked
RendDX9.dll@bfh126!0x10158233 FUN_10158233Sreads Player+0x680 (vt+0x444), depth 1crates/bf2-render/src/bundledmesh.rs:153noneopen: confirmed: drawing the rim on vehicles and their parts (the bundled mesh's draw): the object's player (vt+0x10) is asked vt+0x444, then vt+0x454 and the colour vt+0x448, and the rim is drawn
RendDX9.dll@bfh126!0x101fa41b FUN_101fa41bSreads Player+0x680 (vt+0x444), depth 1crates/bfh-client/src/outline.rs:155scenario bfh_ability_sixth_sense (PASS in run 20261127_184124_f15c on 3d20a0a) (+2 more)play with a recorded pass, pixels readyes: confirmed: drawing the rim on a soldier's body (the skinned mesh's draw): with the frame's switch on, the object's player is asked vt+0x444 and the colour vt+0x448, and the rim is drawn
0x006f47e4 FUN_006f47e4Stouches Player+0x680 directly (a undefined1 at +0x680), depth 1crates/bf2-client/app/src/client/help.rs:600 (fn help_players)bfh_ability_overload, bfh_alt_fire_ammo_poolnot a line: the Player's constructor: it sets the flag to 0 once, when the player object is made (*(undefined1 *)(param_1 + 0x1a0) = 0, param_1 a pointer to 4-byte cells); nothing else of it is this feature's

Inner calls#

A call through a virtual table has no line in the call graph; the ledger lists every one it met: 20 here, 10 of them open lines (nobody has named what they call, or what they call is not checked).

What a person settled#

The ledger's tool finds candidates by rule; a person confirms or dismisses each, with the reason read from the original's text. These are the ledger's own words.

WhatAddressThe reason, in the ledger's words
confirmed: part of the featureRendDX9.dll@bfh126!0x1005458fthe drawing's frame pass (is any player outlined at all): it walks the player list and sets the renderer's own switch (+0x6c7) when ANY player is outlined
confirmed: part of the featureRendDX9.dll@bfh126!0x10158233drawing the rim on vehicles and their parts (the bundled mesh's draw): the object's player (vt+0x10) is asked vt+0x444, then vt+0x454 and the colour vt+0x448, and the rim is drawn
confirmed: part of the featureRendDX9.dll@bfh126!0x101fa41bdrawing the rim on a soldier's body (the skinned mesh's draw): with the frame's switch on, the object's player is asked vt+0x444 and the colour vt+0x448, and the rim is drawn
dismissed: not the feature's0x006f3a63not a Player: its +0x440 call is through the global DAT_013bd0c4 (the HUD's object, eight setters in a row), another class with a slot at the same offset
dismissed: not the feature's0x006f47e4the Player's constructor: it sets the flag to 0 once, when the player object is made (*(undefined1 *)(param_1 + 0x1a0) = 0, param_1 a pointer to 4-byte cells); nothing else of it is this feature's
an inner call named0x006eafa2the list walked is the other team's players (vt+0x3c of the player manager); +0x440 of Player's vtable is the one-byte setter 0x006fbb3c of Player +0x680, the outlined flag
an inner call named0x006eae82each list entry is a Player; +0xcc answers his soldier (0x006e9db6), the place the 10 m are measured from
an inner call named0x006ead61the list walked is the other team's players, as in 0x006eafa2
an inner call named0x006ead61the same Player: +0x454 is the one-byte getter 0x006fbb6a whose answer is handed to +0x440

What is open#

In a player's words, as the ledger writes them:

  • used at the wheel of a vehicle (what it does): has a scenario, no recorded pass
  • used at the wheel of a vehicle (what you see): has a scenario, no recorded pass
  • 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
  • team mate sitting in a vehicle (what it does): not checked
  • team mate 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
  • 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): has a scenario, no recorded pass
  • team mates against enemies (who gets it and who does not) (what you see): has a scenario, no recorded pass
  • 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 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 15 lines about the original's code:

  • a step of the original (world::PlayerManager::vslot15): in ours, but no test written from the original's code holds it
  • a step of the original (Player::vslot51): in ours; a scenario names it, with no recorded pass; no test written from the original
  • a step of the original (FUN_0052a071): this part of the original is in no count of ours: nobody has placed it
  • the drawing's frame pass (is any player outlined at all): ours has it, but no test written from the original and no recorded play that read the screen
  • drawing the rim on vehicles and their parts (the bundled mesh's draw): ours has it, but no test written from the original and no recorded play that read the screen
  • an inner call of the original (in 0x006eafa2, slot 0x40) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x006eafa2, slot 0x80) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x006eae82, slot 0x40) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x006eae82, slot 0x60) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x006eae82, slot 0x60) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x006eae82, slot 0x80) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00528cdd, slot 0x168) is not followed yet: nobody has named what it calls
  • what the drawing code (RendDX9.dll@bfh126!0x1005458f) calls in turn is not followed yet
  • what the drawing code (RendDX9.dll@bfh126!0x10158233) calls in turn is not followed yet
  • what the drawing code (RendDX9.dll@bfh126!0x101fa41b) calls in turn 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/sixth_sense.toml (its ticks: the folder notes/bfheroes/features/ability/sixth_sense.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.