Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
This BepInEx plugin allows you to modify the RGB values of rendered laserbeams in the game world. There is also a rainbow mode, for a perpetually changing rainbow effect.
This plugin currently modifies all rendered laser beams in-game. That means any AI using laser attachments will have the same laser effects as you do (afaik). This also means you can't change the color for specific laser modules, ie. you can't have a red and a green laser simultaneously (for now).
Features
- Customizable laser color, including a cycling rainbow option.
- Custom mesh options to increase laser size, density, distance, etc.
- Lasers are easily configurable via the BepInEx configuration menu (F1/F12).
- Zero FPS impact.
- Compatible with all light/laser bundle edit mods, including [alex's Better Lasers] and [BrightLasers]!
- Validated to work on various different versions of SPT-AKI.
Installation
Simply drop the RGBLasers.dll file into your BepInEx/plugins folder.
Open the BepInEx plugin configuration menu in-game (F12 by default) and change the values to your liking. If rainbow mode is enabled, the RGB values will be ignored.
Known Bugs
None, so far.
Changelog
The release notes [here] describe changes per version.
-
Version 1.2.2
- kiobu
- 891 Downloads
Place the RGBLasers.dll file into your BepInEx/plugins folder.
Works for SPT 3.9.8!
-
Version 1.2.1
- kiobu
- 1.2k Downloads
Place the RGBLasers.dll file into your BepInEx/plugins folder.
Works for AKI versions >=3.8.0, <3.9.0. Thank you Senko!
-
Version 1.2.0
- kiobu
- 1.7k Downloads
Place the RGBLasers.dll file into your BepInEx/plugins folder.
This release adds new functionality for dynamically modifying the laser beam and point light meshes at runtime to allow for larger beam sizes. Additionally, some other parameters were added, such as light intensity, to be configurable.
Works for AKI versions 3.6.x to 3.7.x.
-
Version 1.1.1
- kiobu
- 2.2k Downloads
This release updates the mod to work for AKI 3.2.0 up to 3.7.x.
-
Version 1.1.0
- kiobu
- 1.3k Downloads
This version should work for most AKI installations older than 3.2.0.
kiobu Author
Sorry for the absence. Life's been quite the ride recently, but I've gotten some time to update this mod for the SPT rebranding (which changed some internal references). Should work on 3.9.X according to my very superficial testing. Let me know if you encounter any issues.
Mace
purplenamelol
died 2019
born 2024
welcome back payday 2 lasers mod
kiobu Author
Sorry guys, been out of the game for a bit. I've reinstalled Windows recently so I'll need to set up my entire development environment again.
I will update this for >=3.9.0 soon, I promise!
Foxxee
I will be waiting until then!
NobodyImportant
Much love either way, miss my purple laser but patience is always a virtue. Be well~
kiobu Author
99% sure this will work on 3.9.0 as well...
CoulorZ
Tried running on 3.9.1 and just got an infinite splash screen before the main menu sadly
joa959
Same here on 3.9.0.
Mace
3.9.3. sadly it doesn´t work, tried it several times, loading screen keeps trying, but can´t load the game....
DemonLordFerox
same. very sad.
kiobu Author
v1.2.1 is released to support 3.8.0 and 3.8.1. Much thanks to Senko who made the update and built the binary for me in my laziness . As always, please inform me of any errors, bugs, or performance issues.
Mace
Great to have this back!! Thanks to the lazy developper and the busy updater!!
Shawl
looks like in 3.8.0 aki, this mod finally won't work.
there's no laser config on F12 menu
SIlence.Poki
should work without performance issue in 3.7.5 right?
Thank you autor!
kiobu Author
Probably, haven't tested it.
kiobu Author
v1.2.0 was originally tested on the 3.7.0 bleeding edge build, so I am assuming it will work fine for the full 3.7.0 release. Let me know if it doesn't or you encounter any issues. For now, I am marking this as 3.7.0 compatible.
Mace
Thank you for your mod, I like it, can have the mawl with a bright red laser.... Cool! Can confirm, it works fine with 3.7.0
kiobu Author
v1.2.0 is done, tried using mesh edits to try and create a "thicker" laser, but I may eventually also add some modified bundles similar to Better Lights & Lasers.
Didn't notice any performance issues in my testing but please let me know if you notice any major performance or FPS drops when using the new version, or any other bugs you come across. I'm pretty sure it should be fine...
Grey_
I want this with flashlights. Imagine Visceral Bodies / Dismemberment with a red flashlight on factory nighttime. Absolutely brutal LMAO
Sir Cunnilingus
How do I make lasers more visible? The only mod I found for it is outdated as fuck.
kiobu Author
This mod should already amplify the laser intensity, but it is not currently configurable and may not be bright enough for you.
When I have some free time I'll see if I can work on it, but my current install of EFT is for 0.13.5 development. Don't want to do any plugin work until that's stable.
Zubzub
Seconded. I would also love configurable brightness for the lasers and the dot, if you ever get the chance. Individually, if that's even possible, so faint laser with bright dot or vice-versa, with configurable ranges from invisible to death star beam.
kiobu Author
That should be possible. I'll give it a look soon.
blocky3321
works with 3.6.0
Mendes
Still works in 3.5.8 for anyone wondering.
kiobu Author
Thanks, will update the tag.
FeN1X
flanker
Why i got virus warning like this?
https://imgur.com/k2GoGba
kiobu Author
That is not a virus warning, it is a warning that all .dll files have the capability to harm your computer.
Shawl
still working in 3.4.1
kiobu Author
Nice, thanks for letting me know
BingusKnightClub
is it compatible with better lights and lasers?
kiobu Author
Should be, Better Lights & Lasers accomplishes its effects through bundle edits, whereas mine is done at runtime through a plugin. The laser might be really bright though.
BingusKnightClub
Okay thank you i'll check it out.
footlicker
TEOA
Really really cool mod idea!
kiobu Author
3.2.0 should now be supported. Grab the new version and let me know how it works.
TEOA
I suggest editing your mod to reflect that it is on 3.2.0
tibois
Hi,
I just installed your mod with AKI 3.2.0 and lasers colors won't change. Did I miss anything when trying to enable it ?
I dropped the .dll in the BepInEx/plugins folder and when I press F12 I see the menu. But any changes I make in game don't do anything to lasers. Could someone check if it works for them ?
All the others plugins works so it's not a problem with BepInEx apparently.
tibois
After looking in the BepInEx logs an error appears :
MissingFieldException: Field 'LaserBeam.LightColor' not found.
at RGBLasers.RGBLaserInjector.Update () [0x0007a] in <68d4970b58c34aa0a84e6d31c03351ea>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class297:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
(Filename: <68d4970b58c34aa0a84e6d31c03351ea> Line: 0)
If it can help you debug
kiobu Author
Thanks, looks like BSG updated the LaserBeam class, I'll take a look soon.
EDIT: Updated.
tibois
Thx a lot for the fast update !
kiobu Author
I'm assuming this should work for 3.2.0 without testing it, let me know if that's not accurate.
Yedii
it doesnt appear to be working with 3.2.0 unfortunately. i tried several different tings to get it to work and it doesnt. the f12 menu appears for it but the actual RGB color from the laser isnt there and there are a bunch of errors in the console regarding the color. i love this mod so ill keep checking back to see if it gets updated/fixed to work with 3.2.0
kiobu Author
Okay, I'll take a look. Thanks for the report.
EDIT: Updated.
Arokar
I can confirm that this also works on 3.0.0
Have fun!
AHappyT-Rex
Just want to let people know that this also works on 2.3.0
ChiNoel
Firearm performance increased by 20%.
TheAlexJ
I'm a bit dumb, but I didn't quite understand the setup. Help me pls...
kiobu Author
Setup? All you do is put the file in your BepInEx/plugins folder as it says so in the description.
If you're using 2.3.1, the original release was missing a .dll that the mod depends on (ConfigurationManager.dll) If that's not in your BepInEx/plugins folder, the F12 menu won't work. The file was added in an update to the 2.3.1 release, so you might need to redownload the server to get that file.
TheAlexJ
Thanks
Beershizz
lul - thats cool