Left 4 Dead 2

Left 4 Dead 2

Give N Take - Interneted Version
Showing 21-30 of 32 entries
< 1  2  3  4 >
Update: 2 Feb, 2024 @ 9:45pm

Update 03/02/2024:

  • Fixed console errors when survivors are trying to press the shove button while dominated by specials, getting up after being cleared, or not holding any active items (GetActiveWeapon() == null situations).
  • Regardless of your switchToItem's state in the ems, receiver who is holding a quest item will no longer drop the quest item and switch to the received item.

    Now they will only receive the item and that's it, to be consistent with the temporary health items.

Update: 10 Jan, 2024 @ 11:54pm

Update 11/01/2024:

  • Fixed a bug where you cannot take bots' items when the bot is in combat, but only when you are holding weapons instead of items, Fixed on 08/02/2024.

    For nerds: shoving a bot while they are in combat doesn't trigger the player_shoved event, and for some reason, thinker functions trigger twice when using pressed buttons.

  • When you enter an invalid data type on the ems setting, it will automatically set itself to true on the file.

Update: 29 Dec, 2023 @ 6:31pm

Update 30/12/2023:
Before, I disabled giving and exchanging completely when the target has thrown the throwables until the target switch to another item to fix the duplication bug.

Now, I have allowed them, provided you are not holding throwables.

Update: 28 Dec, 2023 @ 5:53pm

Small Update 29/12/2023 (1): Fixed a bug where firing with a mounted gun while holding throwables still counts as throwing a throwable when using GetActiveWeapon()

Update: 28 Dec, 2023 @ 9:29am

Small Update 29/12/2023: Fixed some minor console error popups.

Update: 28 Dec, 2023 @ 8:53am

Major Update 28/12/2023:

Completely new code with some copied functions from old code.

  • Usage of thinker functions is reduced from 4 to 1, which means the script won't consume as much game performance.
  • Added configurable settings, see the pinned discussion for more information.
  • Bot can no longer take other bot's items and do other actions.
  • Fixed throwables duplication bug when you try to interact with a bot that has just thrown a throwable. (exchanging and taking bots' items)
  • Exchangers no longer speak their item pickup lines.
  • When the taker is holding a quest items like cola, gases, tanks, gnome and firework box, they will throw it and then switch to the received item, assuming switchToItem is set to true.
  • Giving and Exchanging are now disabled when holding quest items like cola, gases, tanks, gnome and firework box.
  • Giving and Exchanging are now disabled when on a mounted gun.

Due to the nature of Left 4 Bots code, I cannot fix the bots immediately throwing the throwables sometimes, I recommend changing the ems settings for Left 4 Bots.

Update: 12 Dec, 2023 @ 5:48am

Update 12/12/2023:

  • Rochelle no longer speak her ammo packs pickup lines. bruh
  • Fixed thinker functions' console error popups when player survivors die.

Update: 2 Dec, 2023 @ 12:37am

Small Update 02/12/2023:

  • Fixed console errors when the targeted entity is not a survivor.

Thanks to 行云流水李可以 for reporting the issue.

Update: 1 Dec, 2023 @ 5:24am

Update 01/12/2023:

  • Since only exchanging temporary health items make the exchanger switch to their primary or secondary weapon (I mean I can make it switch to the exchanged item, but it will cause a bug that it is either VScript limitation or I am just dumb to fix it), I decided to apply it to the throwables and 4th slot as well, to make it up for it.
  • Now every single action should be done in 1 click or hold button.
  • Fixed some code error popups.

I still don't know how to fix that random 'item pickup' lines for special ammos, I am still finding the exact string in the talker scripts. :( Fixed!

Update: 28 Nov, 2023 @ 10:35pm

Update 29/11/2023:

  • You can no longer give and exchange to the survivors if they are dominated by special infected.
  • Fixed a bug where you can duplicate throwables if you spam-shove any survivors immediately after throwing them.
  • Instead of only shoving the bots to take items from them, you now have to hold your walking bind.

Hey, my code ends at line 777, I love number 7!