From 0556818a9c4cced869b2bb6af28d13404e471568 Mon Sep 17 00:00:00 2001 From: Sheldon Johnson Date: Wed, 14 Aug 2024 15:37:26 +1000 Subject: [PATCH] Update readme --- README.md | 5 +---- csqc/main.qc | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f4faeedf..c07f4ec0 100644 --- a/README.md +++ b/README.md @@ -78,10 +78,7 @@ sound files are found in `fortress/sound/hitaudio/` and `fortress/sound/announc * `localinfo fo_matchrated 2` whether match is rated / affects trueskill. 2 is false for 1v1 and 2v2 only. * `localinfo backend_address ` to specify backend API endpoint. Default: https://www.fortressone.org/ * All-time attack and all-time defence team options. -* `setinfo team1color ` to set the top and bottom colours for team 1. -* `setinfo team2color ` to set the top and bottom colours for team 2. -* `setinfo team3color ` to set the top and bottom colours for team 3. -* `setinfo team4color ` to set the top and bottom colours for team 4. +* `setinfo teamcolor ` sets player skins colours for team , where is quake palette 0-15 or hex code beginning with 0x. E.g. `setinfo team1colour 0` makes all team 1 players white, `setinfo team2color 0xFF8800` makes all team 2 players orange. `setinfo teamcolor ""` to restore defaults. * `setinfo precise_grenades on/off` to enable precise timing when throwing grenades. This removes a random, up to, 100ms input delay. (default on) * `localinfo forcereload 0/1` Option to prevent forced reloads. * `+grenade1` and `+grenade2` grenade buttons (more reliable than impulses), push to prime, again to throw. diff --git a/csqc/main.qc b/csqc/main.qc index 23cd0252..122428c7 100644 --- a/csqc/main.qc +++ b/csqc/main.qc @@ -621,6 +621,7 @@ static void UpdateTeamColorCrosshair() { break; case 4: crosshair_color = "0x00ff00"; + break; } localcmd("crosshaircolor ", crosshair_color, "\n"); crosshair_team_no = team_no;