yaml error need help

Discussion in 'Scenarios' started by cpspok, Jan 29, 2019.

  1. cpspok

    cpspok Commander

    Joined:
    Sep 3, 2016
    Messages:
    163
    Likes Received:
    17
    ok so i used playfield generator to move planets and adjust stuff now i am having an issue on what to place in line to make planet a starter planet i can not seem to get it to become a starter planet anyone know what i type to do so this is what i got so far

    - Coordinates:
    - -2
    - 10
    - 244
    Color: 0.04, 0.5, 0.1
    Icon: Circle
    PlayerStart: True
    SectorMapType: Planet
    Playfields:
    - - 0, 0, 0
    - Calypso
    - Calypso
    - Human:1
    - - 7912, -508, -8743
    - Calypso Moon
    - Calypso Moon
    - ''
    - - 0, 0, 0
    - Calypso Orbit
    - Calypso Orbit
    - ''
    Allow:
    - Threphoe Orbit
    - Risstas Orbit
    - Bromalis Orbit
    Deny:
    - Piese Orbit
    - Gyserei Orbit
    - Thakarshi Orbit
    - Gorstron Orbit
    - Effina Orbit
    - Raptox Orbit
    - Duthor Orbit
    - Hutah Orbit
    - Otumar Orbit
    - Metesson Orbit
    - Staurra Orbit
    - Munish Orbit
    - Nefim Orbit
    - Phaedue Orbit
    - Irdon Orbit
    - Rostib Orbit
    - Kantir Orbit
    - Anami Orbit
    - Tyrostis Orbit
    - Culbin Orbit
    - Tynori Orbit
    - Tarbis Orbit
    - Elumalai Asteroid Field
    - Reest Asteroid Field
    - Skelis Asteroid Field
    - Dolvea Asteroid Field
    - Holternat Asteroid Field
    - Scorten Epsilon Station


    thanks
     
    #1
  2. MozoTyce

    MozoTyce Lieutenant

    Joined:
    Sep 6, 2018
    Messages:
    25
    Likes Received:
    9
    The playfield generator outputs a mess of a file :(
    This is your starter world:
    Code:
    - Coordinates:
    - -2
    - 10
    - 244
    Color: 0.04, 0.5, 0.1
    Icon: Circle
    PlayerStart: True
    SectorMapType: Planet
    Playfields:
    - - 0, 0, 0
    - Calypso
    - Calypso
    - Human:1
    - - 7912, -508, -8743
    - Calypso Moon
    - Calypso Moon
    - ''
    - - 0, 0, 0
    - Calypso Orbit
    - Calypso Orbit
    - ''
    
    But it's a lot easier to read and makes more sense this way (the original Eleon way !):
    Code:
    - Coordinates: [-2,  10, 244]
      SectorMapType: Planet
      Playfields:
      - [ '0, 0, 0', Calypso, Calypso, 'Human:1' ]
      - [ '7912, -508, -8743', Calypso Moon, Calypso Moon ]
      - [ '0, 0, 0', Calypso Orbit, Calypso Orbit ]
    
    Notice i have left out the 'Color' and 'Icon' because they are only for the ingame map and i believe they are no longer used (?)
    The 'Player Start: True' i have never seen in any of my sectors.yaml files (superseeded ?)

    So in my tidier code you see -> 'Human:1' this indicates it is a starter planet. Human is the faction the player will spawn as, 1 is the unique number of that faction (eg you could have two Human factions using 'Human:2' on a different starter planet).
    I believe the number 1,2,etc also represents the order in which the factions will appear in the list in-game.

    Lastly, any planet or orbit (or moon ?) can be a starter by adding 'Faction:x' as a parameter to that playfield however if by "starter" you mean one which has the Robinson Protocol Radar Station, Com Array & Mainframe setup on it then you must use one of the default 'Playfield' planets such as TemperateStarter or OrbitStarter as your planet type (make a copy and name it ! Don't use the actual ones in the Content\Playfileds folder !

    Hope that helps.
     
    #2
  3. cpspok

    cpspok Commander

    Joined:
    Sep 3, 2016
    Messages:
    163
    Likes Received:
    17
    thanks i got that to work now with 1 play field thanks again
     
    #3

Share This Page