cg_simulatedHitscan
jaPRO
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Toggle predicted hitscan weapon effects.
At a glance
| Field | Value |
|---|---|
| Default | 1 |
| Value type | bool |
| Restart | No latch flag is registered. |
| Manually settable | Yes |
| Cheat protected | No |
| Network scope | feature-flagged: Client behavior is negotiated through a server feature flag. |
| Category | Gameplay & combat |
| Module | cgame |
| Renderer | All / not renderer-specific |
| Derivation | documented |
| Confidence | medium |
| Added | 2018-09-03 in bdcd618c6 needs review (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Disabled. | codemp/cgame/cg_event.c:2837 |
1 |
Enabled. | codemp/cgame/cg_event.c:2837 |
Flags
CVAR_ARCHIVE: saved to the user configuration
Provenance
Origin: jaPRO
- Ultimate-origin introduction:
bdcd618c6771in jaPRO (content authored2018-09-03, integrated2018-09-03) - Upstream registration evidence: codemp/cgame/cg_xcvar.h:144
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The identifier’s single-prefix squash feature group explicitly credits japro.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| EternalJK | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Shared integration commit |
| TaystJK | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Shared integration commit |
| jaPRO | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Ultimate origin |
| Vulkan | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Shared integration commit |
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2020-06-15 |
EternalJK | c635b474e0decgame updates for coop defrag |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_event.c |
medium |
2020-06-15 |
EternalJK | 5f9884ea53d2cgame updates for coop x2 |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_event.c |
medium |
2024-01-03 |
jaPRO | 9e120086add8 · PR #71Japro update (#71) |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_weapons.c |
high |
2024-01-22 |
jaPRO | 2812a6c459f5 · PR #108Japro updates (#108) |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_weapons.c |
high |
Evidence
- registration: codemp/cgame/cg_xcvar.h:147 (XCVAR_DEF)
- behavior: codemp/cgame/cg_event.c:2837
- behavior: codemp/cgame/cg_event.c:2875
- behavior: codemp/cgame/cg_event.c:3341
- behavior: codemp/cgame/cg_weapons.c:2652
- behavior: codemp/cgame/cg_weapons.c:2699
- documentation: docs/japro_docs.md:481
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.