RandomPresets Question

Discussion in 'Planets & Playfields' started by Rhyx, Jan 30, 2019.

  1. Rhyx

    Rhyx Ensign

    Joined:
    Jan 27, 2019
    Messages:
    9
    Likes Received:
    2
    When you want to add new starter based on diffrent playfield Say named "Rhyx"
    It should look like :
    Playfield Should be in Playfields/Rhyx/playfield_dynamic.yaml + playfield_static.yaml + terrain.yaml

    This is Edited source
    What im missing ?
    (Getting error yaml semantics, Issue with deserializing playfield data, Object not set to instance of object.)
    There is only guide for predefined sector.yaml couldnt find nothing on randomly generated ones from RandomPresets.yaml


    PS Changing
    To
    Works fine
     
    #1
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,424
    Likes Received:
    12,030
    If the exact same entry works fine with a default playfield then it's probably something wrong with your playfield.
     
    #2
  3. Rhyx

    Rhyx Ensign

    Joined:
    Jan 27, 2019
    Messages:
    9
    Likes Received:
    2
    that playfield loads if renamed to Arid/AridStarter im asking what im making wrong here if i want add extra one.
     
    #3
  4. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,424
    Likes Received:
    12,030
    Can you upload your custom random config here? (Rename it to a .txt so it lets you upload it).

    I'll take a look and see if I can figure it out.
     
    #4
  5. Rhyx

    Rhyx Ensign

    Joined:
    Jan 27, 2019
    Messages:
    9
    Likes Received:
    2
    What im asking why its working if i rename Rhyx to ANY defualt planet type and "Replace them" and why its not working when i want to add new addional one.
     
    #5
  6. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,424
    Likes Received:
    12,030
    Can you upload it as a .txt? The code you posted above doesn't follow the same spacing as the default one and doesn't work for me no matter what planets I disable.
     
    #6
  7. Rhyx

    Rhyx Ensign

    Joined:
    Jan 27, 2019
    Messages:
    9
    Likes Received:
    2
    Here it is.
     

    Attached Files:

    #7
  8. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,424
    Likes Received:
    12,030
    Tested. Was able to generate a scenario with it and then load it up in-game without error. I just copied over a default playfield and called it Rhyx to test.

    Just to double check:

    Your playfield should be in the Empyrion - Galactic Survival/Content/Playfields folder if you're trying to generate a map with the SSG.

    If you're doing that and it's still giving an error, then it's probably something wrong with your Rhyx playfield itself.
     
    #8
    Rhyx likes this.
  9. Rhyx

    Rhyx Ensign

    Joined:
    Jan 27, 2019
    Messages:
    9
    Likes Received:
    2
    hmm then ill try verify files since its copy of arid for test purpose and give errors


    EDIT:


    Oh i figured it out i did typo in Playfields folder name well thanks
     
    #9
    Last edited: Jan 30, 2019
    ravien_ff likes this.
  10. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,424
    Likes Received:
    12,030
    One time I spent 2 hours digging through my 1300 lines of code trying to fix my random config only to realize I had forgot to add the sun. :mad:
     
    #10
  11. Rhyx

    Rhyx Ensign

    Joined:
    Jan 27, 2019
    Messages:
    9
    Likes Received:
    2
    Well i dont know how long i would be digging in config files till i would notice that typo.... that been bad on my part and thanks again.
     
    #11
    ravien_ff likes this.

Share This Page