cheesetoast8 Posted December 30, 2017 Share Posted December 30, 2017 (edited) IDK if there is a rule against reposting a topic in another thread, but i'm posting this under both "Mod Requests" and creation/modders because I didn't know which would be more appropriate. I've spent a lot of time over the past year pretty much mastering the process of manually combining plugins and resolving conflicts in FO4Edit. However, I still have no idea how scripting works. Can anybody make me a script that will renumber multiple selected formIDs while also redirecting their references to the new formIDs? My issue is that if two separate plugins happen to each have a references between them that shares the last six digits of any formID, then i need to change them so that they won't conflict when merged into one plugin. I've found this problem happening a ton recently, and I would save a lot of time if i could run that script instead of editing all of the formIDs manually like i've been doing the past three days. any help is appreciated, thanks! Edited December 30, 2017 by cheesetoast8 Link to comment Share on other sites More sharing options...
Deleted15964729User Posted December 30, 2017 Share Posted December 30, 2017 Batch mode in CK might be enough for what you want. https://www.creationkit.com/index.php?title=Batch_Assignment Link to comment Share on other sites More sharing options...
JonathanOstrus Posted December 31, 2017 Share Posted December 31, 2017 I can imagine running into so many problems doing what you plan to do. But there's a script that's included with xEdit called "Renumber FormID" that will probably do what you want. Select any base node either a specific record or a tree root (or multiple ones) and right click. Then run script like normal. It will ask for a new starting number then changes all loaded refs pointing to that record before doing the actual renumber. Just make sure that you have references loaded before running it or odd things will happen. One issue I can foresee being a problem is if you do this to a mod, merge it, and then that mod updates. You then decide to update and redo it and remerge. You could very often end up with different sequencing of numbers if doing a batch renumber. If you never plan to update any mods that are being merged then it probably won't be an issue. Link to comment Share on other sites More sharing options...
cheesetoast8 Posted December 31, 2017 Author Share Posted December 31, 2017 ...there's a script that's included with xEdit called "Renumber FormID" that will probably do what you want. Select any base node either a specific record or a tree root (or multiple ones) and right click. Then run script like normal. It will ask for a new starting number then changes all loaded refs pointing to that record before doing the actual renumber. I'm aware. Issue is, it that script doesn't change the references to the new formIDs. it just clears them. going in after that and putting those references in manually would just create even more work. Link to comment Share on other sites More sharing options...
VIitS Posted December 31, 2017 Share Posted December 31, 2017 1) Select records you want to change the FormID of2) Right Click -> "Change FormID"3) Watch FO4Edit do exactly what you want, because zilav is amazing. Link to comment Share on other sites More sharing options...
Recommended Posts