cumbrianlad Posted October 1, 2017 Share Posted October 1, 2017 Hi. I've had problems with custom shelving, you know, the sort where the player sees a row of ingots stacked on a shelf, linked to a hidden chest. The player looks at the shelf and is prompted to 'Search Ingots'. Problems normally arise when the items don't remain where they are on the shelf but ping around with havoc. Up until now I've been using method 1 (below) for these shelves. I'm now wondering why I can't do this another way (method 2). I've tested it in a test cell and not only is it quicker but it uses less memory and has no need for collision barriers. Given that this method does away with loads of scripts on items and doesn't need to use memory for the collision barrier(s), I'd have thought it was better for optimisation, too. The end result is exactly the same for the player. Is there a good reason why I shouldn't do this my way? My test used two identically stacked shelves, created by the two methods. Method 2 used 25% less memory. Method 2 also avoids the possibility of overlooking scripts or forgetting to set properties. You are always using a static item that can't be activated or moved. Method 1. (As in Darkfox127 tutorial) Place shelfFind item and place on shelfEdit item and add two scripts: DefaultBlockActivate and DefaultDisableHavokOnLoadEdit the first two properties of the second script.Repeat with other items for the shelf or duplicate and use 'ctrl F' if it's easierPlace collision barrier around the shelfAdd trigger and link to chestMethod 2.Place shelfFind item for shelf and edit the base to copy the nif modelCreate and name a new static item. Edit this item and paste in the copied nif modelAdd the static item to the shelfRepeat with other items or duplicate when possibleAdd trigger and link to chest Link to comment Share on other sites More sharing options...
Di0nysys Posted October 1, 2017 Share Posted October 1, 2017 Make the entire shelf a static container, and just arrange all the items in nifskope. Seems like a more straightforward method. Link to comment Share on other sites More sharing options...
cumbrianlad Posted October 1, 2017 Author Share Posted October 1, 2017 Make the entire shelf a static container, and just arrange all the items in nifskope. Seems like a more straightforward method. Link to comment Share on other sites More sharing options...
cumbrianlad Posted October 1, 2017 Author Share Posted October 1, 2017 Something's gone really wrong with my posts. I quoted you and typed underneath and the reply's been posted without my comments. Also not showing any edits I try to make. Link to comment Share on other sites More sharing options...
Recommended Posts