Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Explosive M60 fix
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
635.504 KB
9 Dec, 2024 @ 2:38am
1 Change Note ( view )

Subscribe to download
Explosive M60 fix

Description
Origin: Everice - Explosive M60

Requested by Gumbs @Comment

Important matters:
The script not only makes the m60 bullet explode, but change bots' behavior by ConVars, Game Events and Scanning, which is not mentioned in the original descriptions.

Patch Notes:
1. Delete unnecessary files and rename script. (Prevent conflicts)

2. Use "director_base_addon" to load script, instead of "scriptedmode_addon". (Prevent conflicts)

3. Replace "scriptedmode_addon" with Admin System's. (Prevent conflicts)

4. Update VSLib to 5.0 ver.

5. "IsIncapacitated" is missing "()" and lake of "IsHangingFromLedge()".

6. Convert the format of the game events (round_start_post_nav, weapon_reload and weapon_fire) to the VSLib format. (For consistency)

7. Encapsulate all functions, variables, and everything. (Prevent conflicts)

8. OnDamage -> OnTakeDamage. (Prevent conflicts)

9. Rename all events defined in VSLib Notifications table. (Prevent conflicts)

10. Delete/Revise unnecessary expressions/functions. (some can be replaced by VSLib)

11. Correction of usage of DirectorOptions. (Prevent conflicts)

12. !IsDead() -> IsAlive() (Can be used if includes VSLib)
※BTW, should use !(IsDead() || IsDying()) with official script functions.

13. Use Timers in VSLib to replace Update function. (Prevent conflicts)
1 Comments
Unsants 10 Dec, 2024 @ 7:01am 
Thanks :steamhappy: