Left 4 Dead 2

Left 4 Dead 2

Interneted's Custom Events Lib
Showing 21-30 of 32 entries
< 1  2  3  4 >
Update: 4 Feb, 2024 @ 10:47pm

Update 05/02/2024(3):

  • Updated function names to make is as unique as possible.
  • Updated OnClearSpecial, it's now possible to clear yourself.

Update: 4 Feb, 2024 @ 8:52pm

Small Update 05/02/2024(2): Now allows multiple functions to be put inside the event scope, instead of 1.

Update: 4 Feb, 2024 @ 7:58pm

Update 05/02/2024:

  • Fixed a lot of bugs in OnDeadstopHunter, it should work properly now.
  • Deleting specials' array in all events when they are dead, so it wouldn't bloat up the array.
  • Script Include system has been improved, it will no longer include events that you don't use.

Update: 3 Feb, 2024 @ 9:17pm

Small Update 04/02/2024: Fixed a bug on OnDeadstopHunter where it is not called when shoving a hunter that landed on top of survivors' head.

Update: 2 Feb, 2024 @ 8:14pm

Small Update 03/02/2024: Tweaked OnDeadstopHunter and OnHunterHighPounce, again......

If you somehow did not reach the height apex (maximum) while pouncing in the air, the calculated height will be based on your position when shoved or successfully high pouncing a survivor.

To be honest, I think it's impossible to high pounce a survivor without reaching the height apex, but for safety measures, I updated it just in case.

Update: 2 Feb, 2024 @ 6:47am

Update 02/02/2024: Tweaked OnDeadstopHunter and OnHunterHighPounce:

Improved height calculation algorithm:

Instead of calculating the height using the hunter's initial pounce position, it will now based on the hunter's highest position while pouncing mid-air. If you pounce a survivor from the bottom, the calculated height will be 0.

However, the calculated height will still be in the initial pounce position if you somehow did not reach the maximum height position while pouncing mid-air. It shouldn't matter to OnHunterHighPounce, since I coded it to trigger the event if the hunter dealt at least 1 damage with the initial pounce, and I don't think it will trigger if you don't reach the maximum height. Fixed on 03/02/2024

Thank you, player_jump_apex.

Update: 1 Feb, 2024 @ 2:19am

Update 01/02/2024: Added a new event: OnClearSpecial.

Not going to lie, this is harder than I expected.

Event Explanation:

  • Clearing a survivor from a special infected dominating them within a certain time, either from kill, shove, stun, etc. I have tested most of the ways to clear I can think of, but I may forget some other ways, please let me know if there is any more.
  • Will only apply to chargers, jockeys, hunters, and smokers.
  • Timer will start when hunters is pouncing, chargers is carrying, jockeys is latching, smokers is grabbing. The timer will reset when chargers start pummelling and smokers start choking.

Update: 29 Dec, 2023 @ 5:23am

Small Update 29/12/2023: Fixed a bug on OnSkeetHunter where hunters killed on slopes still count as a skeet by utilizing player_hurt to check hunters' last living state.

Update: 17 Dec, 2023 @ 6:30am

Update 17/12/2023 took effect.

Update: 17 Dec, 2023 @ 6:04am

some errors in the updated code, original file uploaded.