The flashlight will be attached to the gun. It must be a gun. Not blades, knives etc. First equip a gun and then activate the flashlight. In addition to this, the flashlight will realistically illuminate in the direction of the gun in any situation. Also don't forget to set the key in Native Settings!
Hey, before using the mod, there are couple of things you should know of:
Having Flashlight on and experiencing situations that require the game to calculate real-time light patterns (shooting, explosions) can cause lag.
In some cases the Keep Gun Ready option may not work. The solution is to reload the save again or close the game and reopen it.
The sound settings on the Native Settings screen should normally play the corresponding sound when changed. But sometimes it may not play. This has to do with the structure of the game. You should continue to hear the sounds when you are actually playing.
So that means, these are the known issues. Happy gaming!
The light beam starts too far away from the muzzle
I recommand you to do this if you want to make it starts closer from the muzzle Go here : Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\mods\KindaRealisticFlashlight\Libs open "Flashlight" with Notepad and try to find this :
function Flashlight.GetSpawnPoint() local spawnTransform = WorldTransform.new() local spawnPos = ToVector4 { x = 0, y = 1.5, z = 0.03, w = 1 } local spawnRot = ToEulerAngles { roll = 0, pitch = 0, yaw = -90 }:ToQuat()
Hey thank you so much for taking the time making this mod i really love it but where can i change the intensity and shape of the light? it gives me only the option to change color
could we see an option for 3-4 stage flashlight with settings for each state? would make the flashlight button iterate between the 4 defined states like on IRL flashlights. mostly for those who want to keep manual but also want to be able to adjust the flashlight for the specific situation without wanting to enter the mod menu.
I was just trying to figure out wtf was going on, installed this and redsuit like hours ago before the update showed up XDXD. I thought I broke something again.
[Mod review & Bug report] 1. I just installed the new version(V3.0) and everything is working fine. 2. I haven't checked yet if the bug where my weapon level is downgraded at some point has been fixed.
[Maybe Bug] 1. After installing this mod I've noticed some serious lag (for example when a group of enemies die from a grenade explosion the lag is really bad for a split second), (I am using a high-spec computer.) 2. It's not yet confirmed whether it's because of this mod or because of the Redsuit. 3. I just did another test and found that with only Redsuit installed there was no lag at all, but with this mod installed the lag came back.
I've also experienced it. When I've opened the flashlight and shot, the game was lagging. Not much but lagging. I believe it's because of two reasons:
The flashlight beam will illuminate much more further distance now (That means much more calculation).
If Ray/Path Tracing is enabled that means the game needs to calculate the light patterns based on a lot of factors in real time. That means it could lag.
However, I have a problem into the Native Settings when I change the key "L" to another key or for example the light beam, color etc. it seems it didn't save, when i quite the game and after relaunching again the game, it's like reset settings.
There's no "config.json" into the folder "cyber_engine_tweaks\mods\KindaRealisticFlashlight"
Also, there's a problem about the flashlight, it seems not working properly with the Path Tracing enable which I am playing with as usual as the video which I made it to let you see down below
Could you fix it for the next update please ? (reverting at the 2.1.1 in your process to be more simple, in your development, not using the RedSuit, it would be super & grateful from your part)
Thanks for everything,
Take care.
PS : I had to revert the version 2.1.1 in add-on " Gun Flashlight - White Kinda Realistic Flashlight" much better than this version for the moment if you allow me of course to saying that, simply to set a “key bind” into the CET and no redsuit (which i am wondering why it needs this dependencie for the flashlight)
I just did another test and saw that even without ray tracing turned on, there was severe lag. I was shooting at civilians and it was incredibly laggy.(I turned off the flash and shot at them and got the same result.)
My computer specs are as follows: CPU: Intel i7-14700K RAM: 64gb GRAPHIC CARD: Geforce RTX 4080 Super
I only have a few mods running at the moment. Also, I play at 1920x1080 resolution so my computer is resource-rich. I would not use a mod that causes such severe lag on my high-spec computer.
Thank you so much for making this mod and I hope that all problems can be solved someday. However, I will not use this mod unless it solves the severe lag. I really want to use this mod but it is unfortunate.
Anyway, I really appreciate the fact that you made this mod.
Hey, are you guys on Cyberpunk discord channel? I would like to send the new version to you and see if the lag issue has resolved.
About Path Tracing, it's working. But there is 2 seconds delay for the flashlight adjusting properly. If you disable "Auto Adjust", you can see the light is constant all the time at the same size and intensity whatsoever.
Sadly I have a game breaking bug with this mod though.
Due to some trigger, which I don't fully understand yet, (iconic) guns to which the flashlight is attached to get downgraded to level/tier 1 at some point. I don't know exactly what causes this to happen and when.
Since I uninstalled the mod, the issue is gone for a few hours so far.
I started to use the simple flashlight mod, which is objectively worse than this mod though, instead and I continue to NOT have the issue.
I was also using the white flashlight color extension btw.
EDIT: I see this was reported by others in the bug section already. So there definitely is an issue still. The CTD on closing the game is also caused by this mod.
101 comments
The flashlight will be attached to the gun. It must be a gun. Not blades, knives etc. First equip a gun and then activate the flashlight.
In addition to this, the flashlight will realistically illuminate in the direction of the gun in any situation.
Also don't forget to set the key in Native Settings!
Thanks for trying the mod!
Hey, before using the mod, there are couple of things you should know of:
So that means, these are the known issues. Happy gaming!
I recommand you to do this if you want to make it starts closer from the muzzle
Go here : Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\mods\KindaRealisticFlashlight\Libs
open "Flashlight" with Notepad and try to find this :
function Flashlight.GetSpawnPoint()
local spawnTransform = WorldTransform.new()
local spawnPos = ToVector4 { x = 0, y = 1.5, z = 0.03, w = 1 }
local spawnRot = ToEulerAngles { roll = 0, pitch = 0, yaw = -90 }:ToQuat()
The problem here is y = 1.5
change it to 0.5
To be fair, it is becoming a house of cards.
1. I just installed the new version(V3.0) and everything is working fine.
2. I haven't checked yet if the bug where my weapon level is downgraded at some point has been fixed.
[Maybe Bug]
1. After installing this mod I've noticed some serious lag (for example when a group of enemies die from a grenade explosion the lag is really bad for a split second), (I am using a high-spec computer.)
2. It's not yet confirmed whether it's because of this mod or because of the Redsuit.
3. I just did another test and found that with only Redsuit installed there was no lag at all, but with this mod installed the lag came back.
Thanks for the update & mod,
However, I have a problem into the Native Settings when I change the key "L" to another key or for example the light beam, color etc. it seems it didn't save, when i quite the game and after relaunching again the game, it's like reset settings.
There's no "config.json" into the folder "cyber_engine_tweaks\mods\KindaRealisticFlashlight"
Also, there's a problem about the flashlight, it seems not working properly with the Path Tracing enable which I am playing with as usual as the video which I made it to let you see down below
Version 3.0 (i changed the light beam due the lag, fps drop into the video) :
https://streamable.com/09keu6
Version 2.1.1 :
https://streamable.com/rcn3ip
Could you fix it for the next update please ? (reverting at the 2.1.1 in your process to be more simple, in your development, not using the RedSuit, it would be super & grateful from your part)
Thanks for everything,
Take care.
PS : I had to revert the version 2.1.1 in add-on " Gun Flashlight - White Kinda Realistic Flashlight" much better than this version for the moment if you allow me of course to saying that, simply to set a “key bind” into the CET and no redsuit (which i am wondering why it needs this dependencie for the flashlight)
I was shooting at civilians and it was incredibly laggy.(I turned off the flash and shot at them and got the same result.)
My computer specs are as follows:
CPU: Intel i7-14700K
RAM: 64gb
GRAPHIC CARD: Geforce RTX 4080 Super
I only have a few mods running at the moment. Also, I play at 1920x1080 resolution so my computer is resource-rich.
I would not use a mod that causes such severe lag on my high-spec computer.
Thank you so much for making this mod and I hope that all problems can be solved someday.
However, I will not use this mod unless it solves the severe lag. I really want to use this mod but it is unfortunate.
Anyway, I really appreciate the fact that you made this mod.
About Path Tracing, it's working. But there is 2 seconds delay for the flashlight adjusting properly. If you disable "Auto Adjust", you can see the light is constant all the time at the same size and intensity whatsoever.
Sure, i just sending you a MP into the nexus, my discord
Also I disable "auto adjust" into the settings into the first video I made, by the way
Sadly I have a game breaking bug with this mod though.
Due to some trigger, which I don't fully understand yet, (iconic) guns to which the flashlight is attached to get downgraded to level/tier 1 at some point. I don't know exactly what causes this to happen and when.
Since I uninstalled the mod, the issue is gone for a few hours so far.
I started to use the simple flashlight mod, which is objectively worse than this mod though, instead and I continue to NOT have the issue.
I was also using the white flashlight color extension btw.
EDIT: I see this was reported by others in the bug section already. So there definitely is an issue still. The CTD on closing the game is also caused by this mod.