cg_hitsounds

jaPRO

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

Play a sound when you hit someone

At a glance

Field Value
Category Audio & music
Module cgame
Also registered in cgame
Renderer All / not renderer-specific
Network scope client-only — Local to the client/UI/renderer.
Derivation documented
Confidence medium
In-game xdocs Yes — codemp/ui/ui_xdocs.h:394
In-game menu Yes — ingame_setup.menu:4534
Default 0
Value type enum
Restart No latch flag is registered.
Cheat protected No

Values

Value Meaning Evidence
0 Don’t play the hit sound (Base behavior) codemp/ui/ui_xdocs.h:394
1 Play the hit sound from Quake 3: Arena codemp/ui/ui_xdocs.h:395
2 Play the hit sound from Legions: Overdrive codemp/ui/ui_xdocs.h:396
3 Play the hit sound from Warsow codemp/ui/ui_xdocs.h:397
4 Play the hit sound from Tribes: Ascend codemp/ui/ui_xdocs.h:397

Flags

Provenance

Origin: 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
2019-04-21 EternalJK 2c42f32bebfc
Moved Set2DRatio code for CG and UI into ui_shared, removed CG_Set2DRatio, update renderer widthRatioCoef when changing cl_ratioFix cvar.
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_xcvar.h medium
2020-06-15 EternalJK fd64be2c318a
misc updates
Changed an exact bound cvar-variable reference. codemp/cgame/cg_event.c, codemp/cgame/cg_playerstate.c medium

Evidence