Left 4 Dead 2

Left 4 Dead 2

162 evaluări
Item giver
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Game Content: Scripts, Miscellaneous
Dimensiunea fișierului
Postat
29.329 KB
1 mai 2024 la 10:47
1 jurnal de actualizare ( vizionare )

Abonează-te pentru a descărca
Item giver

Descriere
Script that adds possibility of binding a button to exchange items with other survivors

Example of binding this to "q" key
bind q "setinfo nescmd giveitem; taunt; nescmd 0"

You can paste that line to console.
If something is unclear about how to bind it ask it in the discussion section not in the comments

Now when you use this on a bot:
with a primary/secondary weapon in your hand -> you will take all the items/weapons they have that you have free slot for (can do triple click to switch your held weapon with a bot just be aware that the first click will always take their available items first)

with item in your hand -> you either give it to the bot or switch it with them if they have other item in their slot

for human players you can only give them an item that's in your hand when they have free slot for it


If you are script maker that wants to bind some action to a button you can use this addon as required item for your mod.

======================================
Paypal [www.paypal.com] for donations if you feel generous and want to encourage me to make more addons
Discuții populare Vezi toate (3)
0
22 oct. 2024 la 18:52
New ideas
不能修復的痛
0
1 mai 2024 la 10:52
Bug reports
Nescius
0
1 mai 2024 la 10:51
Questions about how to bind it
Nescius
14 comentarii
不能修復的痛 22 oct. 2024 la 10:15 
good
Pwnage Peanut 1 iul. 2024 la 20:00 
No such thing
樱涩舞 10 mai 2024 la 0:07 
Does anyone know any official L4D2 staff? It's been a long time since 《Last stand》 was last added to the official campaign. It's time to add the official forgotten map 《Dead Line》to the official campaign.
Ryadovoy Fitzgerald 5 mai 2024 la 9:47 
edgelord
nick69 4 mai 2024 la 8:41 
what butten?
:steambored:
Legalise Sillyness 4 mai 2024 la 8:03 
not working :(
JUP17ER 4 mai 2024 la 5:44 
slow movement when carry m60:tank:plz
Dex 3 mai 2024 la 22:14 
BEST MOD !!!!!!!!
Nescius  [autor] 3 mai 2024 la 15:31 
Good suggestion. I did think of something like that where it would show a message to player I try to switch/take item with and will probably add it at some point.
kurochama 2 mai 2024 la 18:38 
It's very good. I thought bind feature via vscript was limited only to certain buttons that could be registered on "GetButtonMask()", but seeing this mod made me get some enlightenment to see a bigger picture & knowledge that it's actually possible to bind any keys to some vscript features. It's pretty simple too, as people can use it simply by writing that command line.

Just a random suggestion, probably if you plan to develop this further to allow swap items between players (not only give but also swap), if it's possible to be made, you could also add some binds on "yes/no" confirmation in few seconds after first "item transaction", so if the other player presses "yes" key during "transaction time", item will be swapped. Probably this could be helpful in multiplayer.