Nade Tails: grenade trail plugin documentation
About this content
Nade Tails is a SourceMod plugin that adds a colored trail to grenade projectiles. The repository provides the source file, not a ready-compiled plugin; the README does not include separate build or installation steps.
Features
- Trails can be enabled separately for HE grenades, flashbangs and smoke grenades, decoys, Molotovs, and incendiary grenades.
- Each type has its own color setting: random, named, or in RGBA format. For named colors, the code supports Aqua, Black, Blue, Fuschia, Gray, Green, Lime, Maroon, Navy, Red, White, Yellow, Silver, Teal, Purple, and Olive.
- Players can toggle trails with a command, and an administrator can change them for players through a menu.
Requirements and files
The source code is located at NadeTails/addons/sourcemod/scripting/NadeTails.sp. It includes sourcemod, sdktools і sdkhooks. The source does not specify versions for these components and does not include a ready-made binary file.
Configuration
The plugin creates a configuration file via AutoExecConfig(true). Main CVARs: sm_tails_enabled (1 — plugin enabled), sm_tails_allowplayers (1 — players are allowed to !tails), sm_tails_defaulton (1 — trails are enabled for everyone) and sm_tails_defaultalpha (255; allowed values from 0 to 255).
Individual type toggles default to 1: sm_tails_hegrenade, sm_tails_flashbang, sm_tails_smoke, sm_tails_decoy, sm_tails_molotov and sm_tails_incendiaryColor CVARs are, respectively, sm_tails_hecolor, sm_tails_flashcolor, sm_tails_smokecolor, sm_tails_decoycolor, sm_tails_molotovcolor і sm_tails_inccolor; початкове значення кожного — randomFor example, a color can be set as Aqua or 255 20 147 225.
Appearance settings: sm_tails_tailtime — 20.0 seconds (limits 0–25), sm_tails_tailfadetime — 1 і sm_tails_tailwidth — 1.0.
Commands
sm_tails (in chat: !tails) toggles trails for the player, if allowed by the settings. sm_tailsmenu opens the admin menu and requires the flag ADMFLAG_KICK; коли sm_tails_defaulton equals 1, the menu does not launch.
Download
Version: git-bea17135eeab.
The ZIP contains source code; compilation may be required before installation. Plugin file: NadeTails/addons/sourcemod/scripting/NadeTails.sp.


Comments (0)