按Q切换至最近使用武器

If you liked this item, please rate it up on Steam Workshop page.

Author: ★異界TS專用泥頭車★

Last revision: 3 Nov, 2025 at 03:20 UTC

File size: 15.72 KB

On Steam Workshop

Description:

Q , play like CS , like "sniper → Q → knife → Q → sniper"
this mod use "KeyCode.Q" so can’t custom use Q in game
——
translator(baidu) :

Simulate the weapon switching habits of CS and CF players, switching to the most recently used weapon by pressing "Q key", such as "AWP →Q→ knife →Q→ AWP"
Currently, it supports the switching between "main weapon, secondary weapon, melee weapon, and items (such as grenades, kazoo, etc.)".
When you have multiple identical throwing objects, you can try to switch to the next one by double-clicking Q (Jade Grenade King? awa)

Through the player’s own actions, enhance the flexibility when wielding bulky weapons
Frequently using the ability to cancel weapon backswing will affect game balance

My coding skills are quite poor, and I may not be able to solve all problems encountered. However, I welcome feedback from everyone

2025.11.2: Module rewrite, using in-game keystrokes directly, no key changes required, only Q key is occupied by the module and cannot be used freely
2025.11.3: Optimize the touch experience to address the issue of "when a player presses the Q key while unable to switch weapons, causing subsequent Q key presses to become stuck." Remove a large number of unrelated and insignificant Debug logs generated by this mod
2025.11.3: Quick switching of shortcut bar items is now supported. You can try quickly switching between weapons and grenades, and double-clicking Q (for quick switching twice) to retrieve the next grenade

——
模仿 CS 和 CF 的切枪习惯,按“Q键”切换至最近使用武器,如“ 大狙 →Q→ 刀 →Q→ 大狙 ”

目前支持 “主武器、副武器、近战武器、道具(如手雷、卡祖笛等)” 的相互切换。
拥有多颗相同投掷物时,可尝试通过双击Q切换出下一颗投掷物(玉面手雷王?awa)

通过玩家自己的操作,强化手持笨重武器时的灵活性
频繁用于取消武器后摇将影响游戏平衡 awa

本人代码水平很菜,遇到问题不一定能解决,但欢迎各位反馈

2025.11.2:模组重写,直接使用游戏内键位,无需改键,仅Q键被模组占用无法自由使用
2025.11.3:手感优化,解决“当玩家处于无法切换武器时按下Q键,让后续Q键卡手”的问题。 移除本mod中 大量无关紧要的Debug日志生成
更换模组描述以及封面,我想实现的效果是切换至“最近使用武器”而非“上一个武器”
2025.11.3:现已支持快捷栏道具的快捷切换,可以尝试在武器与手雷之间快捷切换,以及双击Q(快速切换2次)取出下一颗手雷