安装 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(越南语)
Українська(乌克兰语)
报告翻译问题









1. List All Weapon Names
Open the Console (~ or F1).
Type: dumpclasses weapon
Press Enter.
This prints a list of all internal weapon names (class names, e.g., SuperShotgun).
2. Bind Key to Specific Weapon
Use the bind command with the use action. This bypasses weapon slots and switches directly by weapon name.
The format is:
bind <KEY> "use <WEAPON_NAME>"
Example: Bind the Plasma Rifle to the P key.
bind P "use PlasmaRifle"
(Remember: Weapon names are case-sensitive!
And how do you bind a key to a specific weapon, i.e. not just a slot?
In order for this to work cheats must be enabled via the command sv_cheats 1.
I'm gonna get back into modding soon, so when I find the time to give myself a refresher I'll update this page with fresh new commands and test the validity of current ones.
It might be worth a shot enabling cheats via sv_cheats 1 to see if that helps, though I don't think it will as from what I remember this is only required for multiplayer and nightmare difficulty.
The give command provides specific ammo types. give clip (bullets), give shell (shells), give rocketammo, and give cell. give backpack doubles your capacity. The give command can also exceed the ammo cap, like give shell 500. However, you won't pick up more ammo from the map while over the limit.
sv_doubleammo 1 doubles the ammo you get from pickups; disable with 0. This is also a settings option.
The take command removes ammo, for instance, take shell 50.
Finally, sv_unlimited_pickup 1 removes all ammo pickup restrictions, allowing you to pick up ammo indefinitely, regardless of your current count. Use sv_unlimited_pickup 0 to disable.