shurix Posted June 18, 2015 Report Share 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 :) unerground2, second_coming, stonXer and 1 other 4 Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted June 19, 2015 Report Share Posted June 19, 2015 The video has been removed by the user is what YouTube says... Link to comment Share on other sites More sharing options...
DirtySanchez Posted June 19, 2015 Report Share 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 Link to comment Share on other sites More sharing options...
shurix Posted June 19, 2015 Author Report Share 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. Link to comment Share on other sites More sharing options...
Sp4rkY Posted June 19, 2015 Report Share 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 ! Link to comment Share on other sites More sharing options...
1Man Posted June 19, 2015 Report Share 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 Link to comment Share on other sites More sharing options...
Darth_Rogue Posted June 19, 2015 Report Share 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. stonXer 1 Link to comment Share on other sites More sharing options...
D1rtyD3vil Posted June 19, 2015 Report Share 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! Link to comment Share on other sites More sharing options...
1Man Posted June 19, 2015 Report Share Posted June 19, 2015 Ya played with it myself with the same results Link to comment Share on other sites More sharing options...
DigitalPurge Posted July 2, 2015 Report Share Posted July 2, 2015 When will this just be serverside? Link to comment Share on other sites More sharing options...
DrejXArmy Posted July 6, 2015 Report Share Posted July 6, 2015 Any updates on allowing this to be server side and / or have it download for the player when he connects? Link to comment Share on other sites More sharing options...
Darth_Rogue Posted July 7, 2015 Report Share 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. Link to comment Share on other sites More sharing options...
OzzY_MG Posted July 8, 2015 Report Share 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. Link to comment Share on other sites More sharing options...
simon1603 Posted July 10, 2015 Report Share 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 Link to comment Share on other sites More sharing options...
Holibu Posted August 7, 2015 Report Share 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. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted September 19, 2015 Report Share 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 }}; }; Link to comment Share on other sites More sharing options...
SadBoy1981 Posted September 21, 2015 Report Share Posted September 21, 2015 Working good. Thanks. Link to comment Share on other sites More sharing options...
Chainsaw Squirrel Posted October 1, 2015 Report Share Posted October 1, 2015 Anyone ever get this server side yet ? Link to comment Share on other sites More sharing options...
Ian-C Posted January 28, 2016 Report Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now