I have recently developed a small donation kit mod. While it works perfect for our communities purposes, I’d like to make it flexible for other communities to use. What I have done is taken a basic storage box, duplicated it, added a default inventory, and removed the ability to demolish it. Basicly I am here asking for any guidance in directing an external list of items (items.txt) into the default inventory of a storage container. Any help would be greatly appreciated!
It is currently not possible to access strings from outside of the game, other than HTTPGet String - and I don’t know exactly how that works, either in the settings INI or another file.
If that’s what you’re trying to do, anyway, reference a text file other than GameUserSettings.ini that is.
-WM
Even if it were a section in the gameusersettings.ini, I am just looking for a way to allow server owners to customize the list of items inside the custom storage container (which is just a duplicate of the normal storage container that has items in the default inventory).
Sorry for necroing, but rather that than creating a new thread.
I’m looking for exactly this as well, and see on the workshop that someone got it working from the GSU.ini as a setting:
ex.
[Starter Kit]
ItemsToGive=“Blueprint’/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick’”,“Blueprint’/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalHatchet.PrimalItem_WeaponMetalHatchet’”,“Blueprint’/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponPike.PrimalItem_WeaponPike’”
I am trying to create a default set of 10 boxes, with no contents in them, if not decided through the setting in GSU.ini.
It could be
[Box1]
Contents go here
[Box2]
Contents go here
etc.etc. - but having a hard time understanding how to do it exactly. Seeing as Kyream (Props to the person) has been able to do so, surely there must be a way.
Having only started with the devkit yesterday, i find myself stuck - having managed to do custom boxes with contents, auto-destroy on empty etc.