Jump to content

Extra Sockets Mod Help


Recommended Posts

To everyone, i am looking for somebody to help me out with a mod i'm currently working on.

 

http://i.imgur.com/Qk3kEAt.png

http://i.imgur.com/FzjJoKa.png

 

I'm currently adding new ability sockets, which is proving itself to be very very difficult.

 

Here is a download link to the current build I'm working on, as well as a txt file with a lot of information.
This is not a finished mod, just how it is so far.

https://www.mediafire.com/file/v7y8b5u6udjym0v/modSlots.zip

 

The biggest things I'm struggling to get working are the two new mutagen slots.
I can drop a mutagen in the slot and it will not render, however it is there as it has an affect on your stats.

There are a few debugging commands i wrote.

displaymutagenslots()
displayskillslots()
displaymutationtype()

Using these commands i can also see that a mutagen has filled the new slot even if it won't render.

(this will only make sense if you have read the files inside)
The values assigned to EES_SkillMutagen1 through to ESS_SkillMutagen4 is defined in the enum 'EEquipmentSlots' and they are:

EES_SkillMutagen1 = 22
EES_SkillMutagen2 = 23
EES_SkillMutagen3 = 24
EES_SkillMutagen4 = 26

adding 2 more mutagen slots forces me to use the values of 32 and 33 for these new slots.

I don't think this is the problem directly because within panel_character.gfx these functions:

__setProp_lz_gr5_mutagen_mc_slotContainer_2_mutage nslots_0()
__setProp_lz_gr6_mutagen_mc_slotContainer_2_mutage nslots_0()

accept a slotType which for the existing vanilla mutagens are 22, 23, 24, 25. Which are their value in EEquipmentSlots
So for the new mutagen slots i use 32 and 33.

I've noticed that there seems to be some conflict between the 5th bonus slot and the 5th mutagen slot. Which is very strange because i don't see how that slot could have any overlap with the mutation panel from baw.

the 5th mutagen slot is locked if the 5th bonus slot is locked, and furthermore if i drop a skill in that 5th bonus slot i have it render in the mutagen slot.

Again i would really really appreciate help with this, i do not want the work I've put into this so far to go to waste. If you could download the file, test it make your own changes and see if you can get it working that would be great. :)

 

Thank you.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...