johnsamir
Advanced OT User
simply use grep-win and replace" itemide "for "name"it will work in all your files. i use that tool to convert scripts c++ codes and so on you will love it. example i need to remove a declaration inside monsters.xml files from othire that was <"inside>".@soul4soul There's a little detail on monster loot outcome in TFS XML output. The program set item id="nameoftheitem" and should be item name="nameoftheitem". Just wanted to notify this (is not hard to do the replacement with text editor), thanks for the share because it works very good!![]()
To use them into tfs 1.3, this engine did it for me, in all the files ( almost 200 ) i use t to change outfits ids into npcs and many many things more
LUA:
<!-- <inside> -->
<item id="2050" chance="5000"/><!-- 5% torch -->
<item id="2379" chance="80000"/><!-- 80% dagger -->
<item id="2385" chance="23000"/><!-- 23% sabre -->
<item id="2526" chance="5000"/><!-- 5% studded shield -->
<!-- </inside> -->