[GUIDE] Creating A Map Pack

Discussion in 'Mod Discussions' started by cptconundrum, November 6, 2014.

  1. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Creating a map pack is very simple in the newest version of System Sharing.

    1. Make some maps. I recommend making good ones.
    2. Export all the maps as .pas files
    3. Create a new mod. Make sure its modinfo.json is told to require "cShareSystems".
    4. Add a "systems" folder to the mod and put all your systems in it.
    5. Create a single javascript file and have the mod load it in the "load_planet" scene
    6. The file should be exactly like this, but with an entry pointing to every .pas file you want to include;
      Code:
      cShareSystems.load_pas("Genesis", [
          "coui://ui/mods/cMaps_genesis/systems/caledonia.pas",
          "coui://ui/mods/cMaps_genesis/systems/capital_n.pas",
          "coui://ui/mods/cMaps_genesis/systems/clarke.pas",
          "coui://ui/mods/cMaps_genesis/systems/cross_back.pas",
          "coui://ui/mods/cMaps_genesis/systems/dust_of_doom.pas",
          "coui://ui/mods/cMaps_genesis/systems/dustbowl.pas",
          "coui://ui/mods/cMaps_genesis/systems/faceoff.pas",
          "coui://ui/mods/cMaps_genesis/systems/honeypot.pas",
          "coui://ui/mods/cMaps_genesis/systems/station_3.pas",
          "coui://ui/mods/cMaps_genesis/systems/systeem_x.pas",
          "coui://ui/mods/cMaps_genesis/systems/taxman.pas",
          "coui://ui/mods/cMaps_genesis/systems/tug_of_war.pas",
          "coui://ui/mods/cMaps_genesis/systems/water_world.pas"
      ]);
    Now just make it available on PAMM! People that download your map pack will be able to use it even if System Sharing's servers are offline or if they are on an airplane.

    [​IMG]

    Advanced Use
    If player count recommendations are available in the .pas files as they are for the Uber systems, those values will be automatically used. If they are not found, a "creator" value will be looked for. You can edit your .pas files by hand and add in one of these if you want.

    You can also add the following attributes to the .pas file:
    • creator
    • version
    • date
    • description
    Last edited: November 6, 2014
    proeleert likes this.
  2. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Once PA Hub is a bit more mature, consider turning maps into it's own content type - the content hub is built around different content stores, such as Mods, Plugins, etc; A map content store could be made, allowing people to just click the ones they want. The internals of the plugin would combine all the selected ones into a single list that the system sharing mod could reference.
    proeleert and cptconundrum like this.
  3. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    squishypon3 and snierke like this.
  4. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
  5. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Maps in PA Hub:
    upload_2014-12-3_22-11-48.png

    The resulting "Offline Systems" map pack in-game:
    upload_2014-12-3_22-12-25.png

    Neat thing:
    1. Go to the "Find Content" Tab.
    2. Click Filter -> Content Type (Map)
    3. Click [ Select All ]
    4. Click [ Install All ]
    You now have every map!

Share This Page