Left 4 Dead 2

Left 4 Dead 2

348 ratings
Lightning Strike in Hard Rain
2
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
11.499 KB
20 Jul, 2024 @ 12:50am
8 Aug, 2024 @ 11:35pm
3 Change Notes ( view )

Subscribe to download
Lightning Strike in Hard Rain

Description
Works only on local host and dedicated server
Adds random lightning strikes in hard rain campaign.

There will be random lightning strikes around. Getting caught in its AoE will cause stumbling and receive damage based on the distance from the center(1-15 damage). Stay inside building or under structures to avoid being struck by lightning

From chapter 3 onward, lightning strikes will occur more frequently.
Recommmend to use with Ultra Paricles Effect for better lightning effect

Mod Setting
Go to L4D2 game directory > left4dead2 > ems > hrlightning.
inside there will be modsetting txt file. Host can adjust mod setting there. settings are apply in real time even during gameplay.

mod_enable: 1 = enable lightning strikes, 0 = disable lightning strikes.
chapter_x: 1 = allow lightning strikes in that chapter. 0 = disable lightning strikes in that chapter. x = 1,2,3...,5
z_lightning_damage: lightning damage. 5 is minimum
z_lightning_aoe: lightning damage area. 60 is minimum
z_lightning_stumble: 1 = allow lightning strikes to stumble player and si that very close struck point.
z_lightning_frequency: Control the frequency of lightning strikes. Lower = higher frequency. min is 0.01. max is 1.0

Note: even z_lightning_frequency is set to 0.01 but it doesn't make much differenec from 0.1. would suggest set to 0.1 as the lowest

62 Comments
inXsify 3 Feb @ 4:27pm 
this is cool, i wish i could use this with the storm script to make other campaigns like this.
Lightning Bolt 1O1 19 Sep, 2024 @ 10:41am 
Prefect Something for me!
T626 13 Sep, 2024 @ 8:27pm 
Never mind I was able to make appear somehow
T626 12 Sep, 2024 @ 7:44pm 
@Everice Something's not right. Despite my efforts at installing this mod on me laptop, even though I resubscribed and restarted my computer several times, the "hrlightning" file refuses to show up in the ems folder for of the Left4Dead2 game directory. I don't understand
T626 31 Aug, 2024 @ 6:46am 
@Everice Thank you so much, mate! This new notepad looks great and works beautifully!! :steamthumbsup::steamhappy:
Everice  [author] 30 Aug, 2024 @ 7:06pm 
T626 30 Aug, 2024 @ 12:34pm 
@Everice I'm looking up "notepad++" in the Microsoft Store now, but I'm not seeing any matches.
Everice  [author] 30 Aug, 2024 @ 12:00pm 
you can ise other text editor other than windows notepad.
i recomment to use notepad++ to open it. if you open with notepad++ you will see null/nil at the bottom, delete it then save. you should be able to open it in windows notepad
T626 30 Aug, 2024 @ 10:45am 
@Everice When I opened up the modsetting txt file to enable the lightning strikes, all I found was "档灡整彲‱‽റ挊慨瑰牥㉟㴠ㄠ਍档灡整彲″‽റ挊慨瑰牥㑟㴠ㄠ਍档灡整彲‵‽റ洊摯敟慮汢⁥‽റ稊江杩瑨楮杮慟敯㴠㈠〰਍彺楬桧湴湩彧慤慭敧㴠㈠ര稊江杩瑨楮杮晟敲畱湥祣㴠ㄠ਍彺楬桧湴湩彧瑳浵汢⁥‽1". I can't read this. And despite my best efforts, I couldn't get it translated through some of me other apps. What am I supposed to do to enable it on chapters 3 and 4?
Legoshi's Lover 9 Aug, 2024 @ 3:51am 
That's a great update, I'll disable it in chapter 2 but it's good in any other chapter.