Help needed Static POI placement

Discussion in 'General Discussion' started by SylenThunder, May 21, 2021.

  1. SylenThunder

    SylenThunder Captain

    Joined:
    Jul 30, 2016
    Messages:
    219
    Likes Received:
    138
    Ok, so I've done all the things with making this POI. For the life of me though I cannot figure out how to make it be placed in a specific location.

    So far I have basically created a scenario for our dedicated server. I was able to make changes to resources without an issue. I can even get the POI added and have it spawn randomly without an issue. (Well except for the fact that it is very large, and doesn't set into most places it's spawned at correctly.)

    So basically I would like to have it spawn at specific coordinates for the starter planets we're using with this specific seed.

    I tried using EPD for this, but for the life of me I cannot get it to work. Either it never sees the POI, or I end up with a bunch of errors when trying to mess with it. (currently it's giving an error for a line in the static playfield that is completely stock.)

    The only real reference I have to go on is the Fixed BA_Player and SV_Player that are used in creative mode, and neither of them have the "GroupName" to select the prefab. I have tried a couple of variations of inserting data to basically do this by guesswork, but have had very little success.

    Basically I'm trying to get an admin structure with devices unlocked for players spawned into each of the starter planets.
     
    #1
  2. Taelyn

    Taelyn Guest

    For a fixed POI

    You have to add this flag to the Playfield File MANDITORY or it wont spawn

    Code:
    UseFixed: True                        # If set to True uses fixed POIs + resources in Survival mode (per default set to False). Can be used together with UseRandom
    
    
    Then

    Code:
        Fixed:
            - Type: BA_Player               # Type of blueprint (BA, SV, HV, CV)
              Prefab: BA_Outpost-AkuaV2     # Filename of blueprint
              Mode: Creative                # Creative or Survival
              SubMode: Normal               # Empty / Normal (only evaluated in Creative mode) [default: Normal]
              Name: Outpost Akua            # Name of blueprint as displayed to player
              Pos: [ -522.5, 27, -356.4 ]   # Position coordinates
              Rot: [ 0, -42, 0 ]            # Rotation angles
              InitPower: True               # Set if POI should be initially powered, default: False
    
    Prefab = Name of the .ebp File. GroupName wont work
     
    #2
    Kassonnade and SylenThunder like this.
  3. SylenThunder

    SylenThunder Captain

    Joined:
    Jul 30, 2016
    Messages:
    219
    Likes Received:
    138
    Ok, that makes sense. I hadn't even seen that flag at the beginning. Does "BA_Player" still work for a structure with an admin core?
     
    #3
  4. Taelyn

    Taelyn Guest

    BA_Player set it so a Player can control it
    If you want it to be Admin set it to BA_Admin or BA_Alien
    You can use the "Faction:" Tag aswell
     
    #4
    Kassonnade and SylenThunder like this.
  5. SylenThunder

    SylenThunder Captain

    Joined:
    Jul 30, 2016
    Messages:
    219
    Likes Received:
    138
    Ok, Curious question #2. Which of these files should I be editing?
    playfield_debug.yaml playfield_dynamic.yaml or playfield_static.yaml

    I was assuming I should use static, but I'm not seeing the UseFixed value in any of them.
     
    #5
  6. Taelyn

    Taelyn Guest

    Debug is for Internal
    Dynamic contains general Planet setup and Biomes

    You need to use Playfield_Static.yaml

    Add the Flag. By default its False and thus not added since we barly use it
     
    #6
    Kassonnade and SylenThunder like this.
  7. SylenThunder

    SylenThunder Captain

    Joined:
    Jul 30, 2016
    Messages:
    219
    Likes Received:
    138
    Ok great, so I was on the right path there at least. Thank you very much for the quick responses.
     
    #7
    Kassonnade and Taelyn like this.

Share This Page