Need help with this Custom Planet

Discussion in 'The Hangar Bay' started by Javarox87, Oct 19, 2016.

  1. Javarox87

    Javarox87 Captain

    Joined:
    Oct 19, 2016
    Messages:
    164
    Likes Received:
    180
    I've tweaked with a few of the vanilla planets before but this is my first attempt at something completely different.

    The playfeild loads fine but as soon as I entire orbit or try to teleport inside the planet the game throws a "null" at me and the planet disappears completely and I get CoQ.

    If anyone can fix it your very welcome to use it anyway you wish.

    Google Drive Link Below.
    (Rename to Playfield.yaml to test)

    https://drive.google.com/open?id=0B64a7V_9V-jRd1JuUm1ZZWhfQ1E
     
    #1
  2. dtmullican

    dtmullican Commander

    Joined:
    Aug 31, 2016
    Messages:
    31
    Likes Received:
    11
    After a very quick glance, I can see that, at a minimum, you are missing definitions for Water and Sea level.

    Water: WaterBlue # WaterBlue, WaterGreen, WaterBrown
    SeaLevel: 23 # Sea level of planet

    Don't have time to test it or look further at the moment.
     
    #2
  3. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    Can't be it. The barren planet in the Content\playfields doesn't have it.

    Need to know what the changes from the original were.
     
    #3
  4. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    My guesses would be as follows:
    Code:
    Biome:
    # Foggy area
      - Altitude: [ 18, 23 ]
      Slope: [ 0, 12 ]
      BiomeClusterData:
      - Name: "BarrenFog"
      Id: 1
      ClusterSize: 0
      NbOfClusters: 0
      Decorations:
      - [ AlienTreeBlue, 0.3]
      - [ CrystalsPyramidBlue, 0.25]
      - [ CrystalsPyramidBlue, 0.5]
    # Main biome: flat
      - Altitude: [ 32, 45 ]
      Slope: [ 0, 15 ]
      BiomeClusterData:
      - Name: "BarrenRocks"
      Id: 2
      ClusterSize: 80
      NbOfClusters: 12
      Decorations:
      - [ CrystalsPyramidBlue, 2]
      - [ CrystalsPyramidBlue, 2]
      - [ RealRock4, 0.5]
      - [ RealRock5, 0.5]
      - [ RealRock6, 0.5] 
      Grass:
      - Name: "GrassGreen06Snow"
      Density: 1000
      YScale: 0.8
      Preset: "GrassPatches8"
    
    In the above biomes, you have CrystalsPyramidBlue listed twice. Try only listing it once per biome definition.
     
    #4
  5. Javarox87

    Javarox87 Captain

    Joined:
    Oct 19, 2016
    Messages:
    164
    Likes Received:
    180
    I pretty much changed everything except POI's, Drones, and Effects. Thank you Joe, I'm going to try to take that out and see if it helps.
     
    #5
  6. XeroTerragoth

    XeroTerragoth Captain

    Joined:
    Mar 3, 2016
    Messages:
    40
    Likes Received:
    67
    I noticed you have your drone amounts turned up past (what I believe is) the max limit for the number of drones that can spawn on a particular playfield at any given time. This wouldn't cause the issue listed above, but I'm pretty sure the game won't let the troop transport drop off 100 Zirax soldiers lol.

    That and wouldn't Desert Golems match your terrain and biome placement better than the ice ones (just a cosmetic suggestion lol)?
     
    #6
  7. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    The amounts listed are the "reserves". They only drop off or populate x amount at a time. They repopulate from the amount pool until it is empty.
     
    #7
  8. Javarox87

    Javarox87 Captain

    Joined:
    Oct 19, 2016
    Messages:
    164
    Likes Received:
    180
    I have given up on this planet. I think that it is a decoration with a typo in it or an amount of a deco with the wrong value cuasing the issue. I simply just haven't been able to find it.

    Thanks the help.
     
    #8
  9. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    Now it's a challenge. Accepted. ;)
     
    #9
    Javarox87 likes this.
  10. Javarox87

    Javarox87 Captain

    Joined:
    Oct 19, 2016
    Messages:
    164
    Likes Received:
    180
    Joe if you fix it please please upload here. It will make my month.
     
    #10
  11. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    It's coming. I apologize for the delay. I've had some urgent issues to deal with. I promise to upload them this evening.
     
    #11
  12. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    I found the problem and fixed it. World works. I've added the corrected field to this message.

    Looks like you misspelt a decoration name and it caused a problem. I fixed the two misspellings and all is now fine.

    Sample of error.
    Code:
               Decorations:
                   - [ RealRock1, 5]
                   - [ CrsytalStraight, 7]
     

    Attached Files:

    #12
    XeroTerragoth likes this.
  13. Javarox87

    Javarox87 Captain

    Joined:
    Oct 19, 2016
    Messages:
    164
    Likes Received:
    180
    Joe you have a Talent! Thank you for the fix. Downloading and adding to my contents folder now. :)
     
    #13
    joemorin73 likes this.
  14. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    Thanks. It was a fun challenge and it is a good example of how sensitive these files can be. This makes me think that a better "file validator" is needed to let us know what the errors are.
     
    #14
    XeroTerragoth likes this.

Share This Page