Difference between revisions of "User talk:QQuix/On Dynamic Items and Savegame Bloating"
Jump to navigation
Jump to search
User talk:QQuix/On Dynamic Items and Savegame Bloating (edit)
Revision as of 00:07, 11 March 2009
, 00:07, 11 March 2009→CloneForms: comments
imported>ABO (Asked about CloneForm) |
imported>QQuix (→CloneForms: comments) |
||
Line 78: | Line 78: | ||
This clears up all the savegame bloat for dynamic items, does anyone know what happens with CloneForm? It would be really nice if CloneForms had some sort of reference-counting garbage collection so they get removed if nothing uses them, but somehow I doubt that and suspect that each CloneForm bloats savegames permanently. | This clears up all the savegame bloat for dynamic items, does anyone know what happens with CloneForm? It would be really nice if CloneForms had some sort of reference-counting garbage collection so they get removed if nothing uses them, but somehow I doubt that and suspect that each CloneForm bloats savegames permanently. | ||
--[[User:ABO|ABO]] 17:53, 10 March 2009 (EDT) | --[[User:ABO|ABO]] 17:53, 10 March 2009 (EDT) | ||
:CloneForm, DuplicateAllItems and CreateFullActorCopy have twice the usual bloating potential as all three (any other?) create new Base Object records which, along with their Reference records, will remain in the game forever (unless, of course, the modder takes some additional steps - as the ones mentioned below). | |||
:Base Records of actors created with CreateFullActorCopy can be completely removed with DeleteFullActorCopy, but CreateFullActorCopy also duplicates whatever items the original actor had in its inventory, and, AFAIK, these duplicated items are not removed by DeleteFullActorCopy. | |||
:Besides the additional Base Records, any reference based on these Base Records (reference created either by PlaceAtMe or by dropping an item from an inventory) has the same bloating potential as references based on vanilla Base Records. | |||
:I recently installed RefStuff and was very pleased to verify that it's DestroyClonedForm function does remove those Base Records. As it's DestroyRef does remove references created with PlaceAtMe/Drop. Any modder willing to use OBSE+RefStuff will have a lot of flexibility in safely creating and destroying stuff. Even more by using arrays to keep track of the FormIDs-to-be-destroyed. | |||
:[[User:QQuix|QQuix]] 01:07, 11 March 2009 (EDT) |