Left 4 Dead 2

Left 4 Dead 2

332 个评价
Give N Take - Interneted Version
2
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
文件大小
发表于
更新日期
22.667 KB
2023 年 11 月 27 日 上午 10:12
5 月 30 日 上午 4:44
32 项改动说明 ( 查看 )

订阅以下载
Give N Take - Interneted Version

在 Interneted 的 1 个合集中
My VScripts Collection
16 件物品
描述
Thank you, patience and mistakes.

After some more deep VScript learning, I decided to force myself to make my own assessment, which is to make my own version of Give N Take by MANACAT from scratch, it took me a few days until I am satisfied with the result.

I am publishing it in case anyone is comfortable using this.

Description
This simple script add-on allows you to give and exchange items to your fellow survivors and take bot survivors' items.

Features and notes:
  • To take the bots' items, you need to shove the bots while holding your walking bind (default is SHIFT), you can't shove them from a distance.
  • To take the incapacitated bots' items, you need to hold your walking bind (default is SHIFT), and then revive them.
  • To give and exchange, you can shove the survivor from a distance while holding the item.
  • Taking items only works on survivor bots. For exchanging, you need to set enablePlayerExchange in the ems to exchange with players, the mechanic is different from bots, see the pinned discussion to see how it works.
  • If you are holding a medkit, you must hold your walking bind in order to give or exchange, default is SHIFT.
  • You can still give and exchange if your target is incapacitated or dominated by a special infected.
  • You cannot take bots' items when you are not holding anything (you can't shove), in other words, only with shoving.
  • Additions to make it consistent with the temporary health items' mechanic:
  1. The survivors will speak their responses, they will also speak as they have never known the survivors' names.
  2. Emiting the big reward sound to the shover, and small reward sound to the rest of the survivors.
  3. Giving and exchanging's range should be approximately close to the original mechanic.
  4. Giver and exchanger will switch to their primary or secondary weapon when the action is done.
  • Include configurable settings, see the pinned discussion for more information.
  • Only works on local/dedicated servers.

Inspired by smilzo's Left 4 Bots and MANACAT's Give N Take, Special thanks to those VScripters who have helped me too along the way.

Another similar script that I would recommend by Nescius
热门讨论 查看全部(2)
20
1
11 月 24 日 下午 10:04
Bugs and issues report / Questions / Suggestions.
Interneted
0
2023 年 12 月 28 日 上午 8:53
置顶: settings.cfg
Interneted
43 条留言
Cre-mate 10 月 16 日 下午 9:49 
O, okay, nvm, figured it out, mb
Cre-mate 10 月 16 日 下午 9:40 
How do you exchange items when alwaysWalk is set to true?
BrainDamaged 9 月 2 日 下午 12:13 
it works well, but they will ditch things like defibs and special ammo if their medkits from before are still around. so maybe a mod that keeps them from automatically going for items would work well with this.
Zane | MusicLockerRadio 8 月 4 日 上午 10:43 
why did i say that
Interneted  [作者] 8 月 4 日 上午 5:54 
No, and that's one of the reasons i won't likely implement it.
Zane | MusicLockerRadio 8 月 3 日 下午 9:47 
i cant even imagine your one expert and your teamate is black and white they take out there first aid but you take it before they can heal
Zane | MusicLockerRadio 8 月 3 日 下午 9:46 
does this work on human players
|PeleQ| 5 月 30 日 上午 6:28 
Yup, works great, thanks king!
Interneted  [作者] 5 月 30 日 上午 4:52 
Updated, I have added the setting and it should be working now, enjoy! :)
|PeleQ| 5 月 30 日 上午 3:25 
Here, you dropped this 👑

Honestly though, glad I'm not the only one out there getting annoyed by it :P
In that case - I'm looking forward to the update, thanks!