Instal Steam
login
|
bahasa
简体中文 (Tionghoa Sederhana)
繁體中文 (Tionghoa Tradisional)
日本語 (Bahasa Jepang)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Български (Bahasa Bulgaria)
Čeština (Bahasa Ceko)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggris)
Español - España (Bahasa Spanyol - Spanyol)
Español - Latinoamérica (Bahasa Spanyol - Amerika Latin)
Ελληνικά (Bahasa Yunani)
Français (Bahasa Prancis)
Italiano (Bahasa Italia)
Magyar (Bahasa Hungaria)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norwegia)
Polski (Bahasa Polandia)
Português (Portugis - Portugal)
Português-Brasil (Bahasa Portugis-Brasil)
Română (Bahasa Rumania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finlandia)
Svenska (Bahasa Swedia)
Türkçe (Bahasa Turki)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraina)
Laporkan kesalahan penerjemahan
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.