thought it was a bug... drives me nuts having it as steel...
to make work i went to Witcher3/Mod/W3EEMain/content/scripts/game/player/PlayerWeaponHolster (link is on description page) searcherd for "aer" and changed line 609 PW_steel to Silver
if( weaponType == PW_Silver )
then same directory r4Player line 3195 changed SteelSword to silver and saved
if( category == 'silversword' )
then in this mod i unzipped, deleted the script file, re zipped and installed ..
I got it working for the current version of W3ee (4.93).
1. Use the picture in the mod description to edit the two scrips in the W3ee mod folder. 2. Delete the script folder from this mod (silveraero), as they are not needed. Or replace them with the edited ones from the W3ee folder. 3.( Maybe this isn't needed?) Use Script Merger to fix conflicts between this mod and W3ee. I let this mod overwrite whenever it mentioned silversword, otherwise let W3ee overwrite.
Confirmed to still be working with the latest version (4.80). Just do as the pic said and makes sure to edit the tags in the xml too (PlayerSteelWeapon to PlayerSilverWeapon)
How I got this mod to work: Firstly, when I installed it I got scripting errors which script merger couldn't fix. So I deleted the script files from the mod and manually edited modW3EE\content\scripts\game\player\playerWeaponHolster.ws and modW3EE\content\scripts\game\player\r4Player.ws using this picture https://imgur.com/a/yTGt7
Edit: I did not change def_item_weapons_relic.xml, (step 3 and 4). Installing the mod is all that's required for that.
After my changes, game launched fine, but Aerondight degraded on use. Copying cowfez's changes in this thread fortunately fixed that.
Error [modw3ee]game\player\playerweaponholster.ws(605): I dont know any 'PW_Sliver'
Warning [content0]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code. Warning [content0]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code. Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.
I didn't/couldn't modify the def_items file as I was unable to find them. I used the mod for that, but deleted the scripts from the mod and manually changed playerWeaponHolster.ws and r4Player.ws as Script Merger couldn't merge them, so manual adjustments were required.
@poioul87
Seems you have some spelling errors. Should be PW_Silver not PW_Sliver. Might want to recheck that you followed the steps and spelt everything correctly.
Anyone know how to fix this error? Error [mod0000_mergedfiles]game\player\playerweaponholster.ws(910): Unexpected end of file found after '{' at line 513
I found line 513 and 910. the "{" doesn't link? idk I don't do scripts but by looking at it in notepad++ I can say that it doesn't appear that 513 and 910 are considered one whole script so it pops the error unexpected end when line 513 is actually the beginning of the script. I could also be way off so idk.
Edit: I c&p this mods .ws file lines from 513-885 which was considered one whole script and then tested it, damn thing threw up so more errors but for a different file so for now i cant use this mod even though id love to
23 comments
thought it was a bug... drives me nuts having it as steel...
to make work i went to Witcher3/Mod/W3EEMain/content/scripts/game/player/PlayerWeaponHolster (link is on description page)
searcherd for "aer" and changed line 609 PW_steel to Silver
if( weaponType == PW_Silver )
then same directory r4Player line 3195 changed SteelSword to silver and saved
if( category == 'silversword' )
then in this mod i unzipped, deleted the script file, re zipped and installed ..
It wasnt hard if you comfortable editing files.
1. Use the picture in the mod description to edit the two scrips in the W3ee mod folder.
2. Delete the script folder from this mod (silveraero), as they are not needed. Or replace them with the edited ones from the W3ee folder.
3.( Maybe this isn't needed?) Use Script Merger to fix conflicts between this mod and W3ee. I let this mod overwrite whenever it mentioned silversword, otherwise let W3ee overwrite.
Firstly, when I installed it I got scripting errors which script merger couldn't fix. So I deleted the script files from the mod and manually edited modW3EE\content\scripts\game\player\playerWeaponHolster.ws and modW3EE\content\scripts\game\player\r4Player.ws using this picture https://imgur.com/a/yTGt7
Edit: I did not change def_item_weapons_relic.xml, (step 3 and 4). Installing the mod is all that's required for that.
After my changes, game launched fine, but Aerondight degraded on use. Copying cowfez's changes in this thread fortunately fixed that.
Warning [content0]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
Warning [content0]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.
Can you or somebody help me please?
I didn't/couldn't modify the def_items file as I was unable to find them. I used the mod for that, but deleted the scripts from the mod and manually changed playerWeaponHolster.ws and r4Player.ws as Script Merger couldn't merge them, so manual adjustments were required.
@poioul87
Seems you have some spelling errors. Should be PW_Silver not PW_Sliver. Might want to recheck that you followed the steps and spelt everything correctly.
Here's a fix for the durability issue:
Open YOUR INSTALL DIRECTORY\mods\modW3EE\content\scripts\game\components\inventoryComponent.ws.
Find this section:
{
value *= 5.5;
chance = 75;
}
else
if( thePlayer.inv.IsItemSteelSwordUsableByPlayer(itemId) && (W3Effect_Aerondight)GetWitcherPlayer().GetBuff(EET_Aerondight) )
{
value *= 0;
chance = 0;
}
Replace that section with this:
if( thePlayer.inv.IsItemSilverSwordUsableByPlayer(itemId) && (W3Effect_Aerondight)GetWitcherPlayer().GetBuff(EET_Aerondight) )
{
value *= 0;
chance = 0;
}
else
if( thePlayer.inv.IsItemSilverSwordUsableByPlayer(itemId) )
{
value *= 5.5;
chance = 75;
}
////cowfez Aerondight Silver Durability Fix End
Re-merge your scripts if you have multiple mods that edit inventoryComponent.ws.
I only tested this for a short time, but everything seems to work as it should.
I found line 513 and 910. the "{" doesn't link? idk I don't do scripts but by looking at it in notepad++ I can say that it doesn't appear that 513 and 910 are considered one whole script so it pops the error unexpected end when line 513 is actually the beginning of the script. I could also be way off so idk.
Edit: I c&p this mods .ws file lines from 513-885 which was considered one whole script and then tested it, damn thing threw up so more errors but for a different file so for now i cant use this mod even though id love to