On this page
6th Sense: the feature checklist
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.
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 ledger names the owner's open report on this feature: R-0105.
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 knows | 6th Sense |
| kind | ability, Soldier |
| in the game's data | SeeEnemySoldiers_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 report | R-0105 |
| its row in the sweeps | notes/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.
| Address | What it is, in the ledger's words | Followed |
|---|---|---|
0x006eafa2 | the 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 not | whole |
0x006ead61 | found 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 0x006ec374 | 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 | checked: 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 vehicle | open: 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 seat | open: 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 vehicle | open: not checked | open: not checked | |
| team mate 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 | checked: 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 checked | open: 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 checked | open: not checked | |
| on a ladder | open: not checked | open: not checked | |
| 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#
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 function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x006eafa2 FUN_006eafa2 | S | entry, depth 0 | crates/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 code | yes |
0x006ead61 FUN_006ead61 | S | entry, depth 0 | crates/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 read | yes |
0x0045d160 FUN_0045d160 | S | 0x006eafa2, depth 1 | crates/bfh-client/src/sound_comp.rs:88 (fn init) | bfh_client_ctf_sounds, bfh_client_footsteps | not a line: tested in every game: bf2142 0x0042b800, bf2 0x00440510 | |
0x006eae82 FUN_006eae82 | S | 0x006eafa2, depth 1 | crates/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 read | yes |
0x00527c6f world::PlayerManager::getLocalHumanPlayer | W | 0x006eafa2 vt+0x30, depth 1 | tiny stub (<= 5 bytes) | not a line | ||
0x00528cdd world::PlayerManager::vslot15 | W | 0x006eafa2 vt+0x3c, depth 1 | crates/bf2-world/src/player_sort.rs:136 (fn of_team) | crates/bf2-world/src/player_sort.rs:361 | link line only | open |
0x006fbb3c Player::vslot272 | W | 0x006eafa2 vt+0x440, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006fbb6a Player::vslot277 | W | 0x006ead61 vt+0x454, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x004073a5 FUN_004073a5 | W | 0x006eae82, depth 2 | not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it | |||
0x0049d641 FUN_0049d641 | S | 0x006eae82, depth 2 | 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 | |
0x009f127c MSVCR90.DLL::_CIsqrt | S | 0x006eae82, depth 2 | crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt) | bfh_ability_overload, bfh_apparel_ingame | not a line: hub (253 callers): not expanded | |
0x006e9db6 Player::vslot51 | S | 0x006eae82 vt+0xcc, depth 2 | crates/bfh-client/src/outline.rs:34 (struct OutlinePlayer) | scenario bfh_r0105_sixth_sense_seated_mate (no recorded result) | has a scenario, no recorded pass | open |
0x00520922 FUN_00520922 | W | 0x00528cdd, depth 2 | STL 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_0052a071 | W | 0x00528cdd, depth 2 | not ported | none | open | |
0x004b3cf5 FUN_004b3cf5 | W | 0x006e9db6, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x00529e16 FUN_00529e16 | W | 0x0052a071, depth 3 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00529e2b FUN_00529e2b | W | 0x0052a071, depth 3 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x0052074f FUN_0052074f | W | 0x00529e16, depth 4 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x006f3a63 FUN_006f3a63 | S | also writes Player+0x680 (vt+0x440), depth 1 | crates/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_1005458f | S | reads Player+0x680 (vt+0x444), depth 1 | crates/bf2-client/src/spawn_screen.rs:201 | none | open: 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 function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
RendDX9.dll@bfh126!0x10158233 FUN_10158233 | S | reads Player+0x680 (vt+0x444), depth 1 | crates/bf2-render/src/bundledmesh.rs:153 | none | open: 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_101fa41b | S | reads Player+0x680 (vt+0x444), depth 1 | crates/bfh-client/src/outline.rs:155 | scenario bfh_ability_sixth_sense (PASS in run 20261127_184124_f15c on 3d20a0a) (+2 more) | play with a recorded pass, pixels read | yes: 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_006f47e4 | S | touches Player+0x680 directly (a undefined1 at +0x680), depth 1 | crates/bf2-client/app/src/client/help.rs:600 (fn help_players) | bfh_ability_overload, bfh_alt_fire_ammo_pool | not 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.
| What | Address | The reason, in the ledger's words |
|---|---|---|
| confirmed: part of the feature | RendDX9.dll@bfh126!0x1005458f | 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 |
| confirmed: part of the feature | RendDX9.dll@bfh126!0x10158233 | 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 |
| confirmed: part of the feature | RendDX9.dll@bfh126!0x101fa41b | 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 |
| dismissed: not the feature's | 0x006f3a63 | 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 |
| dismissed: not the feature's | 0x006f47e4 | 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 |
| an inner call named | 0x006eafa2 | the 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 named | 0x006eae82 | each list entry is a Player; +0xcc answers his soldier (0x006e9db6), the place the 10 m are measured from |
| an inner call named | 0x006ead61 | the list walked is the other team's players, as in 0x006eafa2 |
| an inner call named | 0x006ead61 | the 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#
| What | Where |
|---|---|
| this feature's ledger | notes/bfheroes/features/ability/sixth_sense.toml (its ticks: the folder notes/bfheroes/features/ability/sixth_sense.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.