Skip to content

feat(core): add GunGameProgression 1.0.0 - #1

Merged
Rushaway merged 2 commits into
mainfrom
feat/progression
Nov 23, 2026
Merged

Rushaway merged 2 commits into
mainfrom
feat/progression

Conversation

@Rushaway

@Rushaway Rushaway commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Long-term progression for GunGame servers: XP for kills, headshots, knife steals, level ups, wins, top 3, play time and participation; 50 ranks (xp = 100 * (rank - 1)^2.1); cosmetics unlocked by rank: chat tag, trail, HE color, kill effect (stock CS:S materials only). SQLite/MySQL through databases.cfg (sm_ggp_database, default gungame), threaded queries. Menus sm_xp / sm_progress / sm_cosmetics, sm_ggp_toprank, natives and GGP_OnClientRankUp in gungame_progression.inc. 13 languages.

Chat tag: without CustomChatColors the plugin rebuilds the SayText2 lines of players with a tag; with CCC it uses the new CCC_OnSenderPrefix forward (srcdslab/sm-plugin-CustomChatColors#123, CCC 8.2.0) and never touches CCC tags.

Built with spcomp 1.13.0.7427 and 1.12.0.7260, no warning; translations checked with smtranslate.

Checked (GunGame server, 2026-11-23)

  • Load on SQLite gungame, no error; XP from real kills (kill + level up), sm_ggp_givexp
  • sm_xp menu: rank 22/50, XP, next rank, next unlock, the four categories, locked items with their rank; the % sign of the XP bar (fixed: menu titles went through format twice)
  • Trail equipped (env_spritetrail parented to the player), kill effect "Lightning strike" seen on a kill, HE color green seen on a thrown projectile and its beam
  • Chat tag with CCC 8.2.0: *SPEC* [Command Sergeant Major] <CCC tag> .Rushaway : test
  • Rank up message/sound and the match end summary at a real match end

@Rushaway
Rushaway marked this pull request as ready for review November 23, 2026 15:12
@Rushaway
Rushaway merged commit 393f69b into main Nov 23, 2026
10 checks passed
@Rushaway
Rushaway deleted the feat/progression branch November 26, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant