View Single Post
Author Message
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 10-29-2022 , 17:34   [L4D2] Charger Impact Explosion v1.1.1 [11-November-2022]
Reply With Quote #1

about
  • make explosion when charger end the charge just easy thing
  • i dont known why nobody do this yet, and idea and some code from [L4D & L4D2] Tank's Burning Rock
  • then if i doing Slow Motion at this moment everything will be cool
  • optional explosion methods propane / pipe bomb / molotov
  • trigger can has cooldown

ConVar

PHP Code:
// extra explosion particle 1=yes 0=no
charger_explosion_particle "1"

// cooldown(seconds) to make explosion ability again (per charger) 0=no cd -1=same as z_charge_interval
charger_explosion_cooldown "-1"

// method to make explosion 1=propane 2=pipe bomb 3=molotov (2 and 3 requires left4dhooks)
charger_explosion_explosion "1" 

changelog
  • v1.0 just releases; 30-October-2022
  • v1.0.1 fix some code entity operation issue, thanks Silvers teaching; 30-October-2022 (2nd time)
  • v1.0.2 maybe fix some entity operation issue; 31-October-2022
  • v1.1
    new ConVar *_explosion to control method to make explosion:
    propane / pipe bomb / molotov, if encounter crashes during use propane then use another to instead.(requires left4dhooks),
    new ConVar *_cooldown to control cooldown of explosion ability trigger,
    fix some entity operation, a lot changes from Silvers, thanks again; 31-October-2022
  • v1.1.1 fix charger death under charging also trigger explosion; 11-November-2022

Installation
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_charger_explosion.sp - 515 views - 7.0 KB)
__________________

Last edited by NoroHime; 11-10-2022 at 15:12.
NoroHime is offline