Fixed Space POIs in survival?

Discussion in 'Planets & Playfields' started by ravien_ff, Aug 23, 2019.

  1. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,424
    Likes Received:
    12,030
    I'm trying to add a fixed POI that spawns in survival to space_dynamic.yaml but haven't had much luck.

    Has anyone gotten it to work and has an example?
     
    #1
    Needleship likes this.
  2. Needleship

    Needleship Master of Custom Terrain

    Joined:
    Apr 13, 2017
    Messages:
    527
    Likes Received:
    835
    ...Would be interested, too. :)
     
    #2
    ravien_ff likes this.
  3. Hummel-o-War

    Hummel-o-War Administrator Staff Member Community Manager

    • Developer
    Joined:
    Jun 15, 2015
    Messages:
    5,509
    Likes Received:
    8,505
    Should work by adding this


    Position:
    PosXZMinMax: [1000, 2500]
    PosYMax: 2500


    Did you check the Example Space playfield in the Content/Playfields folder?
     
    #3
    ravien_ff likes this.
  4. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,424
    Likes Received:
    12,030
    I'm trying to add a space POI at a specific location, hidden out of the way so players wouldn't find it on their own so I can give the player the coordinates using the flavor text of a NPC trader or an LCD screen.

    So something like this:

    - Type: BA_Player
    Name: [BAO_Ramparts]
    DisplayName: Outpost Akua Orbit
    Mode: Survival
    CountMinMax: [ 1, 1 ]
    Pos: [ 5000, -15000, -20000]
    Rot: [ 0, 75, 0 ]
    Probability: 1
    InitPower: True
    Properties:
    - Key: RegenAfter
    Value: 720

    But POIs with fixed coordinates only spawn in creative mode. In survival, they'll still have a random location.
     
    #4
    Needleship likes this.
  5. Sephrajin

    Sephrajin Rear Admiral

    Joined:
    Dec 22, 2017
    Messages:
    916
    Likes Received:
    2,917
    If i recall correctly you'll have to add (something like):
    UseFixedPos: true
    UseRandomPos: true

    In the yamls.
    On planets at least, not sure if that works for space too.. should i guess :rolleyes:
     
    #5
    ravien_ff likes this.
  6. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,424
    Likes Received:
    12,030
    Usefixed is set. Didn't change anything. :(
     
    #6

Share This Page