POI wont load on playfield

Discussion in 'Planets & Playfields' started by 1199_BierB4ron, Apr 14, 2018.

  1. 1199_BierB4ron

    1199_BierB4ron Lieutenant

    Joined:
    Mar 7, 2018
    Messages:
    28
    Likes Received:
    4
    I want to add an playfield with an POI from my blueprints.

    i set the sector.yaml like this:
    Code:
    - Coordinates:
      - 509
      - 62
      - 45
      Color: 1, 0, 0
      Icon: Kite
      Playfields:
      - - 0, 0, 0
        - Alien Starbase
        - Alien Base
        - ''
      Allow: []
      Deny: []
    and the playfield.yaml looks like this:
    Code:
    # Created by EPD v1.36.1.0, Playfield Version: 7.0.0 [1294] (Alpha 7.0.0)
    TemperatureDay: -200
    Music: space
    Radiation: 15.199999999999999
    PlanetType: Space
    PvP: True
    UseFixed: True
    UseRandom: True
    AllowCV: True
    Difficulty: 5
    PlayfieldType: Space
    Description: The space around the Alien Outpost is full of dangers.
    SunFlare: EnvironmentalEffects/SunFlareRedSpace
    Stars: SkyboxStarsPurple
    Nebula: PrefabNebulaOrange
    AtmosphereEnabled: False
    DroneBaseSetup:
      Fixed:
      - Name: MainDroneBase
        Pos: [5000, 200, 5000]
        DroneOnDuty:
        - Name: SpaceDroneLaser
          Pos: [500, 500, 500]
          Radius: 500
        - Name: SpaceDroneLaser
          Pos: [-500, -500, 500]
          Radius: 500
        - Name: SpaceDroneLaser
          Pos: [500, 500, -500]
          Radius: 500
        - Name: SpaceDroneLaser
          Pos: [-500, -500, -500]
          Radius: 500
        - Name: SpaceDronePlasma
          Pos: [3000, 800, 3000]
          Radius: 500
        - Name: SpaceDronePlasma
          Pos: [-3000, -800, 3000]
          Radius: 500
        - Name: SpaceDronePlasma
          Pos: [3000, 800, -3000]
          Radius: 500
        - Name: SpaceDronePlasma
          Pos: [-3000, -800, -3000]
          Radius: 500
        DroneSpaceFreighter: []
        SpaceVessel:
        - Name: Freighter
          FixedMaxSpeed: 30
          Mission: Freighter
          RangePatrol:
            Position3D: [0, 0, 0]
          Immobile: {}
          Freighter:
            DelayBetweenRespawn: 500
            PathWayPoint:
            - [0, -600, -8000]
            - [-500, -600, 8000]
          Stock:
          - Name: SpaceDronePlasma
            Amount: 99
        - Name: BAO_OrbitalSpire
          FixedMaxSpeed: 30
          Mission: Immobile
          RangePatrol:
            Position3D: [0, 0, 0]
          Immobile:
            Position3D: [0, 0, 500]
          Freighter:
            PathWayPoint: []
          Stock:
          - Name: SpaceDronePlasma
            Amount: 20
        DronePlanetVessel: []
        DronePlanetBase: []
    POIs:
      Fixed:
      - Type: Alien Starbase
        Prefab: Alien Starbase
        Mode: Survival
        Name: Alien Coriolis
        Pos: [0, 100, 700]
        Rot: [0, 75, 0]
        InitPower: True
        Properties:
        - Key: MapMarker
          Value: Neutral
        - Key: RegenAfter
          Value: 1
        SpawnResource: []
      - Type: AsteroidVoxel01Promethium
        Prefab: AsteroidVoxel01Promethium
        Name: Promethium Asteroid
        Pos: [-1216, 138, -518]
        Rot: [0, 0, 0]
        Properties: []
        SpawnResource: []
      - Type: AsteroidVoxel02Sathium
        Prefab: AsteroidVoxel02Sathium
        Name: Sathium Asteroid
        Pos: [-568, -264, -1273]
        Rot: [0, 0, 0]
        Properties: []
        SpawnResource: []
      - Type: AsteroidVoxel03Zascosium
        Prefab: AsteroidVoxel03Zascosium
        Name: Zascosium Asteroid
        Pos: [846, -335, 627]
        Rot: [0, 0, 0]
        Properties: []
        SpawnResource: []
      - Type: AsteroidVoxel01Pentaxid
        Prefab: AsteroidVoxel01Pentaxid
        Name: Pentaxid Asteroid
        Pos: [-634, -44, 459]
        Rot: [0, 0, 0]
        Properties: []
        SpawnResource: []
      - Type: AsteroidVoxel03Zascosium
        Prefab: AsteroidVoxel03Zascosium
        Name: Zascosium Asteroid
        Pos: [-1650, -104, 2872]
        Rot: [0, 0, 0]
        Properties: []
        SpawnResource: []
      - Type: AsteroidVoxel01Magnesium
        Prefab: AsteroidVoxel01Magnesium
        Name: Magnesium Asteroid
        Pos: [2110, -240, 4514]
        Rot: [0, 0, 0]
        Properties: []
        SpawnResource: []
      - Type: AsteroidFieldRectangle2
        Name: Asteroid Field
        Pos: [0, 0, 0]
        Rot: [0, 0, 0]
        Properties: []
        SpawnResource: []
      FixedPlayerStart:
      - Mode: Debug
        Pos: [-353, 72, -306]
        Items: [CrushedStone, CrushedStone, CrushedStone]
    
    You are able to warp to the playfield... but when u did it... you get these:
    Code:
    14-17:42:57.296 19_42 -LOG- Loading playfield 'Alien Starbase'
    NullReferenceException: Object reference not set to an instance of an object
      at Assembly-CSharp.ActivatorSerializerPluginQueue.CleanServer (Assembly-CSharp.VectorFactory ) [0x00000] in <filename unknown>:0
      at Assembly-CSharp.OutlineStream.SortNetwork (Assembly-CSharp.VectorFactory ) [0x00000] in <filename unknown>:0
      at Assembly-CSharp.MethodService.SplitFile (SymbolTable ) [0x00000] in <filename unknown>:0
      at Assembly-CSharp.VectorFactory.JoinPartition (SymbolTable , System.String , Int32 , Int32 , Int32 , Boolean , UnityEngine.Transform , Boolean ) [0x00000] in <filename unknown>:0
      at Assembly-CSharp.VectorFactory.JoinOutline (System.String , UInt64 , Assembly-CSharp.NodeEventArgs , Boolean ) [0x00000] in <filename unknown>:0
      at Assembly-CSharp.IconSite.DisposeForm (System.String , Vector3 , Quaternion , ComponentService , System.String , ConditionScope , Assembly-CSharp.NodeEventArgs ) [0x00000] in <filename unknown>:0
      at Assembly-CSharp.IconSite.SearchDisk (System.String , Vector3 , Quaternion , Assembly-CSharp.ClientAttribute , System.Collections.Generic.List`1 , ComponentService , System.String , ConditionScope , Assembly-CSharp.PackageFactory ) [0x00000] in <filename unknown>:0
      at Assembly-CSharp.IconSite+DriveHelper.MoveNext () [0x00000] in <filename unknown>:0
      at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0
     
    Any suggestions? google cant realy help me :(
     
    #1
  2. Sephrajin

    Sephrajin Rear Admiral

    Joined:
    Dec 22, 2017
    Messages:
    915
    Likes Received:
    2,916
    Just to be sure, the playfield.yaml is in the folder 'Alien Base'?
    Within either of (for local game play):
    * <gamedir>/<content>/Playfields
    * <gamedir>/<content>/Scenario/<Your Scenario Name>/Playfields

    And have you actualy added a POI so the DroneBaseSetup can apply its setting to it?
    By that I mean that I had to add an entry on 2 different tabs in the EPD.

    hth
     
    #2
    1199_BierB4ron and jmcburn like this.
  3. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,104
    Likes Received:
    1,747
    Try not to use Spaces is Fixed POIs name.

    and type should be Base, CV or SV, except you use asteroids or sthg.

    rename your epb file to Alien_Starbase

    Try it like that:

    Type: BA_Alien
    Prefab: Alien_Starbase

    maybe this helps

    check all of the pois if they are set up that way.

    /jmc
     
    #3
    1199_BierB4ron likes this.
  4. 1199_BierB4ron

    1199_BierB4ron Lieutenant

    Joined:
    Mar 7, 2018
    Messages:
    28
    Likes Received:
    4
    at night there was the same idea to me with BA_Alien and it worked so far... but the normal Alienstation spawns to ... but its not set as an POI in the playfield.yaml ....

    argh :X
     
    #4

Share This Page