I've create a small package that allows me to add some new sectors into my game.
All works well and I'm very happy with the new sectors.
I haven't modified the main x3_universe.xml file, rather I have created my own xml file containing the additional sectors (with gates added to existing sectors) and then added the new sectors using a MD script.
However, one thing I seem to have a problem with is removing existing gates from sectors.
As an example, I'd like to remove the 'N' gate from Xenon Sector 347 and the 'S' gate from Scale Plate Green.
I've tried the following in the sector xml file (sector is Xenon Sector 347):
Code: Select all
<o t="1" x="11" y="7" r="6" size="20000000" m="0" p="-1" qtrade="100" qfight="100" qbuild="100" qthink="100">
<o id="3915" t="18" s="4" x="0" y="500000" z="21160000" gid="-1" gx="0" gy="0" gtid="-1" a="0" b="0" g="0"/>
</o>
However, all this does is add a new gate in the sector at the position of the N gate (so there are now two in the same place).
I've also tried the following:
Code: Select all
<o t="1" x="11" y="7" r="6" size="20000000" m="0" p="-1" qtrade="100" qfight="100" qbuild="100" qthink="100">
<o id="3915" t="18" s="0" x="0" y="500000" z="21160000" gid="-1" gx="0" gy="0" gtid="-1" a="0" b="0" g="0"/>
</o>
Does anyone have an idea how to effective destroy these gates using this kind of approach?
Thanks in advance for any advice or help. Although I appreciate all responses I am already aware that I can modify the x3_universe.xml file but I don't want to do that so am looking for other solutions.
M