Left 4 Dead 2

Left 4 Dead 2

评价数不足
Railgun Bow (Crowbar) (Vscript)
   
奖励
收藏
已收藏
取消收藏
Game Content: Weapons, Scripts
Game Modes: Single Player, Co-op
Weapons: Melee
文件大小
发表于
更新日期
38.034 MB
9 月 5 日 上午 5:14
11 月 19 日 下午 2:24
4 项改动说明 ( 查看 )

订阅以下载
Railgun Bow (Crowbar) (Vscript)

在 kurochama 的 2 个合集中
Unique Weapons with Special Features
66 件物品
Otherworldly Melee Weapons
15 件物品
描述
Lately I remembered about a custom weapon. bow, made by Rectus, & somehow a crazy idea popped up in my head like:
"What if you make the railgun version of that one?"

& yeah, my crazy idea won, as usual... :D . So, this mod is a modified version of this Recurve Bow. I completely replaced the scripts with the existing railgun scripts that I have, as I also remembered about a special bow on "CSO" (now "CS Nexon"). So, this becomes another long-ranged otherworldly custom melee weapon.


2 cfg files are available:
  1. "railgun bow.txt": This is the main cfg file containing the main features. The features:
    • railgun_bow_user: Who can use "Railgun Bow" (bots/ player/ all). For bots, they have 10% chance to use "Railgun Shot" when it's added to weapons/ items other than bow.

    • railgun_bow_ammo_used: How much primary ammo is used. There's penalty if player keeps using "Railgun Shot" when primary ammo is insufficient. Min= 0 (no ammo used), max= no limit.

    • railgun_bow_gore_mode: When enabled, common infected killed with "Railgun Shot" will have parts of their body destroyed/ gibbed.

    • burning_railgun: When enabled, "Railgun Shot" will burn zombies.

    • railgun_effect: Which effect is used (see the animated previews)..

  2. "registered weapon.txt": This is to register weapons to gain "Railgun Shot" ability. The weapon name is the model name (it can be in long name, short name with ".mdl" or very short name), & the value is the damage. Here's the example:
    _bow = 100 pistol = 80 pill = 150 defib = 1000 fireaxe.mdl = 9999

  3. Chat Command:
    CHAT COMMAND
    EFFECTS
    get item model
    Check item model of weapon/ item you're holding
    (to register it to "registered weapon.txt")


Mechanisms of "Railgun Bow":
  • The bow will replace crowbar. It means that it will conflict with crowbar mods that have "crowbar.txt" inside.

  • "Railgun Shot" on the bow is triggered via normal attack, while on other weapons/ items, it's via combination keys of "E (Use) + ATTACK".

  • When "railgun_bow_ammo_used" is set above 0, "Railgun Shot" consumes primary ammo on each shot. If you have insufficient primary ammo or even have no primary, there are some penalties like:
    CONDITION
    PENALTY
    Insufficient reserve ammo
    Primary ammo clip will be used
    Insufficient reserve ammo/
    insufficient ammo clip/
    no primary weapon
    You take damage as much as
    the value on "railgun_bow_ammo_used"

  • "Railgun Shot" deals damage based on value set on each weapon on "registered weapon.txt". It means that each weapon registered there can have different damage. For examples:
    pistol = 80 ("Railgun Shot" on pistol deals 80 damage)
    fireaxe.mdl = 9999 ("Railgun Shot" on fireaxe deals 9999 damage)

  • As it restricts primary weapons, if you register primary weapons on "registered weapon.txt", that will give no effect. However, if you use mods that change some weapons to other slots (like shotguns to different slots), those weapons on different slots can be registered on this cfg file.

  • For weapons other than bow, they have 0.5 second of cooldown on each "Railgun Shot". This doesn't affect fire rate, so the "Railgun Shot" will work like an automatic special shot that's triggered every 0.5 second.

  • "Railgun Shot", if it deals non-lethal damage, will stumble common & witch. As for special & tank, they will be pushed back.

  • Defib & medkit can also use "Railgun Shot" when registered to "registered weapon.txt", but they have slightly different mechanisms. Medkit needs to press E + ATTACK, but it only works if health is not 100. As for defib, as it uses a timer, you need to reload a gun first to restart the timer to make it work.

  • "Railgun Shot" bypasses riot zombie's armor.

  • "Railgun Shot" can damage objects. It means that it can also damage custom enemies & bosses in certain custom campaigns.

  • *NEW* Now the medkit has "Healing Railgun" that can heal a teammate if it's registered as railgun weapon. The healing amount is equal to ammo consumed when using "Railgun Shot"


With this, you can become an archer from the future advanced civilization that shoots railgun instead of arrow :D .


CREDITS:


NOTES:
  • Do not remove bow from "registered weapon.txt", as that will make the bow useless because it won't be able to shoot anymore. If you want to add more weapons, just add below the bow.
3 条留言
kurochama  [作者] 11 月 23 日 上午 7:45 
@ TrueKringe , the recoil is very weak like half step backward & that doesn't affect accuracy as the screen doesn't shake, so you can ignore the recoil, as long as you don't stand near the edge of rooftop or near a pit.
TrueKringe 11 月 23 日 上午 7:26 
Is there any way to disable recoil and railgun effects? Cuz I just wanted a normal bow in crowbar slot.
CHELODELASTREETT 10 月 18 日 下午 7:12 
esta chevere