NEXTCLIENT(1)

NAME

NextClientNextClient is a modification for Counter-Strike 1.6 aimed at introducing new functionality for both players and…

SYNOPSIS

INFO

86 stars
18 forks
0 views

DESCRIPTION

NextClient is a modification for Counter-Strike 1.6 aimed at introducing new functionality for both players and developers of server modifications on amxmodx

README

Language: EN | RU

NextClient

NextClient is a modification for Counter-Strike 1.6 aimed at introducing new functionality for both players and developers of server modifications on amxmodx. NextClient has integrated some features from csldr.

Please note that the official version of NextClient does not include an emulator. Next21 team is not developing a Steam emulator. You still need to have Steam running and a purchased copy of Cs 1.6 to play on the NextClient version from GitHub.

Main features:

  • Protector - protects the client from malicious commands from the server
  • Ability to change the master server (the default ms is tsarvar.com)
  • Advanced video settings - FOV fix on 16:9 resolutions, ability to adjust FOV and separately adjust FOV for first person model
  • Advanced killfeed - support for advanced killfeed regamedll, displaying kill icons: through the wall, through smoke, without aiming, jumping, dominating, etc.
  • Advanced crosshair settings - added new crosshair types: dot, T-shaped, circle
  • 2 GUI schemes with the ability to change them through the settings, and the ability to add your own schemes without deleting the old ones
  • Display more than 255hp when using server module
  • Display number and size of remaining files, total file size and upload speed when connected to the server
  • Color chat in console
  • Various improvements from csldr for viewmodel:
    • Adjustable origin
    • Alternative bob from CS:GO 1.0.0.40
    • Sway/lag
    • Viewmodel shifting can be disabled
    • Client-side weapon inspecting
    • Bone controlled camera movement

Features for amxmodx developers:

  • Cvars sandbox, the ability to change cvars for a client (from a limited list) while a client is on the server
  • Killfeed customization
  • Sprite API, control of sprites on the screen
  • Extended FOV message
  • Support for viewmodel effects
  • Separate precache for regular cs 1.6 client and NextClient
  • Precache of hud.txt and other standard resources

New cvars

Click to expand
Cvar nameDefault valueAvailable in sandbox*Description
viewmodel_disable_shift0YesDisable viewmodel shifting (when you looking up or down).
viewmodel_offset_x0Yes
viewmodel_offset_y0Yes
viewmodel_offset_z0Yes
camera_movement_scale1NoCamera movement scale.
camera_movement_interp0NoSmooths out camera movement when switching weapons. Recommended value is 0.1. Set to 0 to disable smoothing.
viewmodel_fov90NoMin: 70
Max: 100
cl_crosshair_type0YesCrosshair type. 0 - crosshair, 1 - T-shaped, 2 - circle, 3 - dot.
cl_bob_camera0NoView origin bob, does nothing with cl_bobstyle 2.
cl_bobstyle0Yes0 for default bob, 1 for old style bob and 2 for CS:GO style bob.
cl_bobamt_vert0.13YesVertical scale for CS:GO style bob.
cl_bobamt_lat0.32YesLateral scale for CS:GO style bob.
cl_bob_lower_amt8YesSpecifies how much the viewmodel moves inwards for CS:GO style bob.
cl_rollangle0YesScreen roll angle when strafing or looking (Quake effect).
cl_rollspeed200YesScreen roll speed when strafing or looking (Quake effect).
viewmodel_lag_style0NoViewmodel sway style. 0 is off, 1 is HL2 style and 2 is CS:S/CS:GO style.
viewmodel_lag_scale0YesScale of the viewmodel sway.
viewmodel_lag_speed8YesSpeed of the viewmodel sway. (HL2 sway only)
fov_horplus0NoEnables Hor+ scaling for FOV. Fixes the FOV when playing with aspect ratios besides 4:3.
fov_angle90No (use ncl_setfov instead)Min: 70
Max: 100
fov_lerp0No (use ncl_setfov instead)FOV interpolation time in seconds.
hud_deathnotice_max5NoThe maximum number of killfeed entries that can be displayed.
hud_deathnotice_old0NoEnable the old style of killfeed.
http_max_active_requests5No
http_max_requests_retries3No

*Can the server change the value of a cvar using the cvars sandbox feature.

Installation

  1. NextClient only works with engine version 8684, make sure you are on the beta branch "steam_legacy - Pre-25th Anniversary Build" in Steam (⚠️ Note: you need the official game files from Steam! You cannot install NextClient on pirate clients!)
  2. Copy the entire Counter-Strike 1.6 (Half-Life) folder to a separate folder outside of the Steam folder
  3. Copy all NextClient files to the folder where you copied all the CS 1.6 files
  4. Run the game via cstrike.exe

⚠️ Warning! Never put NextClient files directly into the game installation folder in Steam! This will lead to VAC ban! ⚠️

Changing the master server

The configuration file is located at the path platform\config\MasterServer.vdf

"MasterServer"
{
   "Selected"     "1"       // Item number from the Servers section. Numbering starts from 0.
   "CacheServers" "false"   // In case the master server is unavailable, the servers will be taken from the cache.
                            // The cache contains servers from the last request that was fully completed.
   "Servers"
   {
      "Steam"
      {
         "address" "hl1master.steampowered.com:27011" // Master server address.
         "site"    ""       // Not used.
         "region"  "0x03"   // Region code, see https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol#Region_codes.
      }
      "Tsarvar"
      {
         "address" "ms.tsarvar.com:27010"
         "site"    "https://tsarvar.com/"
         "region"  "0xFF"
      }
   }
}

Building

Requirements:

  • The latest version of MSVC 2022
  • Cmake 3.21 or higher
  • Ninja (optional, but highly recommended, for quick build)

Run x86 Native Tools Command Prompt for VS 2022

git clone --recurse-submodules https://github.com/CS-NextClient/NextClient.git
cd NextClient
cmake -G "Ninja" -B cmake-build-release -DCMAKE_BUILD_TYPE=Release
# or if you don't have Ninja installed: cmake -G "NMake Makefiles" -B cmake-build-release -DCMAKE_BUILD_TYPE=Release 
cmake --build cmake-build-release -t BUILD_ALL

Now you can run the INSTALL_ALL target, it will copy all the necessary files, including assets, to a separate folder

set NEXTCLIENT_INSTALL_DIR=<absolute path to folder>
cmake -G "Ninja" -B cmake-build-release -DCMAKE_BUILD_TYPE=Release
cmake --build cmake-build-release -t INSTALL_ALL

You can also build a project from CLion, VS Code, or Visual Studio. Use the BUILD_ALL target to build.
Note that only Ninja and NMake Makefiles generators are supported. So if you want to build a project in Visual Studio you should change it in the settings, because Visual Studio uses Visual Studio 17 2022 generator by default.

Thanks

Thanks to everyone who supports the project with bug reports, suggestions and words of encouragement.

SEE ALSO

clihub3/4/2026NEXTCLIENT(1)