cg_fovViewmodel
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls cg_fovViewmodel in the cgame module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Category | Crosshair & aiming |
| Module | cgame |
| Also registered in | cgame |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | code-trace |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | Yes — ingame_camera.menu:191, ingame_camera.menu:211, ingame_camera.menu:234 |
| Default | 80 |
| Value type | float |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ARCHIVE— saved to the user configuration
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
004c73dcfeb3in OpenJK (content authored2013-08-04, integrated2013-08-04) - Upstream registration evidence: code/cgame/cg_main.cpp:458
- Attribution method:
shared-earliest-commit-lineage-order - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by openjk, eternaljk, rend2, taystjk, japro, newjk, vulkan; fork-lineage order selects openjk. Dated commit evidence identifies later registration changes relative to the origin snapshot.
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 |
|---|---|---|---|---|---|
| OpenJK | 2013-08-04 |
— | 2013-08-04 |
004c73dcfeb3 |
Ultimate origin |
| EternalJK | 2013-08-04 |
— | 2013-08-04 |
004c73dcfeb3 |
Shared integration commit |
| rend2 | 2013-08-04 |
— | 2013-08-04 |
004c73dcfeb3 |
Shared integration commit |
| TaystJK | 2013-08-04 |
— | 2013-08-04 |
004c73dcfeb3 |
Shared integration commit |
| jaPRO | 2013-08-04 |
— | 2013-08-04 |
004c73dcfeb3 |
Shared integration commit |
| NewJK / NewMod | 2013-08-04 |
— | 2013-08-04 |
004c73dcfeb3 |
Shared integration commit |
| Vulkan | 2013-08-04 |
— | 2013-08-04 |
004c73dcfeb3 |
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 |
|---|---|---|---|---|
2013-11-13 |
OpenJK | 52dd792e9a6d[SP] Decoupled viewmodel FOV from view FOV. Added option to not lower viewmodel at high FOV values. Defaults to inheriting view FOV and lowering viewmodel like base. |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/cgame/cg_main.cpp |
medium |
2014-01-20 |
OpenJK | 0d4797fcd711[SP] JK2: Added cvars from mp: cg_fovViewmodel, cg_fovViewmodelAdjust |
Changed registration, default, flags, module, renderer scope, handler, or gating. codeJK2/cgame/cg_main.cpp |
medium |
2015-11-24 |
EternalJK | c8f6ea17a324Remove SP code |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/cgame/cg_main.cpp, codeJK2/cgame/cg_main.cpp |
medium |
2017-12-05 |
EternalJK | 9207f1148bddMerge pull request #3 from Bucky21659/master |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/cgame/cg_weapons.c, codemp/cgame/cg_xcvar.h |
medium |
2018-09-11 |
EternalJK | 8a080da0044dFixed flashing health tic on JK2 HUD |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_weapons.c |
medium |
Evidence
- registration: codemp/cgame/cg_xcvar.h:306 (XCVAR_DEF)
- behavior: codemp/cgame/cg_weapons.c:885
- behavior: codemp/cgame/cg_weapons.c:821