To those people having problems with the in-game oil indicator, I uploaded a possible fix here. There's also the NG+ fix from wghost81 here: http://www.nexusmods.com/witcher3/mods/1194/?
THIS MOD IS NO LONGER NECESSARY IF YOU ARE USING GAME VERSION 1.12
CDPR integrated it into the game I'll leave the mod on here for a few weeks just in case people don't want to update immediately
Edit: if you're playing New Game Plus mode, there is currently a problem with oils being displayed there. Link to the forum post: http://forums.cdprojektred.com/threads/63887-Missing-Oil-Longevity-Status-in-NG?p=1993424#post1993424
Thanks to ceejay1223 for bringing this to my attention
wghost81 has since released a temporary fix for this. You can find it here: http://www.nexusmods.com/witcher3/mods/1194/?tab=1&navtag=http%3A%2F%2Fwww.nexusmods.com%2Fwitcher3%2Fajax%2Fmoddescription%2F%3Fid%3D1194%26preview%3D&pUp=1
Also did you check all other mods were disabled? If you have other mods that altered the same files as mine they might prevent the changes from the patch showing up
I am using v1.12 and there is no oil indicator in game. There are no changes in game.
I am even getting following error in your mod :
Error [modcombatpresets]game\player\playerwitcher.ws(1544): Could not find function 'RemoveOilBuff' Error [modcombatpresets]game\player\playerwitcher.ws(1594): Could not find function 'AddOilBuff' Error [modcombatpresets]game\player\playerwitcher.ws(4161): Could not find function 'RemoveOilBuff' Error [content0]game\player\playerweaponholster.ws(501): Could not find function 'AddOilBuff'
which was't supposed to happen if it was integrated in game
I checked with all mods disabled too, script merger not detecting any conflict
My list of mods :
Always full exp Combat Presets Gear Improvement last longer Increased Creature Loot Jump in Shallow Water modMapQuestObjective Lite Oil Indicator Over 9000 weight limit withcer 3 HD rework Project
First off, delete Oil Indicator as it will override the changes made to the base game's files and no longer serves a purpose.
The error code you're quoting says to me that your r4Player.ws file is being overriden by an old version somewhere in your <Witcher 3 install location>\Mods folder. Can you check your mod folders for any files with that name?
Also did you remember to disable your mod__MergedScripts?
Probably the easiest way to diagnose it is cutting everything out of your mod folder then pasting them back in one at a time to see what breaks it. When I play with no mods installed I get CDPR's oil indicators showing up.
EDIT:
Are you using NMM to handle your mod enabling/disabling? Because I don't know how well it deals with merged scripts. That could be the cause of your problems.
Might want to make a note in your post, I was having the same issue with oils not showing up. It appears to be a bug with NG+. Couldn't figure out what was wrong, uninstalled mods and verified cache did not help. Loading up a save prior to NG+, with mods reinstalled, and it worked right away but still not working on my NG+ save. There is discussion over on CDPR's forums http://forums.cdprojektred.com/threads/63887-Missing-Oil-Longevity-Status-in-NG?p=1993424#post1993424
>Also did you remember to disable your mod__MergedScripts? No, i have not a single merged script what so ever. Script merger haven't shown any conflict yet.
>Probably the easiest way to diagnose it is cutting everything out of your mod folder then pasting them back in one at a time to see what breaks it.
I removed all mods, installed one at a time, and ran game each time,still same issue as stated before, Always full exp Combat Presets Gear Improvement last longer Increased Creature Loot modMapQuestObjective Lite Over 9000 weight limit withcer 3 HD rework Project
as soon as i install your mod, Compilation error!
I don't know why , only your mods and Jump in shallow water gives same error,(installed one at a time).
So i'm sure its not about script merging, its either NMM, or your mod is not supporting for v1.12
Ok hang on just so we're clear, you deleted Oil Indicator and when you paste in CombatPresets is when you're getting an error?
Edit: I've looked at the file for Jump in Shallow Water, looks like it hasn't been updated yet to work with patch 1.12. It explains the error you're having. Does the game work without that mod enabled?
Never used the mod before, never seen the oil indicator on HUD, I have no idea how to activate it, and I don't want to bug the game out by installing the mod.
I think there are some people who are having issues and I can't figure out why. The game should just show the buffs but it doesn't for some people. I could make a version for 1.12 I suppose, wouldn't be difficult
This is working for me on NGP on 1.12. I used the bottom file (1.07 that works on 1.11) and merged conflicts with script merger for FriendlyHud and CustomLocatorFix. Just wanted to share.
Yeah the old version shouldn't cause you any problems but I don't want to guarantee it. I haven't tested myself yet if it breaks anything further down the line but if it's working for you it could be ok.
Is it possible that you can fix the bug with the missing oil indicator in patch 1.12 in NG+? I would not expect a patch, which fixes this problem anytime soon and it would be great, if a modder could fix this problem, like modders fixed the problem with the missing scabbards and the toxic gas clouds, instead of playing for several months with those bugs, until a new patch appears.
It would be awesome, when you would be able to fix this bug. I really loved using your mod, until CDPR "integrated" it with patch 1.12. They done a really bad job in this case, like they did with the implementation of a hotkey to disable the HUD with patch 1.10 on QWERT keyboards (which does not work until they really integrated it correctly with patch 1.12). They really should test the new features more and stop forgetting, that there is a NG+ mode in their game. Most bugs seems to appear just in NG+.
A small hotfix should have been great, but they just released a useless hotfix on steam (still not on GoG - thanks for that...), that fixed just two minor bugs with gwent, that doesn't annoy as much people as the missing oil indication in NG+, or Ciri's missing scabbard, or roach sometimes appearing witout her mane. Before we had your great mod, but now NG+ players have no oil indication at all.
Do your best, mate! Isn't it possible to replace the new scripts for CDPR's oil indication, with your old ones, or something like that?
That's great! Saves me some time and I doubt I'd ever have thought to look in the xmls for the issue. I only really work with the scripts. I'll add the link to the sticky post
you sure about that we don't need this mod i played the game today for a bit saw no oil indicator whatsoever with 1.12 patch. here is a pic with sword drawn and in fight i have hanged mans venom oil applied to my sword http://i.imgur.com/5tvCBtp.jpg
Are you using NMM to handle your mod enabling/disabling? If you did merging scripts can probably cause issues (no idea if this is the case, I don't use NMM personally). If you do use NMM, try checking your mod__MergedScripts folder for hudModuleBuffs.ws.
Weird. Can you check out your actual installed file? You can find it in <Witcher 3 install>\content\content0\scripts\game\gui\hud\modules\hudModuleBuffs.ws
Once you open it do a Ctrl + F for "var oilEffect : W3Effect_Oil". You should find something. Only thing I can think of is that somehow when your game was patched this file missed getting updated. Let me know if you find it
yup thats a weird thing im seeing the code myself here is a little text from hud file
{ var effectsSize : int; var effectArray : array< CBaseGameplayEffect >; var i : int; var offset : int; var duration : float; var initialDuration : float; var hasRunword5 : bool; var oilEffect : W3Effect_Oil;
correction i only have playerwitcher.ws file modified by 2 mods 90k encumbrance mod which was updated yesterday for 1.12 and other is no auto sword sheath mod but i ran script merger and it merged every conflict
That's really weird. I have no idea why the oil buffs aren't showing in your game. That pretty much exhausted all my ideas for what it could be. Only thing I can suggest at this point is a reinstall but that's obviously not what you want to do. If you're on steam you could try doing the "verify integrity of game cache" thing, might save some time
will it affect any of the mods files specially merged files ?? also i tested it by spawning an enemy could that be the issue ?? console spawning ?? im afraid of going out in wild and test it on enemy there as game might made irreversible autosave
I don't think it affects mod files but I might be wrong. You can just copy your Mod folder to back it up. Spawning an enemy shouldn't be an issue since they show whenever I draw my sword in my game
Hi all, if you are using the Custom Localisation Fix mod and want this mod to be compatible, make sure that my mod has a higher priority in your load order than Custom Localisation Fix.
Looks like this conflicts with "Custom Localization Fix". According to script merger, around line 164 is the problem. Both the vanilla and CLF use the letter "i" in various locations while your mod uses the letter "j". Should I change choose the version with "i" or would that break your mod?
Yep unfortunately that is a problem. As ApexRKO said you'll need to use script merger to fix it. Alternatively if you give my mod a higher priority in the mod.settings file you shouldn't have a problem.
Only mod that i have is No dirty lens effect and right now i installed Better icons which works fine. Other 5 mods (which i saw watching Gophers videos) has the same problems. And y i am on 1.11 patch.
Can you send me a screenshot of the errors? Or just copy-paste them here? If you aren't getting any conflicts I'm not sure where the problem is coming from without more information
The other mods which doesnt work (with same type of errors) are: modMainMapZoom, No Auto Sword Sheathe, No Talk Icon and ZoomOutBasic. I tried them individually. Its prob something that i missed so if you have any advice. I am new to modding w3 but i have 250+ on Skyrim using NMM. Your mod is must have for me after i saw it today so i posted here. I will send you errors in couple min.
I can't merge the two mods as I don't have permission from the mod author to do it unfortunately. The FriendlyHUD mod has both of these mods included so I would recommend using that instead.
Bug report: 1. Error in description variable is alwaysDisplayOil not alwaysDisplayOils
2. When alwaysDisplayOil = true i have 2 same icons. Code and fix //duplicate l_flashObject.SetMemberFlashString("iconName",inv.GetItemIconPathByName(GetOilToDisplay())); l_flashObject.SetMemberFlashString("iconName",inv.GetItemIconPathByName(currentOilArray[j].oilName));
Well I meant the file to change it to always show the oil timer not just when the sword is drawn. In Documents/Witcher 3 I see input.settings and user.settings do you need some special software to view them?
204 comments
CDPR integrated it into the game
Edit: if you're playing New Game Plus mode, there is currently a problem with oils being displayed there. Link to the forum post: http://forums.cdprojektred.com/threads/63887-Missing-Oil-Longevity-Status-in-NG?p=1993424#post1993424
Thanks to ceejay1223 for bringing this to my attention
wghost81 has since released a temporary fix for this. You can find it here:
http://www.nexusmods.com/witcher3/mods/1194/?tab=1&navtag=http%3A%2F%2Fwww.nexusmods.com%2Fwitcher3%2Fajax%2Fmoddescription%2F%3Fid%3D1194%26preview%3D&pUp=1
Thanks to Yesin for finding the link
just came to download your mod and saw your comment
checked the game but nothing changed there.
what am i missing brother?
I am even getting following error in your mod :
Error [modcombatpresets]game\player\playerwitcher.ws(1544): Could not find function 'RemoveOilBuff'
Error [modcombatpresets]game\player\playerwitcher.ws(1594): Could not find function 'AddOilBuff'
Error [modcombatpresets]game\player\playerwitcher.ws(4161): Could not find function 'RemoveOilBuff'
Error [content0]game\player\playerweaponholster.ws(501): Could not find function 'AddOilBuff'
which was't supposed to happen if it was integrated in game
I checked with all mods disabled too, script merger not detecting any conflict
My list of mods :
Always full exp
Combat Presets
Gear Improvement last longer
Increased Creature Loot
Jump in Shallow Water
modMapQuestObjective Lite
Oil Indicator
Over 9000 weight limit
withcer 3 HD rework Project
The error code you're quoting says to me that your r4Player.ws file is being overriden by an old version somewhere in your <Witcher 3 install location>\Mods folder. Can you check your mod folders for any files with that name?
Also did you remember to disable your mod__MergedScripts?
Probably the easiest way to diagnose it is cutting everything out of your mod folder then pasting them back in one at a time to see what breaks it. When I play with no mods installed I get CDPR's oil indicators showing up.
EDIT:
Are you using NMM to handle your mod enabling/disabling? Because I don't know how well it deals with merged scripts. That could be the cause of your problems.
No, i have not a single merged script what so ever. Script merger haven't shown any conflict yet.
>Probably the easiest way to diagnose it is cutting everything out of your mod folder then pasting them back in one at a time to see what breaks it.
I removed all mods, installed one at a time, and ran game each time,still same issue as stated before,
Always full exp
Combat Presets
Gear Improvement last longer
Increased Creature Loot
modMapQuestObjective Lite
Over 9000 weight limit
withcer 3 HD rework Project
as soon as i install your mod, Compilation error!
I don't know why , only your mods and Jump in shallow water gives same error,(installed one at a time).
So i'm sure its not about script merging, its either NMM, or your mod is not supporting for v1.12
Edit: I've looked at the file for Jump in Shallow Water, looks like it hasn't been updated yet to work with patch 1.12. It explains the error you're having. Does the game work without that mod enabled?
Is it possible that you can fix the bug with the missing oil indicator in patch 1.12 in NG+? I would not expect a patch, which fixes this problem anytime soon and it would be great, if a modder could fix this problem, like modders fixed the problem with the missing scabbards and the toxic gas clouds, instead of playing for several months with those bugs, until a new patch appears.
A small hotfix should have been great, but they just released a useless hotfix on steam (still not on GoG - thanks for that...), that fixed just two minor bugs with gwent, that doesn't annoy as much people as the missing oil indication in NG+, or Ciri's missing scabbard, or roach sometimes appearing witout her mane. Before we had your great mod, but now NG+ players have no oil indication at all.
Do your best, mate!
http://www.nexusmods.com/witcher3/mods/1194/?tab=3&navtag=http%3A%2F%2Fwww.nexusmods.com%2Fwitcher3%2Fajax%2Fmodimages%2F%3Fuser%3D0%26id%3D1194%26gid%3D952
here is a pic with sword drawn and in fight i have hanged mans venom oil applied to my sword http://i.imgur.com/5tvCBtp.jpg
Once you open it do a Ctrl + F for "var oilEffect : W3Effect_Oil". You should find something. Only thing I can think of is that somehow when your game was patched this file missed getting updated. Let me know if you find it
{
var effectsSize : int;
var effectArray : array< CBaseGameplayEffect >;
var i : int;
var offset : int;
var duration : float;
var initialDuration : float;
var hasRunword5 : bool;
var oilEffect : W3Effect_Oil;
if ( !CanTick( timeDelta ) )
return true;
_previousEffects = _currentEffects;
_currentEffects.Clear();
if( bDisplayBuffs && GetEnabled() )
but im not seeing it in game wth... i searched my entire mod folder again and again there is no script file with hudmodulebuffs.ws
If you find all three of those files (they don't have to be within the same mods) in there then that's the cause of the issue
if ( swordHeld )
{
AddOilBuff(steel);
}
theGame.GetGlobalEventsManager().OnScriptedEvent( SEC_OnOilApplied );
http://imgur.com/IKC0Z80
Finally back from holiday! So far on my to-do list with this mod:
1) Check/fix compatibility with Extended HUD mod.
Note about 1): I've looked into it and there's no easy to get compatibility between these two mods. I'll keep looking at it but I'm not hopeful.
If I've missed anything post here and I'll add it to the list.
Just about to upload a new version with a few fixes for other bugs as well.
[modOilIndicator]
Enabled=1
Priority=1
[modCustomLocalizationFix]
Enabled=1
Priority=2
Thanks
But in the script merger, when editor is opened, juste choose script C for unsolved conflic and save, work for me
I have a problem. After installing this mod with NMM or manually i get Script compilation errors and i cant start the game
1. Error in description
variable is alwaysDisplayOil not alwaysDisplayOils
2. When alwaysDisplayOil = true i have 2 same icons. Code and fix
//duplicate l_flashObject.SetMemberFlashString("iconName",inv.GetItemIconPathByName(GetOilToDisplay()));
l_flashObject.SetMemberFlashString("iconName",inv.GetItemIconPathByName(currentOilArray[j].oilName));
Edit: I altered the alwaysDisplayOils variable to line up with the description for future reference