Jump to content

COPY_EXISTING A Same File in Different Components


Abel

Recommended Posts

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!

Link to comment

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 by subtledoctor
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...