Left 4 Dead 2

Left 4 Dead 2

129 个评价
Item thrower
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts, Miscellaneous
文件大小
发表于
更新日期
6.398 KB
2024 年 5 月 1 日 上午 7:09
2024 年 5 月 1 日 上午 10:00
2 项改动说明 ( 查看 )

订阅以下载
Item thrower

描述
Script that adds possibility of binding items/weapons throwing to a button.

Example of binding this to "g" key
bind g "setinfo nescmd throwitem; 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

Recommended mod to use it along with

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
热门讨论 查看全部(2)
2
2024 年 5 月 1 日 上午 9:30
Questions about how to bind it
Nescius
1
2024 年 6 月 7 日 下午 8:16
Bug reports
Nescius
23 条留言
Mr.POOTIN 6 月 19 日 上午 7:02 
один из самых полезных модов в мастерской
阿尼亚出萌咯 2024 年 11 月 21 日 上午 10:21 
Can this work on a local host? Do other players need to bind a key?
Nescius  [作者] 2024 年 6 月 11 日 下午 5:15 
@★J̅คҜe★
Probably not. The logic of it gets too messy and annoying for it to be worth it. For example let's say I disable throwing of secondary slot completely. But then sometimes you want to throw melee, chainsaw or magnum so what to do in such case ?
1. Spawn pistol in your hand instead? problem: can make infinite pistols
2. Allow it only when I have at least one other item ? problem: other items can be consumed (throwables thrown, kits used, m60 dropped etc) and you again end up with no items
3. Allow it only if I have non m60 primary ? problem: when primary has 0 ammo and no other item is present you go into Tpose anyway and not only that you can in the meantime take m60 too

Best solution is just not throwing all your weapons since there is no point in doing that and it only hurts the player. And you can do it just for fun when running to rescue vehicle in Tpose

@Xeno :]
It doesn't
(^^^) Xeno 2024 年 6 月 8 日 上午 1:55 
Does this inform players that they can throw their items?
★JΛKΣ★ 2024 年 6 月 8 日 上午 12:12 
can you disable throwing out pistols in a different version?
Nescius  [作者] 2024 年 6 月 7 日 下午 10:30 
Not really a bug of this addon. Not having any items does that and it looks funny so I didn’t disable being able to throw all items
★JΛKΣ★ 2024 年 6 月 7 日 下午 8:21 
T posing character models when all items are thrown out
Zaden 2024 年 5 月 3 日 下午 8:06 
Nice! It works! Thank You! :health:
Nescius  [作者] 2024 年 5 月 2 日 上午 10:16 
Entire line is required
Zaden 2024 年 5 月 2 日 上午 10:07 
Does the bind have to contain the entire line or just "setinfo nescmd throwitem"?