CenterSpeedS2 - Velocity With Particles

CenterSpeed

Author

Retro- Lethal- Low-

GitHub Repository

CenterSpeed

**Asset Workshop Addon
**
Workshop

Description

Uses Particles to display Velocity Units on Screen

Screenshots

Installation

  1. Build the project (dotnet build) targeting net10.0.

  2. Copy the output to:

    game/csgo/addons/swiftlys2/plugins/CenterSpeed/
    
    game/csgo/addons/swiftlys2/plugins/CenterSpeed/assets/
    
  3. Restart the server

A config file is auto-generated on first load at:

game/csgo/addons/swiftlys2/configs/plugins/CenterSpeed/config.jsonc

Add the workshop ID to the AddonManager config (3708862153)

game/csgo/addons/swiftlys2/configs/plugins/AddonManager/config.jsonc


Config (config.jsonc)

Key Default Description
ConfigVersion "1.0.1" Schema version — do not modify
DefaultScale 0.04 HUD scale for new players
DefaultYOffset -1.0 Vertical offset for new players
DefaultDigitOffsets [-1.5, -0.5, 0.5, 1.5] Horizontal digit positions for new players
EnableDatabase true true = Cookies plugin, false = local JSON
Debug false Verbose console logging

ConVars

Name Default Description
cs_speed_particle particles/digits_x/digits_x.vpcf Particle file used for HUD digits

Commands

Command Description
!cs Open the interactive HUD settings menu
!hudsettings toggle Enable / disable the HUD
!hudsettings info Print current settings to chat
!hudsettings scale <value> Set HUD scale (e.g. 0.0010.500)
!hudsettings yoffset <value> Set vertical offset (-10 to 10)
!hudsettings offset <1-4> <value> Set individual digit horizontal offset

Project Structure

CenterSpeed/
├── CenterSpeed.csproj
├── assets/                  # Particle and material assets
│   ├── materials/digits_x/
│   └── particles/digits_x/
├── lib/                     # Local DLL references
│   └── Cookies.Contract/
└── src/                     # C# source files
    ├── CenterSpeed.cs        # Plugin entry point, state, events, HUD core
    ├── Commands.cs           # !cs and !hudsettings command handlers
    ├── MenuManager.cs        # Interactive !cs menu (size, position, toggle)
    └── CenterConfig.cs       # Config loading/saving and settings persistence

Authors

  • Lethal
  • Retro
  • Ported to swiftlyS2 by Low
1 Like