I am using the inventories of two non-standard container placeables, meaning their basetype isn't the chest's 2 basetype, and I suppose there is some serialization issue when the game is save while some items are in the inventories.
So I tried to be smart and used the module EVENT_TYPE_MODULE_PRESAVE to empty the placeables :
- http://pastie.org/722073
But apparently by the time the event fires, it's too late to save the placeables, and when the game is loaded the placeables inventories are trashed and bugged : I've have to destroy / recreate the placeables. Does anyone know of a trick of sleigh ? (the save/load tests were done in the same areas as the placeables)
I also tried to extend the placeables.xls via MD2A to create new basetype 2 versions of the placeables, but the new placeable types were not much liked (not created) by the engine. Anyway that's a different matter.
Modifié par Phaenan, 01 décembre 2009 - 06:44 .





Retour en haut






