489
edits
Script 10k (talk | contribs) (→Sample patch: updating to 2.0) |
Script 10k (talk | contribs) m (→Sample patch: mistake in command) |
||
Line 26: | Line 26: | ||
@XML_TOOLS Version "2.0" | @XML_TOOLS Version "2.0" | ||
@COMMAND Options "--replace-all-values --element-name ' | @COMMAND Options "--replace-all-values --element-name 'FirstLevel' --new-val '0'" | ||
The AEI will then process this file by retrieving the .oni file whose name matches the .oni-patch file (TRAMKONCOMcomb_k_k_k), exporting it as XML, running XmlTools to apply the patch, then converting the XML file back to an .oni file and combining it with all other selected mods into the new level data in the [[GDF]]. The modder does not have to worry about whether there is a modded form of the .oni file he is patching in some mod the player has installed because the AEI will use the .oni from the highest-numbered mod as the base for the patch. The AEI will use the vanilla resource from Oni if there are no modded versions of the .oni among the player's active mods. | The AEI will then process this file by retrieving the .oni file whose name matches the .oni-patch file (TRAMKONCOMcomb_k_k_k), exporting it as XML, running XmlTools to apply the patch, then converting the XML file back to an .oni file and combining it with all other selected mods into the new level data in the [[GDF]]. The modder does not have to worry about whether there is a modded form of the .oni file he is patching in some mod the player has installed because the AEI will use the .oni from the highest-numbered mod as the base for the patch. The AEI will use the vanilla resource from Oni if there are no modded versions of the .oni among the player's active mods. | ||
[[Category:Modding tutorials]] | [[Category:Modding tutorials]] |
edits