Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
【VScripts】可携带两种主武器(Can carry two primary weapons)
2
   
Award
Favorite
Favorited
Unfavorite
Game Content: Weapons, Scripts
File Size
Posted
Updated
15.688 KB
18 Apr @ 8:49am
26 Apr @ 4:17am
2 Change Notes ( view )

Subscribe to download
【VScripts】可携带两种主武器(Can carry two primary weapons)

Description
原MOD链接:https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1960629647

由于原作者长时间未更新,我决定对该脚本进行了一系列的修复,以下的是修复内容:

修复了霰弹枪显示问题
改进了武器和弹药状态的保存逻辑
修复武器之间切换延迟过高的问题
修复拾取第一把主武器后按E+鼠标右键切换副武器才能拾取第二把主武器
新增安全屋关门结算前在玩家脚下自动生成携带的武器保存到下一关(针对携带的另一把主武器无法保存到下一关的问题)
新增无论站立、蹲下还是wsad移动和慢速移动,都可以切换到另一把主武器

注意事项:
按E捡起两个武器后,不要对着地上的主武器按E+鼠标右键切换,不然无法切换武器


Original MOD Link: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1960629647

Since the original author hasn't updated the script for a long time, I decided to make a series of fixes. Here’s what I fixed:

Fixed the issue with the shotgun showing up incorrectly.
Improved the logic for saving weapon and ammo status.
Fixed the high delay when switching between weapons.
Fixed the issue where you had to press E + right mouse button to switch to the second primary weapon after picking up the first one.
Added a feature that automatically generates the carried weapons under the player before closing the safe room, saving them for the next level.(Regarding the issue of the other primary weapon not being saved for the next level)
Added the ability to switch to another primary weapon while standing, crouching, or moving slowly with WSAD.

Notes:
After picking up two weapons by pressing E, do not press E + right mouse button to switch while looking at the primary weapon on the ground; otherwise, you won't be able to switch weapons.
10 Comments
罂粟 5 Sep @ 7:20am 
这个要怎么用啊,我对着枪E加右键好像没效果
devvie_DanEli 7 Aug @ 12:48am 
there's a duplication glitch going on when we're doing the switch. ig thats fine coz its funny lol
一意孤行 28 Jul @ 2:25pm 
作者,单人进屋子之后就没法触发了,咋办?
孤独的詹某人 11 Jul @ 3:08am 
NB NB 很好用
Yukes Von Valentinee 30 May @ 2:37am 
it doesnt work
Terminator  [author] 11 May @ 8:13pm 
@芙兰大魔王 打无限备弹量脚本可以解决这种问题,安全屋刷出身上两个武器在地上是为了防止上一关结算后移除另一把武器的问题。 无限备弹量: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3442040165
芙兰大魔王 5 May @ 5:56am 
还是没有备弹的那种 榴弹只有一发没用了
芙兰大魔王 5 May @ 5:55am 
安全屋会一直刷出你身上的2个武器
Terminator  [author] 18 Apr @ 7:02pm 
@Jakiy First pick up two different primary weapons, then hold down the E key and press the right mouse button.
Jakiy 18 Apr @ 11:34am 
Why it doesn't work?