Basically I need to add the sectors added by my mod to the lists that the MD uses for various plots and scenes.
The game simply uses this kind of grouping to differentiate between BASE GAME sectors and DLC sectors.
Code: Select all
<find_sector name="$SplitSectors" extension="'ego_dlc_split'" multiple="true"/>
<find_sector name="$BaseSectors" extension="''" multiple="true"/>
So this is the code that states what BASE SECTORS are, basically it calls all sectors (but not those added by my mod) except DLC's
Code: Select all
<find_sector name="$BaseSectors" multiple="true" extension="''"/>
Code: Select all
<find_sector name="$BaseSectors" multiple="true" extension="''"/>
<find_sector name="$BaseSectors" multiple="true" extension="'xrsge'"/>
Basically I only need to create a sum of the two lists, I tried add_to_group and add_to_list but no success, only errors
How do I merge the two above? How can I add my sectors to the existing $BaseSectors? Which is then used to list groups of gates, pathways etc.
P.S. in the previous version of my mod I simply replaced the entire <find_sector with a list of macros, i.e. all the sectors called one by one.
It was <find_sector name="$BaseSectors" space="player.galaxy" extension="'xrsge'" multiple="true" macro="[macro.cluster_01_sector001_macro, macro.cluster_01_sector002_macro, macro.cluster_02_sector001_macro, macro.cluster_03_sector001_macro, ETC ETC
It worked only bc I had moved all the base sectors in XRSGE but now no more, so even if using <find_sector name="$BaseSectors" space="player.galaxy" extension="''" it gives me error in the MD, basically the engine does not find base sectors anymore