Left 4 Dead 2

Left 4 Dead 2

评价数不足
Elemental Laser Launcher (Vscript)
   
奖励
收藏
已收藏
取消收藏
Game Content: Weapons, Scripts
Game Modes: Single Player, Co-op
文件大小
发表于
46.476 KB
10 月 25 日 下午 12:53
1 项改动说明 ( 查看 )

订阅以下载
Elemental Laser Launcher (Vscript)

在 kurochama 的 2 个合集中
Unique Weapons with Special Features
64 件物品
Laser Weapon Series
10 件物品
描述
Somewhere in "Divine Cybermancy" campaign, Ellis couldn't sleep well while other survivors already slept soundly. As he had nothing to do, he decided to walk around to collect some spare parts from advanced civilizations. He remember the teachings of Darth Vader's engineers when they had met in "The Last Baktun" quite a long time ago, so he got some ideas in mind.

Coach: "Ellis, you're not sleeping...?"
Ellis: "I could't sleep well. You couldn't sleep either?"
Coach: "I was just hungry so I woke up."
Ellis: "Hahahahaha...!"
Coach: "What are you making?"
Ellis: "Some cool guns... Advanced civilizations come with advanced guns..."
Coach: "Let me know once it's done. Gonna eat first & then sleep again..."

After finishing eating, Coach slept again, while Ellis was still busy making something with the spare parts he had found. BLARRR...!! Suddenly, there was a loud explosion sound that woke all survivors up.

Nick: "What the hell...?! Tank's nearby...?!"
Coach: "Sh*t... That sure attracts some zombies."
Rochelle: "Where's Ellis?"
Coach: "Don't tell me that he's fighting a tank outside...! We've got to hurry...!"

BLARRR...!! Not long afterwards, the explosion sound was heard again. All survivors ran to where the sound was, & found Ellis laughing with so much joy, with a sniper that had a strange launcher installed.

Ellis: "Hahahahahahaha...!! You all will be damned...! "
Rochelle: "What's going on?"
Ellis: "Oh... I was just testing the new launcher on some zombies."
Coach: "Launcher...?"
Ellis: "Yeah, a laser launcher..."
Nick: "What...?"
Ellis: "Look... This is very cool. Let me shoot again..."

BLAAARR...!! From the launcher installed on his sniper, a light gathered & then it spread into 5 lasers that kept changing colors like a rainbow.

Coach: "Rainbow laser, huh......"
Nick: "Good... Now he has another loud toy. I start to miss my night club..."
Rochelle: "Maybe we should name it Night Club Laser Launcher."
Ellis: "No... I call this Elemental Laser Launcher, as it's like some elements of nature, fire, water, earth, lightning, mixed into one."
Coach: "Ok now I want to eat a rainbow cake because of this..."

With Elemental Laser Launcher, Ellis led the survivor squadron, to prepare to fight the final boss waiting somewhere in the campaign.


That's the background story for fun. & yeah, this is another mod born from a crazy idea. Last time after making "Common-Destroyer Melee", a random crazy idea invaded my mind, like:
"How about using multiple Traceline functions to trigger spread laser attack...?"


& the crazy idea won again, as usual... :D . It's Left 4 Star Wars now hehehehe...

So, this mod allows certain weapons to have "Elemental Laser Launcher" installed. The mechanisms are similar to "Acid Launcher", like there's a cfg file to register weapons you want to have the laser launcher installed.


There are 2 cfg files available:
  1. "elemental laser launcher.txt": This contains the main features.
    • Laser Launcher User: Who can use "Elemental Laser Launcher" (bots/ players/ all). For bots, they have 10% chance to shoot laser launcher.

    • Laser Launcher Damage: The laser damage per tick every 0.2 second.

    • Laser Extra Effect When Hit: When enabled, a special effect will show up when laser successfully hits a zombie.

    • Laser Spread Distance: This controls laser spread distance. The higher value is used, the farther the spread range is (see the first 2 animated previews).

    • Laser Ammo Consumption: How much primary ammo consumed on each laser shot. Min= 0, max= no limit.

  2. registered weapon.txt: This cfg file is to register weapons you want to have laser launcher installed. Here's the format examples:
    weapon_rifle = 1 weapon_smg_mp5 = 1 fireaxe.mdl = 1


Mechanisms of "Elemental Laser Launcher":
  • You need to register the weapons to "registered weapon.txt" first. The weapon can be in model name with ".mdl", or the weapon classname. The formats must be correct, or it will be bugged.

  • After registering the weapons, the moment you pick weapons registered on the cfg file, they will be installed with "Elemental Laser Launcher".

  • How much primary ammo used is controlled by "Laser Ammo Consumption". Exclusively only when it's set to 0, there's no ammo consumption & you can use laser launcher even without having primary weapon.

  • When holding the registered weapon, hold E (Use) & then press ATTACK to launch "Elemental Lasers".

  • "Elemental Lasers" will have 5 different colors that are randomized & spread horizontally.

  • The laser spread range is controlled by "Laser Spread Distance". Min value is 1, & max is 200.

  • Common infected will instantly die when hit by laser (hardcoded, as even with only 1 damage they still die), while special, tank & witch take damage based on "Laser Launcher Damage".

  • The lasers can damage objects, but only on first hit.

  • Items other than guns can also use "Elemental Laser Launcher" when registered, but they will have 2 seconds of cooldown on each laser shot. Medkit & defib can't use this (for now)

  • The lasers can bypass riot zombie's armor.
1 条留言
CoolingCashew31 10 月 25 日 下午 1:32 
fired the rainbow! Taste the rainbow!