Left 4 Dead 2

Left 4 Dead 2

评价数不足
Rifle with Underbarrel Shotgun (Vscript)
   
奖励
收藏
已收藏
取消收藏
Game Content: Weapons, Scripts
Game Modes: Single Player, Co-op
Weapons: Rifle
文件大小
发表于
更新日期
29.048 KB
6 月 11 日 下午 2:23
6 月 13 日 下午 7:29
3 项改动说明 ( 查看 )

订阅以下载
Rifle with Underbarrel Shotgun (Vscript)

在 kurochama 的 2 个合集中
Unique Weapons with Special Features
63 件物品
Underbarrel Shotgun Series
5 件物品
描述
This one was originally a prototype, as I simply just wanted to test for fun when I remembered about some people requesting underbarrel shotgun as the alternative for m203. But it turned out to be working after testing this :D . Well, that's good news then :D .

So, this mod is about underbarrel shotgun installed on rifle (m16). The template for shotgun itself is from "Improvised Pipe Shotgun" custom weapon by Rectus. I just slightly modified it to become a portable version that can be installed anytime on any weapons. While m203 series requires you to press Scope/ Aim to shoot m203, this one requires you to hold E (Use) button to shoot underbarrel shotgun.


List of features available on "rifle with underbarrel sg.txt" cfg file in "underbarrel shotgun series" folder:
  1. rifle_underbarrel_sg_user: Which type of survivor can use this (bots/ players/ all). For bots, they have 10% chance to use this automatically when they have underbarrel shotgun ammo.

  2. rifle_underbarrel_sg_damage: The damage of underbarrel shotgun. Min= 1, max= no limit.

  3. rifle_underbarrel_sg_shot_count: How many shots until you get underbarrel shotgun ammo.

  4. rifle_underbarrel_sg_gore_mode: When enabled, common infected killed with underbarrel shotgun will have parts of their body destroyed/ gibbed (NOTES: Only compatible with default common skins, & common skin mods that allow gibs on common)


Mechanisms of "Rifle with Underbarrel Shotgun":
  • Keep shooting until you get a notification about underbarrel shotgun ammo.

  • Hold E (Use) & then shoot the gun to use underbarrel shotgun.

  • When using underbarrel shotgun, fire rate will drop until next shot.

  • Underbarrel shotgun only has 1300 shot range max, so it can't be used to shoot zombies from afar.

  • The pellet spread is randomized, so even if you aim at the center of crosshair, there's a chance that the shot will miss if the target is far enough (effective only in close to medium range).

  • Underbarrel shotgun can penetrate multiple zombies at once.

  • Underbarrel shotgun has flat damage, so the shotgun bonus damage on tank is not applied on this one.

  • Underbarrel shotgun can pierce through riot zombie's armor.
    .
  • Underbarrel shotgun can damage objects. It means that it should be able to damage custom enemies/ bosses in some custom campaigns too.

  • Survivors are immune to the underbarrel shotgun (no friendlyfire on teammates).


So, now you can have both rifle & shotgun at the same time with this.


CREDITS:



NOTES:
  • Not all weapons on "M203 Series" are compatible with this, especially those that use E (Use) to shoot m203 (examples: m203 series for snipers, ak47, m60, spas). Actually it won't be bugged if you use both. It's just that the gun will shoot both m203 & underbarrel shotgun at the same time.
26 条留言
TH (CKالسيد كيك 10 月 19 日 上午 2:25 
I think this mod deserves a 10 rating. If used with the M4A1 Masterkey for M16 no script mod, it would make this mod even more fun to play. 😁👍
bacorjohnray 10 月 15 日 上午 11:24 
@kurochama update: i manage to make the mod worked at last....well it took me a lot of guessing which one of the mod causing the problem but its working thanks for the help and advise.
kurochama  [作者] 10 月 14 日 下午 3:16 
& there's also an old case when someone informed me that my other mod didn't work, & after several times he tested again with different set of mods, it worked. So, there's high possibility that there's one or some of your mods causing this mod to stop working. So you can try to check your mods first.
kurochama  [作者] 10 月 14 日 下午 1:16 
@bacorjohnray , somehow I couldn't replicate the bug you encountered when I tested just recently, even by enabling all underbarrel shotgun mods & m203 mors. So, you can try to disable all mods except this one then, & then test it again. I also ever combined this with the m203, & both worked. Even bots regularly used them.
bacorjohnray 10 月 14 日 上午 11:23 
@kurochama yep...it still don't work i remove everything but no notifications that i got a shotgun ammo...the same thing applies to the m203 versions of sg552 and military sniper.
bacorjohnray 10 月 14 日 上午 10:50 
@kurochama hell i turn off all of the m203 mods..but nothing happens.
bacorjohnray 10 月 14 日 上午 10:47 
@kurochama i tried many many times now...its still dont work.
kurochama  [作者] 10 月 14 日 上午 8:44 
@bacorjohnray , that's strange. I used this mod regularly & the underbarrel shotgun ammo can still increase. Have you tried to delete the cfg file & then reload your gun or restart the map?
bacorjohnray 10 月 14 日 上午 12:35 
hmmm...this mod won't work i try shoot many bullets but it keeps saying underbarrel shotgun ammo 0 even i reduce the chance to 1
4skiNZ^XxblackguyxX 8 月 3 日 下午 2:01 
@kurochama Thank you! Yeah, i just set the number of shots for a round to one mag so it'd be easy to know. Love your mod man, goes hard for the M41A.