Left 4 Dead 2

Left 4 Dead 2

162 arvostelua
Item giver
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Game Content: Scripts, Miscellaneous
Tiedostokoko
Julkaistu
29.329 KB
1.5.2024 klo 10.47
1 muutos ( näytä )

Tilaa ladataksesi
Item giver

Kuvaus
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
Suositut keskustelut Näytä kaikki (3)
0
22.10.2024 klo 18.52
New ideas
不能修復的痛
0
1.5.2024 klo 10.52
Bug reports
Nescius
0
1.5.2024 klo 10.51
Questions about how to bind it
Nescius
14 kommenttia
不能修復的痛 22.10.2024 klo 10.15 
good
Pwnage Peanut 1.7.2024 klo 20.00 
No such thing
樱涩舞 10.5.2024 klo 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.
the bay harbor zoner 5.5.2024 klo 9.47 
edgelord
nick69 4.5.2024 klo 8.41 
what butten?
:steambored:
Legalise Sillyness 4.5.2024 klo 8.03 
not working :(
JUP17ER 4.5.2024 klo 5.44 
slow movement when carry m60:tank:plz
Dex 3.5.2024 klo 22.14 
BEST MOD !!!!!!!!
Nescius  [tekijä] 3.5.2024 klo 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.5.2024 klo 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.