Aller au contenu

Photo

Base Item Type Not Updating


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Ambaryerno

Ambaryerno
  • Members
  • 532 messages
Posted this in my mod thread, but figured I should make a separate post so it doesn't get lost in the rest of the discussions:

I've exported my mod for testing in the game. Parts work fine (2H longswords FTW!!!) however I've run into a big snag:

Two of the characters currently in my party were equipped with longswords that are now given a new Base Item Type (arming sword). The resource name (gen_im_wep_mel_***_***) has NOT changed. All I changed in the Toolset was the Base Item Type. 2DA files are created for both BITM_Base and ItemStats worksheet under my new BITM file, (BITM_Arms) as well as ItemVariations (ItemVariations_Arms). I've also referenced their variation page in the 2DA_ file (2DA_Arms).

However when I load the game with the mod active, their swords are no longer present in inventory! If I disable the mod from the DLC menu the swords are restored.

This is a BIG bug, but I'm not sure where to even start. I tried a script to readd the swords to inventory but that didn't fix it.

I also tried starting a brand new game just as an experiment. The ONLY sword from the original game that I kept as a longsword was the Family Sword. I then added three additional NEW longswords under different IDs (lsw_ls1, lsw_est and lsw_vic) to provide a couple "standard" weapons to go with one unique one for now. The sword referenced by the Human Noble to start the game is one of the swords now categorized as an "Arming Sword" (1H). However after I create the character and start the game, the sword appears as a 2H LONGSWORD instead. I've double-checked the Base Type in the Toolset and confirmed it's set correctly. The Arming Sword stats were a simple copy of the game's stock Longsword (before I made any changes) in the BITM_Base renamed and with a new ID.

Finally, I loaded an earlier saved game from just after I upgraded Alistair's equipment and sold off his Warden Sword. This sword SHOULD be appearing as a 1H Arming Sword. However in the game, it's showing up as 2H. Also, ALL characters equipping swords set to the new Arming Sword Base Type (Alistair, Lelianna, and Zevran) once again have weapons missing from their inventory.

Disabling the mod corrects ALL issues.

So it appears that:

1) Base Item Type is not being picked up and applied correctly
2) Some of the swords set to the new Base Item Type are now missing from the inventory entirely. There seems to be no rhyme or reason, as Alistair's sword is just a Viridium

I AM suspicious of one possible reason why correct Base Types aren't being applied, and it's that I am using the same Inventory Subgroup for Longswords, Arming Swords and Falchions. For some reason I didn't notice that each Base Type had a different Subgroup.

I'm trying to track down where this is located to determine whether it might just be arbitrary or not. I don't know if it will fix the problem I'm having, but I figure it's worth a shot. Anyone have a thought on this?

Modifié par Ambaryerno, 20 novembre 2009 - 06:03 .


#2
Ambaryerno

Ambaryerno
  • Members
  • 532 messages
Quick update:



Changed the Inventory Subgroup for Arming Swords. Had no effect on the game at all.



As a further test, I disabled the mod. I then loaded my game and unequipped Alistair's shield, saved the game and quit to the main menu. After that I enabled the mod and reloaded. Alistair was now equipped with the sword he has without the mod, only now it's two-handed.



So I HAVE solved why the 1H swords are vanishing from inventory: If you have a 1H weapon in your main hand, and another weapon or shield in the off hand, activating the mod causes it to lose the 2H version of the weapon.



This leads me back to my original problem: WHY isn't it properly reading the Base Item?

#3
Ambaryerno

Ambaryerno
  • Members
  • 532 messages
Ok, another update. I've discovered WHY the Base Types aren't updating:

Although the game is successfully reading the 2DA files, it is NOT seeing the exported weapon resources located in the add-ins\\core\\override\\toolset export folder. I've also tried putting them in modules\\singleplayer\\override\\toolset export AND packages\\core\\override\\toolset. It is still not reading the resources at all. I've also tried removing the Single Player module from the hierarchy. Once again there's been no change.

This is why it's not applying the updated Base Item types to the modified swords: It doesn't even see that they've been changed to begin with, so instead it applies the updated 2DA information to all stock longswords. Because of a conflict in the game where a character has both a longsword and a shield/second weapon equipped, it removes the sword from inventory when it wants the longsword to be 2H (glad I discovered this).

So that leaves me with the question: Does anyone have any idea why the game's not seeing anything in the override\\toolset export folder?

Modifié par Ambaryerno, 20 novembre 2009 - 06:57 .