Left 4 Dead 2

Left 4 Dead 2

评价数不足
Air Support: Orbital Laser (Vscript)
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
Game Modes: Single Player, Co-op
文件大小
发表于
更新日期
44.722 KB
10 月 27 日 上午 8:18
10 月 28 日 下午 3:54
4 项改动说明 ( 查看 )

订阅以下载
Air Support: Orbital Laser (Vscript)

在 kurochama 的 3 个合集中
Unique Weapons with Special Features
64 件物品
Useful "Side-Dish" Mods (Especially for Bots)
64 件物品
Laser Weapon Series
10 件物品
描述
This one was actually a prototype for fun after I had successfully used multiple "Traceline" on my previous "Elemental Laser Launcher". This was first introduced on my "Laser Pipebomb". As it looked fun to make it as an air support instead, I tried to make this, & luckily it worked :D .

So, to put it simply, this mod allows you to call a special air support, "Orbital Laser" from a satelite from an advanced civilization. Yeah, let's say that the continuation of Ellis' story on "Elemental Laser Launcher" led him to discover a control room to activate one of working satelites, & now the survivors have laser cannon from the sky as the air support :D .


List of features available on "air support - orbital laser.txt" cfg file:
  1. orbital_laser_user: Who can use "Orbital Laser" (bots/ players/ all).

  2. orbital_laser_damage: The damage per 0.2 second.

  3. laser_extra_effect: When enabled, the laser triggers a special effect on zombies when they take damage.

  4. add_explosion_on_first_hit: When enabled, the laser triggers explosion on first hit that can damage object.

  5. allow_damage_on_survivor: When enabled, survivors can take damage when they stand closer to the "Orbital Laser".

  6. laser_ammo_consumption: How much primary ammo consumed on each air support.

  7. laser_color: The color of the "Orbital Laser" in RGB.

  8. allow_custom_button: When enabled, custom cvar 'kuro_orbital_laser_mode' can be used.It's best to use on 'alias' command so you can toggle it on/off. Here's the example to bind on "C" key:
    alias orblaser+ "kuro_orbital_laser_mode 1; cl_colorblind 1; bind c orblaser-" alias orblaser- "kuro_orbital_laser_mode 0; cl_colorblind 0; bind c orblaser+" bind c orblaser+


Mechanisms of "Orbital Laser":
  • Register your weapons first on "registered weapon.txt" cfg file, to allow the weapons registered on the cfg file to gain "Orbital Laser" air support feature. Medkit & defib are excluded/ bugged, so you can't register these. The formats can be in weapon classname or model name & must be correct, like this:
    weapon_smg = 1 weapon_pistol = 1 fireaxe.mdl = 1

  • A notification will pop up when you pick a weapon registered on "registered weapon.txt".

  • "Orbital Laser" can be used by holding E (USE) & then press ATTACK when you're holding a registered weapon. If "allow_custom_button" is enabled, you can use alias to bind other keys on keyboard to toggle on/off the air support (see the example above).

  • Ammo consumption on "Orbital Laser" is controlled by "laser_ammo_consumption". Primary gun is required to call "Orbital Laser". If it's set to 0, you can use air support even without primary gun.

  • A laser marker in green color will be triggered first & then after 1 second, the "Orbital Laser" is shot from the sky.

  • "Orbital Laser" lasts for 10 seconds.

  • Common infected will be attracted to the laser if at least there's one common killed by the laser.

  • Each survivor can only shoot one "Orbital Laser". It means that you can't spam it & have to wait until the laser vanishes before you can use it again.

  • "Orbital Laser" can be used indoor.


Q: "What about normal air supports, like aircraft bombing or something similar?"
A: "I focus more on uncommon air supports. So, you won't be seeing any normal air supports from me heheheheh. But as I've already proven that air support feature is possible, I think you can ask some QOL modders to make the normal air supports. There's already a template for air strike from a mod on workshop so it shouldn't be difficult to modify it to be an air support for survivors."


So, let the zombies go crazy because of Ellis playing with "Orbital Laser" for fun :D .
16 条留言
kewjess697 11 月 3 日 下午 6:40 
Notepad++ I great I hear. But I changed the Chinese words and copied what was eligible in the preview and saved it from there.
kurochama  [作者] 11 月 3 日 下午 6:13 
@kewjess697 , it's caused by the notepad you used. There's a case where windows notepad generate some chinese & random words. You can try to use other notepad applications. One of recommended ones is "Notepad++". You can search google.
kewjess697 11 月 3 日 下午 5:24 
When I try to edit the registered weapon text document I can only see weird characters! How can I fix this!?
Narco 10 月 31 日 上午 2:04 
i guess we have to wait till someone does it, because artillery barrage sounds absolutely amazing not gonna lie, im gonna propose this idea to others if you dont wish to make it yourself, as im deffiently unable to do so with my modding experience
kurochama  [作者] 10 月 29 日 上午 11:27 
@Narco , I'll let other modders do that instead. There's already a mod for airstrike template, & they can use it as a reference to modify as an air support. Artillery barrage should also be possible (imagine this mod, but instead of laser, there are several random bombardments around the designated area).
Narco 10 月 29 日 上午 10:25 
how about if this mod sent Airstrike instead of an orbital laser, to still keep this "lore friendly" maybe the survivors found unused airstrike radios or something, would be more immersive than giant laser lol
CoolingCashew31 10 月 27 日 下午 7:46 
"Friendly Orbital strikes inbound" - Announcer COD AW
Doomgamer9000 10 月 27 日 下午 4:27 
Cool with me*
Doomgamer9000 10 月 27 日 下午 4:27 
Cool
kurochama  [作者] 10 月 27 日 下午 4:16 
@ Doomgamer9000 , I added "registered weapon.txt" cfg file. Now it can be set only on certain weapons registered on the cfg file.