View Single Post
Author Message
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 11-23-2022 , 17:02   [L4D2] Death Bell - Graves & Music & Death Motivation v1.1 [26-November-2022]
Reply With Quote #1

about
  • play death bell music, during playing player will gets death motivation buff
  • merge grave features from [L4D & L4D2] Graves and make it better
  • grave linked to corpse, that mean compatible with defib fix plugin
  • almost all optional

Intro Video
[L4D2] Death Bell - Graves & Music & Death Motivation (SourceMod)


ConVar
PHP Code:
// time to delay spawn grave and death motivation
death_bell_delay "1.0"

// duration of death motivation adrenaline time 0=disable
death_bell_duration_adren "13.0"

// duration of death bell music time 0=disable
death_bell_duration_music "13.0"

// does create the grave 1=yes 0=no
death_bell_grave "1"

// grave glow color, RGB values, leave empty=disabled glow -1=random color exmaple: '150 0 0'
death_bell_grave_glow "-1"

// make grave glow flashing
death_bell_grave_glow_flash "1"

// grave glow max range 0=unlimited get farer cant see glow
death_bell_grave_glow_max "800"

// grave glow min range, gets closer cant see glow
death_bell_grave_glow_min "200"

// grave health, leave empty to make un-Solid(no collision)
death_bell_grave_health "300"

// grave offset position -50=make grave put on legs
death_bell_grave_pos "50"

// death motivation range, -1=use *_glow_max 0=disabled death motivation
death_bell_motivation "-1" 

Credits
  • Silvers - Patiently teach me about Vector
  • Dartz8901 - Graves author
  • HarryPotter - Make Grave Random Color

Related plugin
changelog
  • v1.0 just releases; 24-November-2022
  • v1.1
    delete ConVar *_duration and split to ConVars *_duration_adren / *_duration_music,
    fix bell not stop in rare situation; 24-November-2022


Installation
  • put l4d2_death_bell.smx on /plugins/
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_death_bell.sp - 440 views - 16.0 KB)
__________________

Last edited by NoroHime; 11-26-2022 at 11:44.
NoroHime is offline