安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
How the trap works: Firstly it strips everyone of their weapons and then immediately gives them a crowbar, holster and magneto stick, then it sets a boolean to 'true' when it is pressed, and there is a hook added to the 'Think' function that runs a section of code so long as this boolean is true. The Think function is called by the game internally for every single gametick, so many times a second. While it is true, it increments a value until it reaches about 30, and when it is 30 (so as to not run the code every single tick but rather every 30 ticks to save processing), it goes through every entity in the server from 1 to the number of maximum players (because these entities are the players) and sets their active weapon to a crowbar if their active weapon is not already a crowbar, holster or magneto stick. This carries on until 25 seconds later, where the boolean is set to false and none of this happens anymore.
In private singleplayer playtesting this worked. If I picked up a sniper rifle after activating the Trap, I would be switched back to crowbar. In recent playtesting with many friends on a server, however, this was not the case.
I am aware of the issue but don't know what the cause is and thus don't know how to fix it just yet. If the trap similarly doesn't work for you please let me know; the server was having other issues and I want to confirm it wasn't an isolated incident.
After all, 3 credits just to temporarily strip people of their weapons for a fraction of a second is blatantly not worth it and is unintended behaviour.