how to fix Exception in unit line -1: Error in unit 'mteFunctions' on line 2261 : Array index out of bounds Error during Applying script "FO4 - Weightless Patcher": Error in unit 'mteFunctions' on line 2261 : Array index out of bounds
See https://forums.nexusmods.com/index.php?/topic/3119670-mxpf-mators-xedit-patching-framework/page-25#entry125550672 - you need to update MXPF lib script with the version from their github, that issue got fixed two months ago.
i cant find SSEEdit.exe to rename to FO4Edit.exe where is this file in the download link it opens up in 7 zip like this Edit Scripts xDump.exe xDump64.exe xFOEdit.exe xFOEdit64.exe xTESEdit.exe xTESEdit64.exe
I haven't played Fallout 3/NV myself. So you will have to edit the script yourself.
The record types in Fallout New Vegas are slightly different. If you open up the script in a text editor of your choice, you can see how it works. First we filter the record types, those are the top level contents of a plug-in in xEdit. ?LoadRecords('WEAP'); The next relevant part is: seev(rec, 'DNAM - Data/Weight', 00000000); Here we set the value of Data/Weight to 0 So to port the patcher to FO:NV or FO:3, you will have to look what record types there are that have items with weights, then look at the path where the weight is stored for that kind of record, then alter the script and it should work.
Thanks for your suggestion. Back when I linked it, they had binary release for every version, now the dev version are source code only on GitHub. I changed the links to point to the latest release on GitHub instead which comes with a zip archive for an easy installation. I might switch it to point to one of the Nexus mirror pages some day, but I prefer to point to the original source instead.
This is amazing, I was manually editing weights in xedit myself when I had to update my VIS patches, since not everyone has a weightless version, and I was like... there's gotta be a better way man... and then I found this! Thank you so much!
23 comments
Exception in unit line -1: Error in unit 'mteFunctions' on line 2261 : Array index out of bounds
Error during Applying script "FO4 - Weightless Patcher": Error in unit 'mteFunctions' on line 2261 : Array index out of bounds
Solution: Apply patch multiple times for different plugins.
Something has broken
Edit Scripts
xDump.exe
xDump64.exe
xFOEdit.exe
xFOEdit64.exe
xTESEdit.exe
xTESEdit64.exe
which file is this under?
The record types in Fallout New Vegas are slightly different. If you open up the script in a text editor of your choice, you can see how it works.
First we filter the record types, those are the top level contents of a plug-in in xEdit.
?LoadRecords('WEAP');
The next relevant part is:seev(rec, 'DNAM - Data/Weight', 00000000);
Here we set the value of Data/Weight to 0So to port the patcher to FO:NV or FO:3, you will have to look what record types there are that have items with weights, then look at the path where the weight is stored for that kind of record, then alter the script and it should work.
Hope I could help you.
I changed the links to point to the latest release on GitHub instead which comes with a zip archive for an easy installation. I might switch it to point to one of the Nexus mirror pages some day, but I prefer to point to the original source instead.
Does this make Weapon MODS weightless?
Also, if I wanted to leave out making Armor and weapons weightless, would I just comment out, or remove these lines?
-and-
Weapon Mods (Item) are part of misc.
Thank you :)
It's going to be a glorious thing unleashing this on my entire load order. (minus the official esms)