[REL] [CLIENT] System Sharing v2 for Titans & Classic

Discussion in 'Released Mods' started by mikeyh, June 21, 2015.

  1. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    System Sharing 2 is a rework of the original System Sharing client mod by @cptconundrum.

    The client mod adds the following to load planet used by the system editor and new game lobby:
    • map tabs for:
      • my systems (with a share system button for the default server in the system editor version)
      • shared systems for the default server and custom private servers
      • uber systems
      • map pack client mods
    • extended system info when selecting maps
    • default server to share your maps with others
    • custom private servers for clans, tournaments, etc
    The existing server side is unchanged at this time.

    A future update will allow map creators to delete maps they have shared, enable searching and improve performance.

    [​IMG]

    [​IMG] [​IMG]

    The following has changed:
    • complete rework to fix issues with build 82834+
      (cleaner integration and hopefully less fragile for future Uber changes)
    • moved share system to load planet systems list (load_planet.js scene) and removed system editor scene
    • added more planet detail including:
      • metal clusters, metal density and custom metal spots
      • custom landing zones
      • custom csg
      • fixed metal display to:
        • check for metal clusters, metal density and custom metal spots
        • suppress for gas giants
    • fixed share system to use export (no more missing custom csg, metal spots and landing zones)
    • fixed map packs so that they now maintain original sort order
    • removed new game scene (not needed)
    • removed unused files
    Deleting Maps from the Shared Server
    • contact me via Community Chat or the forums to delete a map you have shared
    Last edited: May 21, 2017
    tunsel11, xankar, mishtakashi and 5 others like this.
  2. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
  3. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    Creating A Custom Map Pack Client Mod

    Please make sure you read:
    You'll need a github account to submit and some way to host the zip file. eg a dropbox public link (use dl=1)

    The structure of your map pack client mod submission is:
    • mymodname_v(major).(minor).(revision).zip eg myubername-mymappackname_v1.0.0.zip
      • mymodname_v(major).(minor).(revision) eg myubername-mymappackname_v1.0.0
        • modinfo.json
        • ui
          • mods
            • unique-identifier
              • maps.js
              • systems
                • map1.pas
                • map2.pas
                • etc
    The following are important:
    • unique identifier string in modinfo.json eg com.pa.myubername.client.mymappackname
    • version string (major.minor.revision) in modinfo.json and zip filename eg 1.0.0, 1.0.1, 1.1.0, 2.0.0, etc
    • unique mod name eg myubername maps
    • unique and short map tab name eg myubername
    • unique map names
    • unique map filenames (avoid spaces)
    • dependencies in modinfo.json on the system sharing client mod ie dependencies: [ "com.pa.conundrum.cShareSystems" ]
    • watch out for missing or extra commas
    • all files must be UTF-8 (no BOM)
    Export your maps and add the following manually to each map pas file:
    • creator
    • description
    • version
    A future mod update will allow these fields to be updated prior to export.

    Take a look at the following sample map pack: https://palobby.com/mods/palobby-maps_v1.0.0.zip

    Please include the following categories in your modinfo.json:
    • maps
    • classic (if tested with classic)
    • titans (if tested with titans)
    Test your map pack before uploading by manually adding into your local PA mods directory.

    If you need a good text editor try the following:
    Last edited: January 21, 2018
    killerkiwijuice likes this.
  4. andrehsu

    andrehsu Active Member

    Messages:
    366
    Likes Received:
    120
    This is listed as "System Sharing" on pamm right?
  5. Quitch

    Quitch Post Master General

    Messages:
    5,849
    Likes Received:
    6,045
    Yes, the title is a misnomer, it's simply version 2 of System Sharing.
  6. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    maps.js example:

    Code:
    cShareSystems.load_pas("palobby", [
        "coui://ui/mods/com.pa.mikeyh.palobby-maps/systems/map1.pas",
        "coui://ui/mods/com.pa.mikeyh.palobby-maps/systems/map2.pas",
        "coui://ui/mods/com.pa.mikeyh.palobby-maps/systems/map3.pas"
    ]);
    There is no trailing comma on last map entry.
  7. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    Updated map pack instructions.
    easybox and Alpha2546 like this.
  8. n00n

    n00n Active Member

    Messages:
    345
    Likes Received:
    210
    The case of the CSS file in the modinfo.json and file system do not match. This results in the CSS failing to load for Linux users.
  9. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    Fixed. Must have been that way for a very long time.
    n00n likes this.
  10. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    If you're a map pack creator please update your mod with the following:
    • single maps category (please remove other categories like map, packs, etc)
    • titans category (if your maps are tested with titans)
    • short tab names
    Please make sure you are only using cShareSystems.load_pas in your maps.js (map sort order is now preserved).
  11. coldboot

    coldboot Active Member

    Messages:
    447
    Likes Received:
    112
    Where is the System Sharing GitHub project?
  12. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    There isn't one.
  13. ZakTheEvil

    ZakTheEvil Member

    Messages:
    74
    Likes Received:
    32
    How did this process change after the latest PA update with mod browser built into the game and PAMM no longer required?
  14. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    No change yet... still using the old PAMM server.
  15. lorodion

    lorodion Member

    Messages:
    46
    Likes Received:
    30
    I would love to see search functionality added to this mod, for example searching by system name and number of players (landing spots).
    With lots of map packs it is quite hard to find the right system.
  16. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    I believe overhauling/replacing System Sharing is at the top of mikeyh's list.
    lorodion likes this.
  17. w33dkingca

    w33dkingca Active Member

    Messages:
    248
    Likes Received:
    80
    Hello, I want to know if its possible to view the save location for the maps and pick them from my browser, id need to scroll 2000+ pages in order to find an old map I made, launching the replay through pastats does not work so I cannot apprehend the file that way. Please get back to me
  18. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    Not at this time. If you know the name of a map I might be able to find it.
  19. w33dkingca

    w33dkingca Active Member

    Messages:
    248
    Likes Received:
    80
    war earth is the name of the map I was looking for. Props for the offer. it will be an [NW]TheEffectTheCause map or standard TheEffectTheCause
  20. recoil345

    recoil345 Active Member

    Messages:
    29
    Likes Received:
    31
    The Cult is looking to use this mod for our Clan Wars REBOOT. I believe we asked for a server called Cosmic War to be listed in the server drop down menu, is there a way we could rename it and add new systems to it?

Share This Page