g_npcspskill

Base Jedi Academy

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

Engine-managed. The game maintains this value itself, so it is not a setting to change by hand: it is internal UI/engine state, hidden from every cvar listing (CVAR_INTERNAL).

Controls g_npcspskill in the game module. Consult the cited behavior reads before relying on values not listed here.

At a glance

Field Value
Default 0
Value type bool
Restart No latch flag is registered.
Manually settable No; the game writes this value.
Cheat protected No
Network scope server-authoritative: Owned or enforced by the server.
Category Bots & AI
Module game
Renderer All / not renderer-specific
Derivation code-trace
Confidence high
Added 2013-04-08 in 14cea1563 (how to compare this against your build)
In-game xdocs No
In-game menu No

Values

Value Meaning Evidence
0 Disabled. codemp/game/NPC.c:1873
1 Enabled. codemp/game/NPC.c:1873

Flags

Provenance

Origin: Base Jedi Academy

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-04-07 OpenJK b319c52fd4ed
Major codemp cleanup. Ported modbase. Restructured VS2010 projects.
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/NPC.c, codemp/game/NPC_AI_GalakMech.c, codemp/game/NPC_AI_ImperialProbe.c and 14 more medium
2013-04-24 OpenJK f6cadd34c6ab
Merge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port
Changed an exact bound cvar-variable reference. codemp/game/NPC_AI_Jedi.c high
2013-05-11 OpenJK f203e799b14c
Merge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port
Changed an exact bound cvar-variable reference. codemp/game/NPC.c, codemp/game/NPC_AI_GalakMech.c, codemp/game/NPC_AI_Jedi.c and 1 more high
2013-08-11 OpenJK 794718e3fdfb
Merge pull request #344 from Razish/qvmtest
Changed an exact bound cvar-variable reference. codemp/game/NPC.c, codemp/game/g_bot.c medium
2014-01-30 OpenJK d3a6d2b9b9d2
[MP] Style: remove superfluous whitespace
Changed an exact bound cvar-variable reference. codemp/game/NPC_AI_GalakMech.c, codemp/game/NPC_AI_Stormtrooper.c medium
2023-12-13 TaystJK 1936bc1b22fe
fixes & npc range
Changed an exact bound cvar-variable reference. codemp/game/NPC_AI_Stormtrooper.c medium

Evidence

Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.