There was some setting that could be used on a POI to keep the BP inserted loot. Do anyone remember what that was? I want to set some specific loot in a new POI, and just cant for the life of me find that setting again.
In earlier versions you had to use an AdminCore or an NpcAdminCore. 1.3 Patchnotes state the following: - Added IsKeepContainers: true for CoreNPC and CoreNPCcpu (Attention: pre-placed items will now be saved and spawned with the blueprint!) I have not tested this and a quick search didn't see an example use case in the +ExamplePlanet static.ecf.
Damned, cannot find any information how/where to use that setting. Will do tests, to find out if its in playfield-yaml or if it should be set before saving blueprint using prefabinfo or struct command.
Well then i figured it out. Its in the playfield.yaml Like this example: - GroupName: StarterPOI Faction: Alien CountMinMax: [ 3, 4 ] IsScalingCount: True Properties: - Key: Music Value: EvilWhispering - Key: RegenAfter Value: 720 - Key: IsKeepContainers Value: True
To add manual loot to a POI: POI must have a NPC Core or NPC Core (Admin) or Admin Core. Place loot in cargo containers. Save blueprint with the "keep damage state" checkbox checked. Now when you spawn a new copy of the blueprint, the loot will be in the cargo containers.
With The IsKeepContainers set to true, you can have any core, and just save BP with the loot you want. Tested and working