Space Start Wont Work

Discussion in 'Planets & Playfields' started by Deldo, Aug 7, 2018.

  1. Deldo

    Deldo Ensign

    Joined:
    May 16, 2017
    Messages:
    10
    Likes Received:
    0
    Heya, just wondering why this keeps getting errors on SolarSystemGenerator. it's a direct save from the EPD.

    Code:
    ---
    TemperatureDay: [-200, -100]
    Radiation: [5, 10]
    UseFixed: True
    PvPProb: 0.5
    Gravity: 0
    Music: [moonstone, space, DistantWorlds, Migration]
    PlayfieldType: Space
    PlanetType: Space
    Skybox:
    - [SunFlareWhite3Space, SkyboxStarsGreen, PrefabNebulaBlueGlittery]
    POIs:
    -  Type: omgdoomed
       Name: [omgdoomed]
       DisplayName: OMG Doomed
       Mode: Survival
       CountMinMax: [1, 1]
       Probability: 1
       InitPower: True
       Properties:
       -  Key: RegenAfter
          Value: 1
    FixedPlayerStart:
       - Mode: Survival
         Spawn: Structure
         Structure: omgdoomed
         Items: ['MultiToolT2, MultiCharge:999, EVABoost']
         Armor: ArmorMedium
    
    Think i put that in right lol
     
    #1
  2. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,110
    Likes Received:
    1,753
    First thing I see is that Type is set to omgdoomed. Needs to be BA_Player instead.

    Code:
    POIs:
     - Type: BA_Player
       Name: [omgdoomed]
       DisplayName: OMG Doomed
       Mode: Survival
       CountMinMax: [1, 1]
       Probability: 1
       InitPower: True
       Properties:
       - Key: RegenAfter
         Value: 1
    
    /jmc
     
    #2
    Needleship likes this.
  3. Deldo

    Deldo Ensign

    Joined:
    May 16, 2017
    Messages:
    10
    Likes Received:
    0
    Ah thank you.
     
    #3
  4. Deldo

    Deldo Ensign

    Joined:
    May 16, 2017
    Messages:
    10
    Likes Received:
    0
    Argh that didnt fix it. The error is in fixedplayerstart somewhere
     
    #4
  5. TheSleuth

    TheSleuth Ensign

    Joined:
    Feb 13, 2018
    Messages:
    9
    Likes Received:
    2
    Under "FixedPlayerStart," try putting single quotation marks around the structure name. The default documentation uses double quotes (which you could try), but I have not found that it makes a big difference so long as you are consistent in which ones you use.

    Here's the code:
    Code:
    FixedPlayerStart:
       - Mode: Survival
         Spawn: Structure
         Structure: 'omgdoomed'
         Items: ['MultiToolT2, MultiCharge:999, EVABoost']
         Armor: ArmorMedium
     
    #5
  6. stimdealer0001

    stimdealer0001 Captain

    Joined:
    Sep 14, 2015
    Messages:
    159
    Likes Received:
    149
    Does your omgdoomed POI have a player spawner?
    Here's the code for my server's space start playfield, which works fine:

    (umm how do you pose code snippets on this forum?)

    The POI itself:
    - Type: BA_Admin
    Prefab: ODBA-OmicronOmega
    Mode: Survival
    Name: Omega Station
    Pos: [ -139, 35, 203 ]
    Rot: [ 0, 0, 0 ]
    InitPower: True
    Properties:
    - Key: PersonalContainer
    Value: "AntibioticOintment:1, StomachPills:1, EnergyDrink:1, EVABoost, RadiationBoost, ArmorMedium, OxygenBottleSmall:10, Drill, BioFuel:8"
    - Key: MapMarker
    Value: Neutral

    Down at fixed start area:
    FixedPlayerStart:
    - Mode: Debug # Creative or Survival
    Pos: [ -5000, 0, 5000 ] # position coordinates
    RotY: 0 # rotation angle around Y axis

    - Mode: Survival
    Spawn: Structure
    Structure: "Omega Station"
     
    #6
  7. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,282
    Likes Received:
    11,939
    Along the top bar right above where you type your post, there is a little + icon (4th from the right, next to the save and undo/redo icons). Click that and then select code and just copy and paste whatever you need into the box. Nice thing is it preserves the spacing and format so others can easily paste it into their yaml files if needed.
     
    #7
    krazzykid2006 likes this.

Share This Page