Laser Pistol (Vscript)
- 2.5K
- 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
- Advanced Bot AI Enhanced V4
- Collection of all my mods
- [FN: Rearousal] Chiku (Rochelle)
- nightmare: death
- [FN: Rearousal] Bonfie (Ellis)
- Aim Down Sight Addon [VScript] v44
- SILENT HILL f Sacred Sword w-A Dreamlike Animations [Sound fix Ver]
- Cinema Slop Asset Flip
- CODMW2026 M4 - m16a2 [Sound fix Ver]
- Grenade Shove
You may like...
- Atomic Grenade Launcher (Vscript)N/A
So, this is the grenade launcher version for "Atomic Pipebomb". If you're familiar with "Atomic Pipebomb", then this one is the same. The only difference is, instead of throwing a grenade, you'll shoot this atomic ammo from your grenade ...
- Gnome VS Zombies (Vscript)N/A
Finally, I finished making my own turret. Well, it's uncommon turret, as usual, as it's a gnome turret (a real gnome this time) :D . This was inspired by my other mod, "Bouncing Ball Launcher". A crazy idea just came up like, "Why not ma...
- 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 ...
- Flamethrower with GL Skin (Knife)N/A
This is just a request. It's an alternative version of Makeshift Flamethrower on the linked content. Instead of using flamethrower model, this uses grenade launcher model. The grenade launcher model follows the L4D2 model (example: if yo...
- 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). ...
- Malboro Boomer (Vscript)N/A
If you ever played "Final Fantasy" series, you're sure familiar with a green monster named "Malboro". Yeah, this boomer has the annoying traits of that "Malboro". This boomer is a miniboss. It means that he's a greater threat than nor...
- Medic Stack (Vscript)N/A
This is the twin brother of Grenade Stack. While "Grenade Stack" allows stacking grenades of the same type, this one allows stacking healing items of the same type. Q: "What makes it different from 'Paramedic Survivors' mod?" A: "T...
- Custom Item Glow (Vscript)N/A
"What if all items can glow in different colors & the glows are visible even from afar?" This random idea suddenly came out when I updated a new feature on my "Throwable Melee" that made the melee glow. & so, this mod was made out of ...
Be the first to post a comment!