Author Topic: Premium Module Item Stripping  (Read 390 times)

Legacy_Palaceholder

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Premium Module Item Stripping
« on: February 19, 2014, 09:37:37 pm »


                Hi, I want to make a big runthrough of some of the premium modules with one character, and keep the items I find as I go along - however, some, like Shadow Guard, Kingmaker and Wyvern Crown of Cormyr see fit to remove my inventory on entry to the mod. Is there any way to retrieve your items as you go through, or stop them from being removed? Do you get them back at the end? While I understand the rationale, can you get or find your imported items anywhere? 
               
               

               
            

Legacy_WebShaman

  • Hero Member
  • *****
  • Posts: 1390
  • Karma: +0/-0
Premium Module Item Stripping
« Reply #1 on: February 19, 2014, 10:46:05 pm »


               There MIGHT be a way to do it with the OHS override.

You would need to register your character as a Companion, you would then need to change characters (to another in the party), and then have your character join as a companion with the items on it.  Or just give the items all to another Companion before you end one of the mods.  Then in the new one, just call for your companions again, and get your items back.

It might work - I am not sure, I have personally never tried it.
               
               

               
            

Legacy_Elhanan

  • Hero Member
  • *****
  • Posts: 842
  • Karma: +0/-0
Premium Module Item Stripping
« Reply #2 on: February 20, 2014, 02:13:22 am »


               

Palaceholder wrote...

 Hi, I want to make a big runthrough of some of the premium modules with one character, and keep the items I find as I go along - however, some, like Shadow Guard, Kingmaker and Wyvern Crown of Cormyr see fit to remove my inventory on entry to the mod. Is there any way to retrieve your items as you go through, or stop them from being removed? Do you get them back at the end? While I understand the rationale, can you get or find your imported items anywhere? 


Perhaps you could use the PGC3 mod, or another with persistent containers to store mementoes and favored gear.
               
               

               
            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Premium Module Item Stripping
« Reply #3 on: February 26, 2014, 06:05:13 pm »


               

It wouldn't be hard to get your loot back after the module is over. Just run another (non-stripping) module with the toon before the item-stripping module and put the loot in the first convenient container at the beginning of the module. Save the game. Then, after playing the item-stripping module and saving the toon at the end, open the saved game in multiplayer mode and use the newly saved toon. His stuff from the earlier version should be in the container.


 


Of course, that doesn't let you use those items while playing the premium module. For the most part, that should be fine, since those modules were designed so the PC would not have imported items.


 


There are probably a few ways to get access to items during the premium module, too. I don't recall when exactly the premium modules do their item strips, for those that do. If they do it after some delay (say, after an opening cut-scene), then one could run an override script from DebugMode before the strip that would store the items in the campaign database, just looping through with StoreCampaignObject(). Then, after the item strip, get the items back with a companion override script that loops through with RetrieveCampaignObject(). Clunky, but it should work. I assume that there would be a way preserve items in magic bags and so on, too, but that would require a bit more effort in the script. It would probably be a good idea to have a third script that cleared the items from the DB, too, since the first script could really result in an unnecessarily large DB.