i change the xml diff instead of replace value of those related to in-zone jump, i just removed the nodes, as there is really no point processing them.
i tested it, seems like it's not working, in zone jump still occured.
some changes i tried out myself:
the dependency node in content.xml, i omit the version attribute, in-game it seems to detect version number of urs mod, listing 015 in the extension description.
1)
Code: Select all
<dependency id="ws_478790162"/>
the other 2 changes using remove node:
2)
Code: Select all
<remove sel="//do_if[@value='$MICT_JumpDrive.isoperational and this.ship.cargo.{ware.fuelcells}.count gt 500 and player.age gt (@$MICT_JumpStartTime + @$MICT_JumpTimer)']" ws="after"/>
i look at the xml diff doc, seems like i need to put in ws=after
3)
Code: Select all
<remove sel="//do_if[@value='this.ship.distanceto.{$target} gt this.ship.size + $target.size + 10km']" ws="after"/>
the xpath node lookup for the attribute value, does replacing " -> ' should work? or i should use double " ?
do these all looks good?
however they not working as expected, advice?
update:
modding dependency doesn't work as i expected.
the only way to change the mod is directly editing it
code change
these changes are targeted at mict - nexus - ver 022, include few of it's optional features
2 files changed, 2 types of changes:
1) remove show_notification - it keep showing up radar, very annonying
2) remove/change code block involved jump and warp
MICT.move.attack.object.capital.xml
MICT.move.escort.capital.xml
the original code is renamed to *.1.txt