xmlTools.exe updatechainvalues -filename:/Oni/AE/Tools/TRAMELICOMkick_heavy.xml -newvalue:"6.5" -element:Height -parelement:Heights
This command will change the first value of <Height>9.71892</Height> to <Height>6.5</Height> and the rest of the Height values will be changed accordingly.
Note: This change is not a patch, but rather changes a single TRAM file.
]]>More info here:
http://wiki.oni2.net/XmlTools
xmlTools.exe -filename TRAMTANCOMthrow_fw.xml -newVal "9.9250085" -valElement Height -valParentElement Heights
Note that I used the new value calculated for the hammer (summed 0.7970685 to original value putted in -newVal parameter), after this all others positions will be automatically updated.
I've also made a batch file to test it which you can use with the xmlTools:
http://www.mediafire.com/?8a8gf2x1vdjxnyh
Here's the code if the link above becomes down:
@echo off
xmlTools.exe -filename TRAMTANCOMthrow_fw.xml -newVal "9.9250085" -valElement Height -valParentElement Heights
pause
If you have multiple TRAMS to update from tanker to hammer you could use the above command plus the "-valRelation" parameter, where you wouldn't need to do the sum for each tanker TRAM I suppose since they are all related.
]]>for conversion between other characters the value to be added or subtracted is different
*Converting between females and Striker/elite/swat (trying to use a female move for striker character) add to the original female move 1.8460934
*between females and comguys/muro/cops/thugs/tankers add 1.0490249
*between comguys and strikers/elites/swats add 0.7970685
*between crouched female move and crouched comguy move add 1.429101 (example a crouch kick of the fury to be use for a comguy)
subtract in the opposite direction.
what i'm hoping for is a tool that automatically finds the height tags in the xml and adds or subtracts the value (depending on from which character to which character the tram is going to be used for, have an option in which u define what is the source character and what is the target character : stiker, female, ninja, comguy) and replaces the tags with the new heights ..
]]>That automatically TRAM conversion can be made in a gui application (for example added to vago), but right now I don't have the time. I can however help you building some .bat files which will be already a big help too to automatize the process.
]]>Example you open a TRAM .. You select source character and target character
example comguy to fury and then it automatically adjusts all the <heights>...</heights> valuse for you by adding / substracting value.
These values are predetermined ( i calculated them before)
we have 4 main cataegories
1.strikers, elites, swats (share same heights no conversion needed between them)
2.comguys, tctf light, thugs and tankers (have lower pelvis heights than first category)
3. Ninjas
4. Konoko and fury's and copfems (lowest pelvis height)
so you could convert from striker to comguy, from striker to female from comguy to female from striker to ninja, from comguy to ninja, from ninja to female .. And vice versa
for crouched moves (example a crouch kick the values are different (i also have them calculated)
right now i copy all values and use a spread sheet then copy them back and replace but the tags get messed up ... So it's a tideous process, (esp for throw trams) it would be neat if we had something that could do that automatically ..
What do you think ?
==========================================================================================
XmlTools v0.9 Readme
==========================================================================================########
Overview#
########XmlTools is a command-line modding tool that operates on XML files, especially those exported by OniSplit. It was developed in C# and works in both Mac OS X (Mono required) and Windows (.NET required).
The initial version was written to help with the development of the Old China level mod. It was then developed further for the purposes of the AE.
It can be used as a standalone tool or as a base for another tools.
########
Features#
########>>> Modify a chain of values (for example, to reposition an OBAN animation or adjust pelvis height for a TRAM).
>>> Invert a chain of values (for example, invert an OBAN animation).
>>> Add new values to XML elements (for example, add the 'unkillable' flag to some characters in a level).
>>> Remove values from XML elements (for example, remove boss shields from characters in a level).
>>> Replace values in XML elements (for example, increase the health of characters by replacing the old HP value).
>>> Add custom XML to existing files (patch only).
>>> Remove XML from existing files (patch only).
>>> Powerful custom XML editing using javascript (patch only).
>>> Patch file support allows the modder to list multiple commands in a file, on separate lines, to all be performed at once.
##########
How to use#
##########XmlTools is a console program. If you run the program without parameters you will get all the available options, verbs and parameters.
You can get a more detailed manual how to use it in this page: http://wiki.oni2.net/XmlTools
Download
This version has been abandoned.
Please use XmlTools2 from now:
http://oni.bungie.org/community/forum/v … hp?id=2707
http://wiki.oni2.net/XmlTools