Left 4 Dead 2

Left 4 Dead 2

355 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

65 Comments
Everice  [author] 6 hours ago 
No idicator. You need to stay inside building or finding cover spots to avoid getting struck by lightnings. The lightning effect only appears for 0.1 sec when it occurs close to you, you may not see it directly because you're stumbling but you can clearly see when it strikes at other survivors
ZombieOrbit44 12 hours ago 
Okay, but is there any visual indicator that lightning has struck nearby? It feels more like a poltergeist in my game because I have only spotted the lightning that happens far away.
Everice  [author] 15 hours ago 
lightnings have chance to strike near the survivors. that stumble happens when lightning struck nearby. lightning damages those objects around its struck point with fire element.
you can disable stumble through setting
ZombieOrbit44 16 hours ago 
I'm not sure this is working correctly. I can see the lightning strikes in the distance. However, randomly, I may get set on fire, stumble backwards, and propane and gas tanks randomly explode for no reason. Is that this mod doing that? Is the lightning invisible when it hits nearby? If that's what's happening, that kind of defeats the purpose.
Matt 19 Jul @ 8:10am 
I'd love for this to get more lightning during storm moments.
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: