Jump to content

How to Add Jewelry Slot for the Seraphim


Recommended Posts

Welcome to DarkMatters confetin! I have moved your post to its very own topic in our modding section.

 

And what a wonderful first post! I learned something from it. There is more potential for adding more equipment slots for other characters as well.

 

After you make a certain number of posts, you are allowed to post links. :)

  • Like! 1
Link to comment

 

Hello DarkMatters, I like Sacred 2 and I do like Seraphim too...
So I made for her a small modification :) And now she can wear 4 rings and 2 amulets.

e8f83ec343.jpg

To make the same or similar, you will need to make a copy of the file called Inventory_Seraphim.xml
The original is here: pak\skin-xml.zip\Windows\Inventory_Seraphim.xml
Place Inventory_Seraphim.xml in pak\windows\ folder.
If does not exist then create a windows folder in the pak folder.
Then add a new lines with new coordinates for AMULET_2, RING_3, RING_4
And just move a little the rest of the slots relative to each other, to look better.
Here is my example:

 

<?xml version="1.0" encoding="utf-8" ?>
<suixml version="0.0.1.0">
<templatesource filename="Visuals/VisualTemplates.xml" type="CXMLSerializer"/>
<CWindow Name="UI_INVENTORY_SERAPHIM">
<rect x="0" y="0" width="400" height="176" />
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_HELMET">
<rect x="18" y="6"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_WINGS">
<rect x="158" y="4"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_SHOULDER">
<rect x="18" y="62"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_CHEST">
<rect x="100" y="4"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_BELT">
<rect x="240" y="6"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_LEG">
<rect x="240" y="62"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_BOOT">
<rect x="240" y="118"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_ARM">
<rect x="18" y="118"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_HAND">
<rect x="130" y="144"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_JEWELERY_AMULET_1">
<rect x="142" y="84"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_JEWELERY_AMULET_2">
<rect x="142" y="114"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_JEWELERY_RING_1">
<rect x="110" y="84"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_JEWELERY_RING_2">
<rect x="174" y="84"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_JEWELERY_RING_3">
<rect x="110" y="114"/>
</CSuiEquip>
<CSuiEquip template="suiequip" Name="SUI_EQUIP$EQUIP_ID_JEWELERY_RING_4">
<rect x="174" y="114"/>
</CSuiEquip>
</CWindow>
</suixml>

 

 

And also need to file scripts\shared\creatureinfo.txt and find Seraphim by type = 1,
thanks to this thread, DarkMatters link
and especially to the author of the post.
Then add new equipment RING_3, RING_4, AMULET_2
Here is my example for part of equipment:

 

validEquipSlots = "EID_WEAPON_R + EID_WEAPON_L + EID_SHIELD_L + EID_HELMET + EID_SHOULDER + EID_CHEST + EID_ARM + EID_HAND + EID_LEG + EID_BOOT + EID_WINGS + EID_BELT + EID_BELT_SKIRT + EID_JEWELERY_RING_1 + EID_JEWELERY_RING_2 + EID_JEWELERY_RING_3 + EID_JEWELERY_RING_4 + EID_JEWELERY_AMULET_1 + EID_JEWELERY_AMULET_2 + EID_ORB_1 + EID_ORB_2 + EID_ORB_3 + EID_ORB_4 + EID_ORB_5 + EID_ORB_6 + EID_ORB_7 + EID_ORB_8 + EID_ORB_9 + EID_ORB_10 + EID_ORB_11 + EID_ORB_12",

 

Thats it :)

To preserve the correct encoding, I use the free text editor Notepad++, as shown in this post

post.

By the way, how to make link to a post? Becouse I could not get it. Thanks in advance.

Translated by online translator.

A great new mod for our favorite game in the world

and welcome to DarkMatters Confetin!!

 

:bounce:

 

gogo

  • Like! 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up