BL Coding Change settlement owner in a submodule

Currently Viewing (Users: 0, Guests: 1)

zaldir

Regular
M&BWBWF&SNWVC
Best answers
1
Hey,

Have anyone figured out a way to change settlement owners in a submodule and not directly in the sandbox file? This, along with changing super faction for clans are the only things stopping me from actually releasing my mod, as I don't really want to distribute the edited vanilla spclans.xml and settlements.xml.

Basically, changing the values in a submodule doesn't have any effect in-game, while editing the same values in the vanilla XMLs does.

Both name and culture of the clans and settlements can be edited in a submodule, whereas the super faction and owner seems to only be editable in sandbox.
 

zaldir

Regular
M&BWBWF&SNWVC
Best answers
1
Well, I did find a workaround for now until I can figure out how to do it properly: Creating another module that loads before Sandbox which contains the settlement and clans XMLs. This way that info is loaded before the vanilla ones and the changes take hold.

Would still like a more proper solution though, which I figure would require some actual coding.