Update 2.2.1 (including the 2.2.0 pre-release) is live!
This update should fix the major issue with the mod reseting permament capacity-shards. As to why this was happening I still have no answer, but the new version uses a different approach to modify the depletion- and regeneration-durations. It also includes some changes to the Custom Quickslots-support and further improvements to the code.
Nice mod thanks. Would be nice to have options for disabling the camo availabity when your facing cyberware malfunction, burning or electrocuted states for somewhat balancing it.
For some reason there's a conflict with this mod/custom quickslots, and the redscript fast travel to anywhere mod. 2.12 it works fine with maccaturo's fix in the comments below, but fast travelling causes the quickslot camo toggle to stop working. After fast travelling the vanilla keybind camo activation works fine, but quickslot camo toggle only works after save reload
sadly i can't get this working. i have the latest updated mods installed and have tried every fix suggested here. my game is a fresh installation of v2.12a and the few other mods i have installed are working perfectly. it's weird because i had a heavily modded game just a few days ago and this was working for me. not sure why i can't get it to work this time, so i guess i'll have to go without.
I finally managed to get Better Optical Camo and Custom Quickslots working correctly together in game v2.1, because for me just the Tesnitrojack's fixes weren't enough. I'm referring to those who have the problem of the flickering slot and sound when throwing a grenade. Tested with Custom Quickslots v4.3.2, v4.4.0, v4.4.3.
3- Open this folder: ...game...\bin\x64\plugins\cyber_engine_tweaks\mods\BetterOpticalCamo\core\
4- Open with notepad the file "OpticalCamoManager.lua" and apply this Tesnitrojack's fix: Find the values by searching for this line, there are five of them in the file: TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuff Replace all five "-1" values (without quotes) at the end of the lines, with the value "65534" (without quotes). Save the file.
5- Run the game, open the "MODS" menu and setup "Qslots" normally (assign Optical Camo slot and the key you want to use). Exit the menu to save changes.
6- Open "Cyber Engine Tweaks" (CET) menu, select "Bindings", then under "CustomQuickslots": UNASSIGN the hotkey you are using for the Optical Camo, just leave it empty. If it's a new installation, don't care of this and go to point 7.
7- In the "Bindings" menu, under "BetterOpticalCamo", ASSIGN your desired key to "Toggle_Optical_Camo".
8- Before you go, CLICK THE "Save" button at the bottom of the "Bindings" window.
9- Make sure to put Optical Camo in the LEFT of the 3 slots (the game place cyberware beginning from the right one).
*** Update (why added point number 9)*** After purchasing new cyberware, the problem returned. To fix it, I did the following: - Reassign grenade slot, to grenades... - Visit a Ripperdoc, Remove Optical Camo, insert it to the LEFT cyberware slot. If you want to reach that slot, you need to place 2 other cyberware first. Then, you can even remove the other cyberware after you put the camo in the LEFT slot. Example: I have Chitin in the right slot, none in the middle, camo in the left one. This appears to have restored full functionality of the mods. Tested with Optical Camo tier 5.
I'm on Cyberpunk 2077 version 2.1, Better Optical Camo version 2.2.1, Custom Quickslots version 4.4.0, and Qslots Integration Fix version 0.0.1. I followed these instructions and can confirm that they work. Thank you maccaturo for your work on this! Camo toggling is a critical feature for me and I just hate playing without it; very happy to have it back.
General tip/PSA: when manually editing mods, it's helpful to create a separate variant of it just for the edits, by using the 'reinstall' function in Vortex. It makes rolling back easy. It's also good to give the variant a descriptive name to help you remember what it's for, down the line. In this case, the mod to variate is Qslots Integration Fix, as it does some overriding of the other two mods, and is chronologically the last one installed in this sequence / is the 'topmost' mod in the stack.
original time i tried this it didnt work i dont know what did I wrong but after the last update and deleting/reinstalling everything this method worked great, thanks
if you don't use quickslots, I encourage you to change your mind, because I really don't know how to help you. I read your post and you already tried the Tesnitrojack fixes, so I don't know what else to tell you. However you can always try Custom Quickslots, you can also set it to show you ONLY one additional slot, in which you will put the optical camo to make it work as described in my guide. The easiest (and also the only) option you have, until the mod is updated properly.
this mod isn't working for me.. i don't use custom quickslots, just this mod. i followed it step by step but all it does is make the thing flash me invisible and immediately visible again
not sure if it's related but the same happens with sandevistan - wondering if it's another mod entirely, but i can't think of what could be doing that. also no idea how to get any sort of logs to help you help me - any thoughts?
edit: i also tried tesnitrojack's guide (at least the one posted in the comments here, as the original one appears to be gone)
For anybody running into the problem where camo has a borked recharge for any rarity over common, please follow tesnitrojack guide over in the bugs section for a simple fix. Just involves updating a couple of values in the OpticalCamoManager LUA file from -1 to 65534
the file to be edited is OpticalCamoManager.lua, it can be found in bin\x64\plugins\cyber_engine_tweaks\mods\BetterOpticalCamo\core (either directly in the game folder or open it through whichever mod manager you are using).
use ctrl+F to find TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuffCommon_inline1.value", -1) there are 5 such lines one after the other. In all of them, change the -1 to 65534, so the 5 lines will look like this: TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuffCommon_inline1.value", 65534)
hi mukulhastak, could you confirm for me please if this fix also works for the issues the users below this post are having with optical camo turning off quickly? also, will the custom quickslots compatibility work with this fix as well? thank you.
This is fix is for that issue - the camo was turning off almost instantly. Something about how the game times the camo changed, hence we modify the values in the LUA file to basically make that timer very long.
As for custom quickslots, i have it installed, and it is working fine for me in one of my modded quickslots.
mukulhastak, the fix worked. mod's working as it should. there's just a weird bug happening, whenever i use a grenade or launcher and switch to camo, the icon starts triggering like crazy and it only stops when i activate-deactivate. is there a solution for this? hope I've described it well enough.
@mukulhastak Thank you my dude. Works like a charm. Anybody else having issues follow exactly what mukulhastak said
The file to be edited is OpticalCamoManager.lua, it can be found in bin\x64\plugins\cyber_engine_tweaks\mods\BetterOpticalCamo\core (either directly in the game folder or open it through whichever mod manager you are using).
(my 2 cents) Use Notebpad or Notepad++ (this is what I used) follow the instructions below and click save.
use ctrl+F to find TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuffCommon_inline1.value", -1) there are 5 such lines one after the other. In all of them, change the -1 to 65534, so the 5 lines will look like this: TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuffCommon_inline1.value", 65534)
Jumping back in after a few months of not playing, at least as of patch 2.11, while using this mod, optical camo automatically deactivates after about 2 seconds of activating. Any fixes?
в меню у этого мода ,со всеми исправлениями и прочей ерундой , настройки совсем не работают - не работает мгновенная перезарядка не работают затраты энергии и прочее ... хоть -1 хоть 6060599867
can u add a compatibility with the stealth runner arasaka optical camo ? the one that doesn't drain when not moving is really cool if u cant that's ok !
293 comments
This update should fix the major issue with the mod reseting permament capacity-shards. As to why this was happening I still have no answer, but the new version uses a different approach to modify the depletion- and regeneration-durations. It also includes some changes to the Custom Quickslots-support and further improvements to the code.
because for me just the Tesnitrojack's fixes weren't enough.
I'm referring to those who have the problem of the flickering slot and sound when throwing a grenade.
Tested with Custom Quickslots v4.3.2, v4.4.0, v4.4.3.
1- First, install both Better Optical Camo and Custom Quickslots.
2- Then, install Better Optical Camo - QSlots Integration Fix.
3- Open this folder: ...game...\bin\x64\plugins\cyber_engine_tweaks\mods\BetterOpticalCamo\core\
4- Open with notepad the file "OpticalCamoManager.lua" and apply this Tesnitrojack's fix:
Find the values by searching for this line, there are five of them in the file:
TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuff
Replace all five "-1" values (without quotes) at the end of the lines, with the value "65534" (without quotes).Save the file.
5- Run the game, open the "MODS" menu and setup "Qslots" normally (assign Optical Camo slot and the key you want to use).
Exit the menu to save changes.
6- Open "Cyber Engine Tweaks" (CET) menu, select "Bindings", then under "CustomQuickslots":
UNASSIGN the hotkey you are using for the Optical Camo, just leave it empty.
If it's a new installation, don't care of this and go to point 7.
7- In the "Bindings" menu, under "BetterOpticalCamo", ASSIGN your desired key to "Toggle_Optical_Camo".
8- Before you go, CLICK THE "Save" button at the bottom of the "Bindings" window.
9- Make sure to put Optical Camo in the LEFT of the 3 slots (the game place cyberware beginning from the right one).
*** Update (why added point number 9)***
After purchasing new cyberware, the problem returned. To fix it, I did the following:
- Reassign grenade slot, to grenades...
- Visit a Ripperdoc, Remove Optical Camo, insert it to the LEFT cyberware slot.
If you want to reach that slot, you need to place 2 other cyberware first.
Then, you can even remove the other cyberware after you put the camo in the LEFT slot.
Example: I have Chitin in the right slot, none in the middle, camo in the left one.
This appears to have restored full functionality of the mods. Tested with Optical Camo tier 5.
General tip/PSA: when manually editing mods, it's helpful to create a separate variant of it just for the edits, by using the 'reinstall' function in Vortex. It makes rolling back easy. It's also good to give the variant a descriptive name to help you remember what it's for, down the line. In this case, the mod to variate is Qslots Integration Fix, as it does some overriding of the other two mods, and is chronologically the last one installed in this sequence / is the 'topmost' mod in the stack.
I read your post and you already tried the Tesnitrojack fixes, so I don't know what else to tell you.
However you can always try Custom Quickslots, you can also set it to show you ONLY one additional slot, in which you will put the optical camo to make it work as described in my guide.
The easiest (and also the only) option you have, until the mod is updated properly.
not sure if it's related but the same happens with sandevistan - wondering if it's another mod entirely, but i can't think of what could be doing that.
also no idea how to get any sort of logs to help you help me - any thoughts?
edit: i also tried tesnitrojack's guide (at least the one posted in the comments here, as the original one appears to be gone)
I did what he said and it does work
THIS SOLVES THE ISSUE
the file to be edited is OpticalCamoManager.lua, it can be found in bin\x64\plugins\cyber_engine_tweaks\mods\BetterOpticalCamo\core (either directly in the game folder or open it through whichever mod manager you are using).
use ctrl+F to find TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuffCommon_inline1.value", -1) there are 5 such lines one after the other. In all of them, change the -1 to 65534, so the 5 lines will look like this: TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuffCommon_inline1.value", 65534)
As for custom quickslots, i have it installed, and it is working fine for me in one of my modded quickslots.
The file to be edited is OpticalCamoManager.lua, it can be found in bin\x64\plugins\cyber_engine_tweaks\mods\BetterOpticalCamo\core (either directly in the game folder or open it through whichever mod manager you are using).
(my 2 cents) Use Notebpad or Notepad++ (this is what I used) follow the instructions below and click save.
use ctrl+F to find TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuffCommon_inline1.value", -1) there are 5 such lines one after the other. In all of them, change the -1 to 65534, so the 5 lines will look like this: TweakDB:SetFlat("BaseStatusEffect.OpticalCamoPlayerBuffCommon_inline1.value", 65534)