Skip to content

Latest commit

 

History

History

l4d2_tank_props_glow

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Description | 內容

When a Tank punches a Hittable it adds a Glow to the hittable which all infected players can see. + Stop tank props from fading whilst the tank is alive

  • Video | 影片展示

  • Image | 圖示

    • Hittabe car glow (打到的車子均發光)
      l4d2_tank_props_glow_1
  • L4D1 version | 適用於L4D1的版本

  • Require | 必要安裝

    1. [INC] l4d2_hittable_control
  • ConVar | 指令
    • cfg/sourcemod/l4d2_tank_props_glow.cfg
      // Prop Glow Color, three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
      l4d2_tank_props_glow_color "255 255 255"
      
      // Time it takes for hittables that were punched by Tank to dissapear while tank is alive. (0=Off)
      l4d2_tank_props_glow_dissapear_time_alive "300.0"
      
      // Time it takes for hittables that were punched by Tank to dissapear after the Tank dies.
      l4d2_tank_props_glow_dissapear_time_death "10.0"
      
      // Show Hittable Glow for infected team while the tank is alive
      l4d2_tank_props_glow_enable "1"
      
      // How near to props do players need to be to enable their glow. (0=Any distance)
      l4d2_tank_props_glow_range_max "4500"
      
      // How near to props do players need to be to disable their glow. (0=Off)
      l4d2_tank_props_glow_range_min "256"
      
      // Spectators can see the glow too
      l4d2_tank_props_glow_spectators "1"
      
      // Only Tank can see the glow
      l4d2_tank_props_glow_tank_only "0"
  • Command | 命令

    None

  • Apply to | 適用於

    L4D2
    
  • Changelog | 版本日誌
    • v2.7 (2023-3-18)

      • Optimize Code
    • v2.5 (2022-12-12)

    • v2.0

      • fixed issue that tank hittable props disappear, this happens when tank is alive and then changes same map.
    • v1.8

      • update sm 1.10 syntax + improve code
    • v1.7

      • Converted plugin source to the latest syntax. Requires SourceMod 1.8 or newer.
    • v1.6

      • smooth glow for left4dead1
    • v1.5

      • Fixed a l4d1 value bug. Add Shadow Model color which attaches to the real hittable hitbox so that everyone including survivors can see.
    • v1.4

      • update l4d1 code syntax and make hittable prop glow better
    • v1.3

      • fixed l4d1 problem when infected pass tank to AI
    • v1.2

      • update syntax
    • v1.0


中文說明

Tank打到的物件都會產生光圈,只有特感能看見 + Tank死亡之後車子自動消失

  • 原理

    • 當Tank拍打能動的車子時,在車子上產生光圈,只有特感能看見
    • 穿透牆壁也能看見光圈
    • Tank死亡之後打過的車子都會消失
  • 功能

    • 可調整光圈的顏色與發光範圍
    • 可調整車子的消失時間
    • 可調整旁觀者也能看到車子發光