Code:
1.141 (11-Jan-2024)
- Added forwards "L4D_MolotovProjectile*", "L4D2_VomitJarProjectile*" and "L4D2_GrenadeLauncherProjectile*" to trigger when on various grenade creations. Requested by "Kerouha".
- Added forward "L4D2_OnChooseVictim_Pre" which shows the previously targeted entity. Requested by "Forgetest".
- Added "AmmoDef" methodmaps and natives for ammo definitions. Thanks to "Forgetest" for writing and providing.
- Changed stock "L4D_IsPlayerStaggering" to be more accurate. Plugins using this stock should be recompiled. Thanks to "HarryPotter" for updating.
- Changed forward "L4D2_OnChooseVictim" when using return Plugin_Handled to block the function, bots will stand still only instead of targeting themselves and attacking while standing still.
- Changed natives "L4D_PipeBombPrj", "L4D2_VomitJarPrj", "L4D_MolotovPrj", "L4D2_GrenadeLauncherPrj", "L4D2_SpitterPrj" and "L4D_TankRockPrj" to allow specifying the velocity and rotation. Thanks to "Forgetest" for changing.
- Updated: Plugin and test plugin.
- Updated: "/gamedata/l4dd/left4dhooks.l4d1.txt" GameData file.
- Updated: "/gamedata/l4dd/left4dhooks.l4d2.txt" GameData file.
- Updated: "/scripting/include/left4dhooks.inc" Include file.
- Updated: "/scripting/include/left4dhooks_silver.inc" Include file.
- Updated: "/scripting/l4dd/l4dd_forwards.sp" project file.
- Updated: "/scripting/l4dd/l4dd_gamedata.sp" project file.
- Updated: "/scripting/l4dd/l4dd_natives.sp" project file.
- Updated: "/scripting/l4dd/l4dd_setup.sp" project file.
__________________