LCS ServerList CS2 STATS Premium LCS LCS Resources CS 1.6 Tutorials Join Staff TeamSpeak DNS Request
0
Awards
LV
0
 
3
Likes
51

Messages

dext3r.

NewLifeZM.LastCS.RO
Staff member
Moderator LCS
Membru LCS
Joined
Dec 9, 2025
Reaction score
3
Points
8
Location
#newlifezm
Website
lastcs.ro
Credits
696
You do not have permission to view link Log in or register now.
You do not have permission to view link Log in or register now.

You do not have permission to view link Log in or register now.

You do not have permission to view link Log in or register now.

11d
[v1.1 - Update]

  • Silencer Support: M4A1, USP, and TMP now emit half the light radius when silenced no more unrealistic bright flash from a suppressed weapon.
  • Performance: All cvar values are now cached at round start instead of being read on every single shot zero overhead per bullet fired.
  • Radius Cvar: mdl_radius adjust the light radius without recompiling.
  • Enable/Disable Cvar: mdl_enable toggle the entire plugin on/off without unloading it.

Credits:

  • Silencer logic and cvar caching approach inspired by HiSS & Arkshine —> Weapon Lights v0.7.1 (2009)


    Special thanks for the suggestions and the support! :}

Files
[AMXX] Muzzle Dynamic Light

Description:
  • A visual enhancement for CS 1.6. Adds a real dynamic point light to every shot fired by any player.
  • Every bullet fired spawns a TE_DLIGHT at exact eye level, warm muzzle flash color.
  • In dark maps, each gunshot briefly illuminates the surrounding area walls, floors, and nearby players giving combat a cinematic strobe effect.
  • Unlike the default muzzle flash which only appears on the weapon model, this light actually affects the world around you.
  • Only renders for players within line of sight (PVS) zero network waste.
  • Bot Support: Muzzle light for bots is toggleable, disable it on servers with large bot counts to reduce visual spam.
  • Lightweight Plugin.

    Configurations:
    • #define LIGHT_LIFE 2 // duration in 0.1s steps (2 = 0.2s)
    • #define LIGHT_DECAY 50 // how fast it fades out
    • p_enable = register_cvar("mdl_enable", "1") // 1 = on, 0 = off
    • p_bots = register_cvar("mdl_bots", "1") // 1 = bots get light, 0 = disable
    • p_radius = register_cvar("mdl_radius", "26") // radius (x10 in engine: 20 = 200 units)
    • p_silenced = register_cvar("mdl_silenced", "1") // 1 = half radius on silenced weapons
    • p_color_r = register_cvar("mdl_color_r", "225") // Red (0-255)
    • p_color_g = register_cvar("mdl_color_g", "180") // Green (0-255)
    • p_color_b = register_cvar("mdl_color_b", "80") // Blue (0-255)
 
👑 Rank Legend LASTCS.RO
Administrator LCS
Destiny
High Rollers
LCS Manager Server
Moderating
LCS Member
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top