PDA

View Full Version : loadorder Not Working?



Mike Serfass
February 29th, 2024, 19:39
I have two extensions. One depends on the other loading first.
I set loadorder on both, but no matter what values I set them to, the load in the same order.
I want setting maker tweaks to load first, then quar dai.

In the setting maker tweaks extension.xml I have this


<properties>
<name>Feature: Setting Maker Tweaks</name>
<version>1.09</version>
<loadorder>20</loadorder>
</properties>


In the quar dai extension.xml I have this


<properties>
<name>Setting: Quar Dai</name>
<version>1.10</version>
<loadorder>40</loadorder>
</properties>


Quar dai always loads before tweaker. I tried setting the values to 20 and 30, 30 and 20, 1 and 100, 100 and 1.
What am I doing wrong? Does this property no longer work?

Thanks in advance.

Mike Serfass
February 29th, 2024, 20:13
I figured this out.
The load order is not updated until you restart FGU.
If you change <loadorder> and use

/reload
the change will not take.
If you close the campaign and reopen it, it doesn't take.
It seems loadorder is read and set when FGU is started. Which makes sense, since the other properties are required when a campaign is selected and before it's loaded.
So that's an important note about the properties node.

Moon Wizard
February 29th, 2024, 20:27
That's correct; extension metadata only updates on a full restart of the program.

Regards,
JPG