A CounterStrikeSharp plugin for applying CS2 weapon skins via gencodes.
- Weapon skins: Apply any skin by gencode or by explicit parameters
- Sticker support: All 5 slots with wear, position, and rotation offsets
- Knives, gloves, and agents: Full model support
- Charms: Custom position and rotation
- StatTrak and nametags: Preserved through gencode parsing
- Combo gencodes: Apply a full loadout (primary, secondary, knife, gloves, agent) in one command
- Persistent: Skins reapplied across respawns
| Command | Description |
|---|---|
!g <gencode> |
Apply a weapon skin from a CS2Inspects gencode |
!gen <parameters> |
Apply a weapon skin with explicit parameters |
!combo <gencode> |
Apply a full loadout (primary, secondary, knife, gloves, agent) from a combo gencode |
Examples:
!g 1835544527
!combo 8920341482
!gen 7 976 321 0.14 4365 0.1 4366 0.0
- CounterStrikeSharp v1.0.365 or later
- Download the latest
OpenGen-<version>.zipfrom Releases. - Extract the zip and merge the
counterstrikesharp/folder intocsgo/addons/on your server. - Restart your server or reload plugins.
Requirements: .NET 8.0 SDK
dotnet publish -c ReleaseOutput: bin/Release/net8.0/publish/OpenGen.dll