Marova Posted January 13, 2015 Share Posted January 13, 2015 (edited) Hi! So I was testing making a potion rack (to be implemented later in some of my mods) by using the Potion Rack Tutorial on the CK-wiki. I followed every step by the letter and got it working. So I decided to try and make others like it but instead of Potions I thought of making a winecellar, so I used a rack model from the Modders Resource Pack (which is awsome btw) and tested to make special "wineracks". But when I tested it however, the flasks didn't stay in place, but rather wobbled and jumped out the rack (through the top of the rack I might add. As I had made two different "winerack" (the first one for sujammas and the second for mead (the one I just explained about)) I tested the second one (for Sujamma) and the Sujammas wobbled also but didn't jump through the model. So I went back to the potion rack and discovered that even though I had followed the instructions thoroughly, when I removed a potion from the stand, it didn't disappear from the container, so if I triggered the Trigger it showed the inventory (with all twelve potions in it) and then when I exited the screen the potions on the rack updated itself with twelve new potions, and although this is a great way to have infinite potions this isn't really what I'm after...And once again I looked at the tutorial and saw that I had missed one small thing (a keyword) and after I had implemented the keyword I couldn't access the rack at all... *sigh* So my question is, is there something wrong with the scripts (I copy/pasted the ones that are linked in the tutorial and didn't change them anyway)? Secondly, why can't I access my potion rack even though all Triggerboxes are facing the right way and are linked properly? And third, why does the wine/mead/spiritsbottles wobble and jump around (and even out of) my other racks (They are lying horizontally on the ground)? Bonus question! I tried to make one of my wineracks to specifically only accept one type of bottles, do I need to make specific LItem markers for that or can I just make a new property in the ClickTriggerScript that makes it only accepting one type of beverage/potion? (The scripts I've used are the ones that is linked i the tutorial that I linked to above. I havn't changed them in any way except for when I wanted to create the wineracks and then I only exchanged the word Potion to match the items that I wanted to be able to but in the rack) Edit: Nwm the potion rack. I've got it to work. The person who made the Tutorial had just copy/pasted the Book Shelf Tutorial and when he was editing it so that it said Potion instead of Book, he wrote PlayerPotionRackClickTrigger when he should have writen PlayerPotionRackTrigger (under Adding The Triggers) which is the Trigger that correctly uppdates the container on removal... I still need help with the wobbling flasks though! :smile: Edited January 14, 2015 by Marova Link to comment Share on other sites More sharing options...
GaryFishFX Posted January 13, 2015 Share Posted January 13, 2015 Hi MarovaThe tutorial does say he copied the scripts from a weapon rack.Thank you for the link, I'm interested in the same type of thing and I will do the tutorial and see if I can get it to work.If something works for me then I will certainly share it.I will not however, have any time to work on it this evening. Link to comment Share on other sites More sharing options...
Recommended Posts