Laser Pistol (Vscript)
- 2.3K
- 0
- Windows
You are downloading as a guest.
The extended gallery contains images from all community members.
-
Add to gallery
Description
I remember that I ever asked a modder about a custom weapon named "laser pistol". However, it's unfortunate that for some reasons, he decided not to continue working on that project so it left me with a curiosity about what it would look like. & so, now that I'm familiar enough with laser stuffs, I decided to make that gun come true. Well, probably I'll make a new collection named "Laser Gun Series" later ?
List of features available on "laser pistol.txt" cfg file:
1. Laser Pistol User: Which type of survivor can use this feature (bots/ players/ all).
2. Laser Pistol Damage: How much the damage per 0.2 second is. Minimum damage is 1, max is no limit.
3. Laser Extra Effect When Hit: When enabled, the laser triggers a special effect when it hits a zombie. The value controls the type of effect.
4. Burning Laser: When enabled, the laser burns zombies.
5. Laser Pistol Shot Chance: The chance for the laser triggered on each shot. It has 1 second of cooldown before the next laser is shot. Min value= 0 (basically a normal pistol lol), max= 100 (100% chance on each shot)
6. Laser Color: This consists of 3 different numbers representing RGB colors. All 3 numbers must be filled in order to prevent unwanted bugs on the laser color, & the formats must be like the examples below. Examples:
LaserColor= 255 0 0 (Red Laser).
LaserColor= 255 255 0 (Yellow Laser).
LaserColor= 255 50 0 (Orange Laser).
LaserColor= 255 0 255 (Purple Laser)
Etc...
Mechanisms of "Laser Pistol":
- The laser shot is triggered when shooting with pistol.
- The chance for laser shot is controlled by "Laser Pistol Shot Chance". It has 1 second of cooldown before the next laser shot. For examples, if you set the value to 10, pistol has 10% to fire a laser shot during shooting. if you set it to 100, each shot has 100% chance to trigger laser shot, but it has 1 second of cooldown for each laser shot (if you keep shooting with this 100% chance, you basically have a pistol that keeps shooting laser nonstop).
- When triggered, the laser is active for 1 second & deals damage every 0.2 second (total of 5 damage hits in 1 second). When still active, laser will follow player's crosshair. Pistol fire rate will be greatly reduced when laser shot is triggered, & can shoot again after the laser shot ends.
- The laser deals 2 kinds of damage, "Basic Damage" & "Custom Damage".
- "Basic Damage" always deals 1 damage on anything, & this can hurt survivor teammates too, but the damage is not registered as a friendlyfire.
- "Custom Damage" deals damage based on "Laser Pistol Damage". The damage of this one is registered to the shooter. Survivor teammates are immune to this damage.
- As common infected are also weak to laser aside from burn & explosion damage, they will die instantly when hit by laser even if it only deals 1 damage (hardcoded by L4D2).
- The laser can pierce through common infected. So, basically the laser shot is like a sniper bullet for pistol.
- The laser can pierce through riot zombie's armor.
- The laser can't pierce through objects/ special infected & tank, so the special infected or zombies behind the targeted special infected/ tank won't get hit by the laser.
- Objects (non-zombie) take damage only once when shot for the first time by laser instead of continuous damage after shot.
- As objects can take damage, this can also damage custom bosses/ enemies in custom campaigns.
& so Ellis is so happy that he gladly becomes heehaw cowboy with laser pistol. It's time to phew-phew the zombies with laser gun ?
NOTES:
- A secret feature: If you use minigun when holding a pistol, you'll have a laser minigun.
- For image previews, check the workshop version to see how the laser works.
- Pistol shoots laser
- A cfg file to freely modify settings
Tagged
Changelog
05/03/25 ======== No change notes have been added by the publisher.
Reviews
Be the first to write a review!
Write ReviewDevelopers & Credits
-
kurochama
Developer
File Details
laser pistol.zip
(5.9 KB)
View Changelog
Version 1.0 Complete
kurochama : Trending
mods : Trending
mods : New & Popular
- Monolithic Turtle Head Studios Aesthetic Damnation
- Vanilla+ Weapons and Items Pack
- Collection of all my mods
- MW22 VHS-2(SG552)
- Assault [Mutation]
- Aim Down Sights Collection
- MW19 M4A1 [Colt M4A1 CarbineModel 921 (KAC Handguard)] (M16A2) [request]
- Psyskallar Winter Aesthetics
- [MWIII] SOA Subverter Time Stealer [AKM]
- SILENT HILL f Sacred Sword w-A Dreamlike Animations [Sound fix Ver]
You may like...
- Laser Sniper Scout (Vscript)N/A
This time, another phew-phew laser weapon, but it's for Scout Sniper :D . List of features available on "laser sniper scout.txt" cfg file: 1. Laser Scout User: Which type of survivor can use this feature (bots/ players/ all). ...
- Panic FestivalN/A
Mod Info There is a command that turns on/off Panic Festival - !pf If Panic Festival is turn off, when Tank spawn will trigger panic event and when Witch is startled only If Panic Festival is turn on, Almost events in game such as gu...
- Majin Boomer (Vscript)N/A
So, this boomer is classified as HIGH THREAT. Why? Because once he turns a survivor into a random item, it's an instant kill :D . Well, there's a cfg file to reduce the item conversion chance on survivors though, along with the spawn cha...
- Smoke Launcher EX (Vscript)N/A
This one is similar to "M203 Launcher EX", but it launches a smoke grenade launcher instead that can deals corrosive damage to zombies. The reference of this one is my "Mp5 with Smoke GL" mod. This mod has 2 cfg files: 1. "smoke ...
- Loot DropsN/A
This is a vscript driven CS Weapons are unlocked, Melee included Sample Images were from testing(100% drop rate) Please at least read below ___________________________________________________________________________ Every zombies kille...
- Throwable Melee WeaponsN/A
This mod allows survivors to throw melee weapon by pressing SCOPE/ ZOOM button, or holding RELOAD button & then pressing ATTACK button. The simple mechanisms of "Throwable Melee Weapon": - Hold RELOAD button & then press ATTACK to th...
- Cena Hunter (Vscript)N/A
Just like "Cena Boomer", this one is also invisible. Other trais will be explained on the mechanisms below. List of features available on "cena family - cena hunter.txt" cfg file: 1. Cena Hunter Chance: The spawn chance of "Cena ...
- Superman's Disciples (Vscript)N/A
This is just a random crazy idea coming out of nowhere when I saw "env_laser" entity. I suddenly remembered Superman, so, I decided to give a try. & somehow it worked. So, this mod allows survivors to shoot laser beam from their eyes ...
Be the first to post a comment!