shurix 22 Report post Posted June 18, 2015 I've been struggling with storing all loot that my mates bring from AI missions and I decided to create bigger boxes that would be stored in the database as a storage unit. I took Shelf from Epoch client as an example. The new box can hold up to 10000 lbs of loot compared with 300 lbs of the Shelf. The new box may be built using 4 Large Corrugated + 4 Plank Packs. By using the larger boxes I also managed to remove 100 or so shelves and replace them with 10 boxes. I guess that may increase my server performance just a bit. Check out this video and let me know what do you think. https://www.youtube.com/watch?v=jQFY3PchJaQ Here's the link to the new extra_storage.pbo https://drive.google.com/file/d/0BxlL3HGbsA4PQkx5S3k0NTZuRVE/view?usp=sharing You will need to put extra_storage.pbo into an existing or a custom @mod\addons folder on the server and on each client that connects to the server. I also added this line into my mission.sqm: addOns[] = { ... "extra_storage", ... } You may also want to customize your cfgCrafting.hpp to include the recipes to build the Storage Box Kit: class ItemCorrugatedLg : Default { usedIn[] = { "VehicleRepairLg", "KitPlotPole", "KitStorageBox" }; recipe[] = { { "ItemCorrugated", 3 } }; }; class PartPlankPack : Default { usedIn[] = {"KitStudWall","KitWoodFloor","KitWoodFoundation","KitWoodStairs","KitWoodRamp","KitTiPi", "KitStorageBox"}; recipe[] = {{"WoodLog_EPOCH",2}}; }; class KitStorageBox : Default { recipe[] = {{"ItemCorrugatedLg",4}, {"PartPlankPack",4} }; }; That's it! No more struggling with finding place to put that new sniper rifle, or 10 rifles :) 4 stonXer, second_coming, Splin and 1 other reacted to this Quote Share this post Link to post Share on other sites
BetterDeadThanZed 722 Report post Posted June 19, 2015 The video has been removed by the user is what YouTube says... Quote Share this post Link to post Share on other sites
DirtySanchez 485 Report post Posted June 19, 2015 Nice share! are these persistent? If so fantastic job, I've had a craft able large crate for some time now for that exact reason. I even have it set up to be able to move it around as well as load em into pickup trucks and large choppers Quote Share this post Link to post Share on other sites
shurix 22 Report post Posted June 19, 2015 Nice share! are these persistent? If so fantastic job, I've had a craft able large crate for some time now for that exact reason. I even have it set up to be able to move it around as well as load em into pickup trucks and large choppers My new boxes are all of those things. Quote Share this post Link to post Share on other sites
Sp4rkY 89 Report post Posted June 19, 2015 It´s excactly the addon what i wanted to create too :) Now, you are faster - Good job ! I still didnt checked your code until now, but isnt there any way to rework it for a "none-client-side" method ? That the player doesnt have to download this addon for himself, u know... anyway, nice at all ! Quote Share this post Link to post Share on other sites
1Man 106 Report post Posted June 19, 2015 Ya love the idea but making players download an addon? Has to be a way to make it into the mission file but would need a partial call from server side as well Quote Share this post Link to post Share on other sites
Darth_Rogue 635 Report post Posted June 19, 2015 I kinda/sorta got it working via the mission file. I renamed the config.cpp to extra_storage.hpp and moved it into the mission pbo. Then I added an entry in description.ext "#include cfg\extra_storage.hpp". It loaded up with no errors but when I went to craft it there was no picture that appeared in the crafting menu, likely due to an incorrect path, and when I tried to craft it I was told that there was insufficient space, meaning that it was too big to fit in my inventory, which makes sense. Methinks there's more work that needs done to this to make it viable, but it should be possible to put it in the mission. 1 stonXer reacted to this Quote Share this post Link to post Share on other sites
D1rtyD3vil 2 Report post Posted June 19, 2015 I would love to see it working without people having to download the addon :( But definatly awesome work and thanks for it. i hope you guys can get it to work via mission file! Quote Share this post Link to post Share on other sites
1Man 106 Report post Posted June 19, 2015 Ya played with it myself with the same results Quote Share this post Link to post Share on other sites
DigitalPurge 1 Report post Posted July 2, 2015 When will this just be serverside? Quote Share this post Link to post Share on other sites
DrejXArmy 2 Report post Posted July 6, 2015 Any updates on allowing this to be server side and / or have it download for the player when he connects? Quote Share this post Link to post Share on other sites
Darth_Rogue 635 Report post Posted July 7, 2015 I haven't worked on it anymore recently but it's on my list of things to do. Should be doable with a public variable call. Quote Share this post Link to post Share on other sites
OzzY_MG 9 Report post Posted July 8, 2015 So One is something similar... I added these classnames to halv's and suppe's black market and u buy them like u would vehicles... You move them with IgILoad. And they are persistent. Quote Share this post Link to post Share on other sites
simon1603 18 Report post Posted July 10, 2015 So One is something similar... I added these classnames to halv's and suppe's black market and u buy them like u would vehicles... You move them with IgILoad. And they are persistent. hi, may I ask how you did this, I am still learning so a bit confused. Simon Quote Share this post Link to post Share on other sites
Holibu 0 Report post Posted August 7, 2015 Hi guys, this is an awsome script but it must to be at server side. Do you have any update for it? Thanks. Quote Share this post Link to post Share on other sites
82ndAB_Bravo17 61 Report post Posted September 19, 2015 With the release of 0.3.3.0 you need to put a copy of CfgBaseBuilding.hpp in your mission file, and add the following to it, otherwise you will not be able to remove the boxes once placed: class StorageBox_EPOCH : Default { removeParts[] = {{ "PartPlankPack",4 },{ "ItemCorrugatedLg",4 }}; }; Quote Share this post Link to post Share on other sites
SadBoy1981 84 Report post Posted September 21, 2015 Working good. Thanks. Quote Share this post Link to post Share on other sites
Chainsaw Squirrel 39 Report post Posted October 1, 2015 Anyone ever get this server side yet ? Quote Share this post Link to post Share on other sites
Ian-C 0 Report post Posted January 28, 2016 Hi all Does anyone know if this is still being developed i.e. getting it server side or built into the mission pbo? otherwise is there something similar in the vein of a large storage container that is peaceable as a building object preferably with the included features of being able to move them and load them into vehicles. TIA Ian Quote Share this post Link to post Share on other sites