how do i make my own system?

Discussion in 'Planets & Playfields' started by The Tactician[ Λ ], Oct 17, 2017.

  1. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,113
    Likes Received:
    1,759
    Here are the steps to get it working:

    • In 'content\playfields' create a new subfolder called e.g. SpaceAlienBoss or something you like.
    • Put the .txt file in there, rename it back to yaml.
    • Set the groupname of the alien ship to 'AlienBoss'
    • Copy the AlienBoss epb file in 'content\prefabs'
    • Edit the Sector file like the one enclosed. There's also Jascha's and Rexxxus' EPG tool for editing the sector file, but that's another topic on it's own.
    In line 51 to 59 i defined 'EPDTest' as my own custom sector
    In line 56 it states: - ['0, 0, 0', EPDTest Orbit, _TESTSpace]

    Either you can create a new sector like i did with EPDTest.

    • Copying the whole sector from my file:
      • Just copy lines 51-59 over to your sectors.yaml (Every sector starts with '- Coordinates...' and ends with the playfields in it.
      • Insert after any sector in your sector.yaml
      • Be sure to use SPACEs, not TABs in the yaml, otherwise the game will crash on load. Indentation in yaml files is very important, one space missing or one too much and it will crash. :)

    • Edit an existing sector:
      • E.g. take masperon. Just edit the line in your sector.yaml, where it says:
        - ['0, 0, 0', Masperon Orbit, SpaceAsteroidsMasperon]
      • change SpaceAsteroidsMasperon to SpaceAlienBoss or whatever you named your folder, you put the playfield in.
    hope this helps, otherwise feel free to ask.

    /jmc
     

    Attached Files:

    #21
    The Tactician[ Λ ] likes this.

Share This Page