Abel Posted February 11, 2022 Posted February 11, 2022 I have a mod with two components. The first component changes a 2DA. The second component changes it as well. Each component can be installed separately or together and in that case, I want #2 to remember the changes of #1. Each component uses the same copy code: COPY_EXISTING ~file.2da~ ~override~ Unfortunately, COPY_EXISTING in #2 doesn't get the modified 2DA in the override folder but acts as if nothing's there and modify the normal game file. Is it a bug or am I missing something? Any help would be appreciated! Quote
subtledoctor Posted February 11, 2022 Posted February 11, 2022 (edited) Something is off. Weidu does everything sequentially - any changes made to a file are taken into account by any later changes. (With very few exception, like certain changes inside a single patch.) If you do COPY_EXISTING ~thac0.2da~ ~override~ REPLACE_TEXTUALLY ~FIGHTER~ ~FIGHTING_MAN~ BUT_ONLY COPY_EXISTING ~thac0.2da~ ~override~ REPLACE_TEXTUALLY ~FIGHTING_MAN~ ~MEAT_SHIELD~ BUT_ONLY ...then the result will be that you will see "MEAT_SHIELD" in the file. Edited February 11, 2022 by subtledoctor Quote
Abel Posted February 11, 2022 Author Posted February 11, 2022 (edited) Hmm... Thank you for your answer, subtledoctor! I'll give it another look then. Edit: you're right! Somehow, it now works as expected. I don't know what happened! Edited February 11, 2022 by Abel Quote
subtledoctor Posted February 11, 2022 Posted February 11, 2022 It's possible you didn't close out one Weidu process before installing another one. Or you ran the Weidu installer while the game was running but minimized, or while NI was modifying the file, or something like that. Quote
Abel Posted February 11, 2022 Author Posted February 11, 2022 Right! The file was opened in a text editor too. Thanks for your help, I was getting desperate! Quote
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.