Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Item Transfer
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
56.868 KB
5 Jan @ 6:35am
3 May @ 6:45am
9 Change Notes ( view )

Subscribe to download
Item Transfer

In 2 collections by skysky199
Script List
115 items
Script List <Improvement>
24 items
Description
--僅於區域/專用伺服器生效--
--Works on local/dedicated servers only.--

允許轉移物品(投擲物包電) 電腦可以自動撿起與給予物品
Allows items (grenades, backpack items) to be transferred. Bots can auto give/grab items.

Plugin version: [L4D & L4D2] Gear Transfer[forums.alliedmods.net]
※基本上是插件的簡化版 (與可能比較lag版)
※Basically, this is a simplified version of the plugin (and possibly a more laggy version)

Setting file path:
\ems\itemtransfer\settings.tbl

設定說明:
Description of settings:
設定名
Setting's name
說明
Description
GiveDistance
GrabDistance
(Default: 150.0/150.0)
How close you have to be to transfer an item, and how close the bots need to be for them to pick up an item.
※Also affects bots auto give range.
你與對象的距離小於此值才能轉移物品 以及電腦與物品的距離小於此值才能拾取
※也會影響電腦自動給予物品的範圍
TransferIdle
(Default: 1)
If 0, players will not be able to grab and switch items with idle players. (But the player will auto give you)
如果為 0, 玩家無法與閒置的玩家交換或拿物品 (但他會自動給你)
TransferSwitch
(Default: 0)
When an item is transferred, the target:
0 = switch to current using weapon.
1 = switch to the item.
2 = switch to current using weapon and reset action.
當物品被轉移時 目標:
0 = 切換到目前使用的武器
1 = 切換到物品
2 = 切換到目前使用的武器並重置動作
TransferMethod
(Default: 3)
Transfer items by
1 = Shove
2 = "Button"
Add numbers together.
※Medkits can only be transferred by "Button".
使用...轉換物品
1 = 推
2 = "按鍵"
將數字相加
※醫療包只能用 "按鍵" 轉移
TransferButton
(Default: 8192)
Transfer item by the button
1 = Attack (left mouse)
2 = Jump (space)
4 = Duck (ctrl)
8 = Move forword (w)
16 = Move back (s)
32 = Use (e)
512 = Move Left (a)
1024 = Move right (d)
2048 = Shove (right mouse)
8192 = Reload (r)
65536 = Scoreboard (tab)
131072 = Walk (shift)
524288 = Zoom (middle mouse)
Add numbers together.

※Not all, the others need to be bound.
(bind <key> <button>)
使用...鍵轉換物品
1 = 攻擊 (滑鼠左鍵)
2 = 跳 (空白鍵)
4 = 蹲 (ctrl)
8 = 往前 (w)
16 = 往後 (s)
32 = 使用 (e)
512 = 往左 (a)
1024 = 往右 (d)
2048 = 推 (滑鼠右鍵)
8192 = 換彈 (r)
65536 = 記分板 (tab)
131072 = 走路 (shift)
524288 = 縮放 (滑鼠中鍵)
將數字相加

※非全部 其他的需要綁定
(bind <key> <button>)
TransferNotifies
(Default: 7)
Notify on these types of transfers:
1 = Grab
2 = Switch
4 = Give
Add numbers together.
轉移為這些種類時 進行通知
1 = 拿
2 = 交換
4 = 給予
將數字相加
TransferSounds
TransferVocalize
(Default: 1/1)
If 0, don't play a sound/vocalize to the person giving/receiving an item.
如果為 0 不發送聲音/語音給給予者/接收者
TransferStartAuto
(Default: 0.0)
Block auto give and auto grab from round start for this many seconds.
回合開始後 設定秒內 禁止自動給予/拾取
TransferTimeout
(Default: 5.0)
Timeout to stop bots returning an item after switching with a player, and to prevent bots auto grabbing a recently dropped item.
暫停轉移時間 避免電腦在與玩家交換後歸還物品 與自動拾取剛掉落的物品
TransferTypesGive
TransferTypesGrab
TransferTypesHuman
(Default: 511/511/511)
Which type can bots auto give/grab.
And which type humans can transfer.
※Still can transfer adrenaline and pain pills by shoving.
1 = Adrenaline
2 = Pain Pills
4 = Molotov
8 = Pipe Bomb
16 = Vomit Jar
32 = First Aid
64 = Explosive Rounds
128 = Incendiary Rounds
256 = Defibrillator
Add numbers together.
電腦可以自動給予/拾取哪些的物品
玩家可以轉移哪些類型的物品
※仍可用推轉移藥/針
1 = 腎上腺素
2 = 止痛藥
4 = 燃燒瓶
8 = 鐵管炸彈
16 = 膽汁
32 = 急救包
64 = 爆炸彈藥包
128 = 燃燒彈藥包
256 = 電擊器
將數字相加
TimerBotGive
TimerBotGrab
(Default: 1.0/0.5)
0 = Off
How often to check survivor bot positions to real players for auto give.
How often to check survivor bot positions to item positions for auto grab.
※0 or 0.1 ~ any decimal.
0 = 關閉
檢查電腦與真人玩家之間距離的週期 (自動給予)
檢查電腦與物品之間距離的週期 (自動拾取)
※0 或 0.1 ~ 任意小數

References:
1. [L4D & L4D2] Gear Transfer[forums.alliedmods.net]

===========================================================================

翻譯詞檔案位於\ems\translations\itemtransfer.tbl

Translation phrases file is located at \ems\translations\itemtransfer.tbl

API language code:
https://partner.steamgames.com/doc/store/localization/languages

顏色代碼:
Color Codes:
Beige (default color) = "\x01" = "{default}"
Bright green = "\x03" = "{lightgreen}"
Orange = "\x04" = "{orange}"
Olive green = "\x05" = "{olive}"
7 Comments
skysky199  [author] 13 Feb @ 10:28am 
@Rhumpunk

Now requires subscribing to this .
Rhumpunk 13 Feb @ 10:21am 
It stopped working today . Ive notice it got an update today ? something broke or is just me ?
skysky199  [author] 6 Jan @ 12:55am 
@アクセルアキノTV

You can set the ConVar "sv_allow_votes" to 0 to block votes.
AxelAquinoTV 5 Jan @ 3:02pm 
Thanks, one thing you can do is make a voting blocker, because there are people who troll the voting to change the map and expulsion. Thank you very much :steamthumbsup:
something something house 5 Jan @ 8:33am 
thanks :DD
something something house 5 Jan @ 8:28am 
can you do an item randomizer script>?