File information

Last updated

Original upload

Created by

b13nxx

Uploaded by

b13nxx

Virus scan

Safe to use

101 comments

  1. b13nxx
    b13nxx
    • premium
    • 28 kudos
    Locked
    Sticky

    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!
  2. b13nxx
    b13nxx
    • premium
    • 28 kudos
    Locked
    Sticky


    • Added the ability to change the shape of the flashlight beam.
    • Added the ability to customize the flashlight color.
    • Added the ability to change the on and off sound of the flashlight.
    • Added the ability for the Flashlight to automatically adjust itself depending on where the muzzle of the gun is looking.
    • Added the option to prevent the weapon from idling when the flashlight is on.
    • Added the controller support.
    • Fixed constant CTD when exiting the game.
    • Fixed weapons dropping in rarity after a certain amount of time.
    • Fixed the character moving back a bit if the flashlight is turned on while running.
    • Fixed the flashlight beam passing over the weapon while running.
  3. b13nxx
    b13nxx
    • premium
    • 28 kudos
    Locked
    Sticky

    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!
  4. Savonet
    Savonet
    • member
    • 0 kudos
    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()

    The problem here is y = 1.5
    change it to 0.5
    1. abcfhh
      abcfhh
      • member
      • 0 kudos
      HERO
    2. Guitarsolo
      Guitarsolo
      • member
      • 12 kudos
      0.5 is not perfect, its overlapping with some longer rifles..i suggest 0.7 or 0.8
  5. Guitarsolo
    Guitarsolo
    • member
    • 12 kudos
    simply the best flashlight mod for this game. period
  6. dragonflame96
    dragonflame96
    • member
    • 0 kudos
    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
  7. nandeadgaming
    nandeadgaming
    • member
    • 0 kudos
    doesn't work. It doesn't show up in the mod settings. 
    1. RyanDiv117
      RyanDiv117
      • member
      • 1 kudos
      Yeah, I just installed it too and its not showing up anywhere.
    2. eshield1
      eshield1
      • member
      • 0 kudos
      same here. no key bind option in settings...
    3. RedRavin
      RedRavin
      • member
      • 0 kudos
      did you download redsuit ... for it to work?
  8. ltkrr
    ltkrr
    • member
    • 0 kudos
    Thanks
  9. 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.
  10. Insidate
    Insidate
    • premium
    • 8 kudos
    Are there any plans to add an optional toggle for knives? I know it's not necessarily realistic but its really nice to have a flashlight.
    1. captnfuzz
      captnfuzz
      • premium
      • 0 kudos
      The Simple Flashlight mod can be a decent substitute for those situations
  11. Agromathies
    Agromathies
    • premium
    • 3 kudos
    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.

    To be fair, it is becoming a house of cards.
  12. Zlatan321
    Zlatan321
    • member
    • 7 kudos
    [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.
    1. b13nxx
      b13nxx
      • premium
      • 28 kudos
      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.
    2. Zlatan321
      Zlatan321
      • member
      • 7 kudos
      Okay, I'll test it out a bit more and let you know if I have any meaningful results to share with you.
    3. Proxy027
      Proxy027
      • member
      • 6 kudos
      Hey b13nxx, hope you doing well ,

      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)
    4. Zlatan321
      Zlatan321
      • member
      • 7 kudos
      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.
    5. b13nxx
      b13nxx
      • premium
      • 28 kudos
      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.
    6. Proxy027
      Proxy027
      • member
      • 6 kudos
      Heyy

      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 
  13. speedtreee
    speedtreee
    • member
    • 1 kudos
    This is very nice!

    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.
    1. you400c
      you400c
      • member
      • 0 kudos
      The same problem, but I feel like it might be a mod conflict? I don't know how it was caused