Do dynamic records in the save stay forever?
Do dynamic records in the save stay forever?
Like custom spells and custom potions. They do not seem to be removed after being removed from the game by deleting the custom spells or drinking the stack of custom potions.
Re: Do dynamic records in the save stay forever?
Yes, they stay forever.
Re: Do dynamic records in the save stay forever?
It is not that easy - instances of given dynamic record can be somewhere in game world, outside of player's inventory (e.g. when player sells home-brewed potions to vendors, gives them to another players or NPC companions, stores them at home or just drops them somewhere). To check if the dynamic record can be removed safely, there should be a complex reference tracking system which covers all visited cells. It just does not worth it.
Re: Do dynamic records in the save stay forever?
So the existence of those dynamic records won't bloat your save file much and does not slow down the game?akortunov wrote: ↑12 Aug 2022, 08:56It is not that easy - instances of given dynamic record can be somewhere in game world, outside of player's inventory (e.g. when player sells home-brewed potions to vendors, gives them to another players or NPC companions, stores them at home or just drops them somewhere). To check if the dynamic record can be removed safely, there should be a complex reference tracking system which covers all visited cells. It just does not worth it.
Spells seem pretty straightforward, since only player can make and delete them and they can not be transfered to anywhere else. For potions, I wonder if the global count of a specific potion rather than individual instances can be tracked so when player makes one the count+1 and when player drinks one the count-1, all other actions do not alter the count. When the count of a specific potion reaches 0 remove the corresponding dynamic record. This should be pretty light weight but will need an additional field for ALCH dynamic records to store the count.
Last edited by Lywzc on 12 Aug 2022, 10:51, edited 1 time in total.
-
- Posts: 256
- Joined: 19 Jul 2016, 01:02
Re: Do dynamic records in the save stay forever?
For reference, TES3MP has had such a system since 2018, proving that it isn't particularly difficult to implement.