nice, sounds like a good start to item editing , lets hope it's possible to do more in future
Unfortunately I don't think it will be but you never know.
I can change items into other items but they still have the same picture and act the same as the original e.g. change a sword into a shield, it will look like the original sword and act like the original sword but the attributes will be that of a shield.
The only successful way of changing the item is to find one that looks exactly the same as the item that you would like it to be changed into and then changing item id and type. Levels can be changed as well but this causes the item to lose all of it's attributes. It does require trawling through one of the config files blueprint.txt to find all the information.
The item id and item types are stored in one of the game config files blueprint.txt using the id and type changes the item and this changes all of the attributes of the item automatically but I have not figured out how to change the picture and actions. Still it is funny hacking a game char to death with a shield.
I have a feeling the only way to add extra sockets is to change one of the ingame files and not the actual items. Much like the balance.txt hacks that have been posted in this forum.
nice, sounds like a good start to item editing , lets hope it's possible to do more in future
OK here goes. Here is the new Cloner, it has a completely new look and it has now become an editor as well.
You are now able to change items to different items and also change the level of items.
EDIT: LINK REMOVED SEE NEW BUGFIX VERSION IN POST BELOW
The cloner should run on machines with the .net 3.5 framework installed. Basically if you can run the save game editor this should also run.
Make sure you back up your chest file before using the cloner. It will make a backup of the chest file and save it as a .backup file. If all goes wrong delete the chest file and then remove the .backup from the name of the backup file.
WARNINGS
It does not work very well for armour for reasons which I haven't quite figured out. The start of the armour seems to be different which affects how all the attributes are read into the cloner. If you want to edit armour only put one armour item in the chest at any time. Preferably this should be the only item in the chest.
Other items can be edited with multiple items in the chest.
It will not clone items that are already slotted. Only the main item will be cloned.
The final item to be read in may not appear in the interface. It is still there just not shown and not able to be edited in any way.
USEAGE
Read in the items by using decode button.
Select the item to edit by pressing the button in the position of the item.
Save that item by using the Save Item button.
Other items can be edited or export the updated chest by using the Encode button.
If you want to change an item to a different one pick an item that has the same appearance as the appearance will not change by editing it (some pictures of items are on various websites).
Find the item id of you desired item in blueprint.txt (found in the \Deep Silver\Sacred 2 - Fallen Angel\scripts\server folder of your installation folder). Enable changing item id and then change to the item you want.
If you want to change the level, again use blueprint.txt and find the item using the item id. Enable changing the level with the checkbox and change the level by the lvljump value from blueprint.txt.
Changing the item type will I think change how the item acts but I have included it also.
I have left in the data dump for reading in the chest and saving the chest. If anyone wants to look over them and see if they can find out any more info it would be really appreciated (Beforesacre2chest.txt and Aftersacred2chest.txt both in the folder that you run the program)
As Karach0s says "Have fun cheating"
[Edited by jimbouk, 9/27/2009 2:32:32 AM]
[Edited by jimbouk, 9/27/2009 2:33:43 AM]
[Edited by jimbouk, 9/27/2009 12:09:12 PM]