MW Base Melee L4D Shove [TFA] [VJ Base]

If you like this release, check out my Youtube channel:
This mod does two things:
- Add the functionality for meleeing with a MW weapon to shove/stagger L4D infected from the VJ Base.
- Add a way to bind another key to melee with MW weapons: bind any key you want to "+alt1" in your autoexec.cfg
This will be incompatible with similar mods like (currently hidden) Modern Warfare Base Plus because it will cause a race condition on who can overwrite the method first. Hooks would probably be the best way of fixing it.
Credits:
MW Base Team – MW Base and its default melee behavior system
DrVrej – VJ Base, especially the example M16 weapon
me – banging my head on a keyboard
If any of the persons listed above has concerns or wants Workshop credit, please message me.
For people that know GMod Lua:
This mod works by overriding MW Base’s SWEP:MeleeBehaviourModule function with my own modified version with the same name. The original MW Base used FireBullets, so I rewrote the module to use TakeDamageInfo instead using VJ Base’s L4D M16 as a reference.
Required items:
Click the title to search on this site.
Modern Warfare Base — Steam Workshop
Left 4 Dead Common Infected SNPCs — Steam Workshop
