Full Version : How to find treasurelevel chest
xmlspawner >>XMLSpawner - Discussion >>How to find treasurelevel chest
<< Prev | Next >>
Erica- 02-26-2008
Hi ArteGordon how do i find all the treasure level that i spawned with neruns map but its all xmlspawners not the name of the dungeons anyway to find it by just treasurechestlevel on xmlfind.
ArteGordon- 02-26-2008
you can search for objects by Type.
Just check the 'Type' checkbox and enter the item type in the 'Type' field, like
treasurechestlevel1
and then do the search. If you are unsure of the type name, you can use the [whatisit command and target one of the treasure chests and it will tell you the name and object type.
Erica- 02-26-2008
Ok found neruns treasurelevel1 i want to replace those with yours thats called treasurechestlevel1 now question on the xmlfind gump how would i change the names with neruns with yours if it can be done on the xmlfind gump.
ArteGordon- 02-26-2008
ok, sounds like you want to change the spawner entries on all of your treasurechest spawners from things like
treasurelevel1
to
treasurechestlevel1
This is how I would do it. First use [xmlfind to locate all of the spawners that spawn treasure chests.
1) Set the 'Type' as 'xmlspawner' and then put 'treasure' into the 'Entry' field, check the 'Entry' checkbox, and then do a search to find all of the spawners that have spawn entries with the string 'treasure' in them.
2) Once you have that list of spawners, Save them out to a file using the 'Save to file' button, and then open that file using a text editor and do a global search and replace of 'treasurelevel' with 'treasurechestlevel'.
3) Then load that file back in using [xmlload and all of your former treasurechest spawners will be replaced with the new ones.