POI - Keep loot/cargo setting

Discussion in 'Knowledge & Info' started by Hawkie, Mar 10, 2021.

  1. Hawkie

    Hawkie Commander

    Joined:
    Dec 7, 2018
    Messages:
    150
    Likes Received:
    80
    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.
     
    #1
  2. Alhira_K

    Alhira_K Captain

    Joined:
    Jan 16, 2017
    Messages:
    287
    Likes Received:
    377
    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.
     
    #2
    Hawkie likes this.
  3. Hawkie

    Hawkie Commander

    Joined:
    Dec 7, 2018
    Messages:
    150
    Likes Received:
    80
    Thanks, that was just the one. Well i will test it out now
     
    #3
    Alhira_K likes this.
  4. Hawkie

    Hawkie Commander

    Joined:
    Dec 7, 2018
    Messages:
    150
    Likes Received:
    80
    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.
     
    #4
  5. Hawkie

    Hawkie Commander

    Joined:
    Dec 7, 2018
    Messages:
    150
    Likes Received:
    80
    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
     
    #5
    Last edited: Mar 16, 2021
    Alhira_K likes this.
  6. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,397
    Likes Received:
    12,004
    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.
     
    #6
    Alhira_K likes this.
  7. Hawkie

    Hawkie Commander

    Joined:
    Dec 7, 2018
    Messages:
    150
    Likes Received:
    80
    With The IsKeepContainers set to true, you can have any core, and just save BP with the loot you want. Tested and working :)
     
    #7
    Alhira_K likes this.

Share This Page