Uploading maps on the server

ZaggyZaggy NullPointerExceptionThe Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
edited October 2012 in Server Discussion
<div class="IPBDescription">howto?</div>I guess I can download them using the Steam Workshop on my desktop, find the map file and SCP that to the relevant folder on my server.
Is there a way to do this server side?

Edit: Did find some maps here: <a href="http://www.duplexgaming.co.uk/downloads/maps/" target="_blank">http://www.duplexgaming.co.uk/downloads/maps/</a>

Comments

  • VitdomVitdom Join Date: 2012-04-30 Member: 151345Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, WC 2013 - Shadow
    edited October 2012
    Specify a -modstorage ".\ns2\config\mods" executable parameter and put the mods in that folder. You might not have to put the mods here manually but I think that wasn't implemented yet? e.g.:

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Contents of folder C:\NS2-server\ns2\config\mods\m4fd7fd4_1342767525

    2012-10-17  00:49    <KAT>          .
    2012-10-17  00:49    <KAT>          ..
    2012-10-15  01:43                20 .modinfo
    2012-10-17  00:49    <KAT>          maps<!--c2--></div><!--ec2-->
    Then specify the mod to the server, in this case "4fd7fd4" for the map ns2_summitcombat.level. (Not really sure how to do this yet, but adding it to the mapcycle works) E.g.:

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->{
        "time": 23,
        "mode": "order",
        "maps":
        [
            { "map": "ns2_summitcombat", "mods": [ "4fd7fd4" ] }
        ]
    }<!--c2--></div><!--ec2-->

    This will enable the server to update the mod automatically, and also allow all connecting clients to download the mod from Steam Workshop(not your server) and play.
  • WhosatWhosat Singapore Join Date: 2006-11-03 Member: 58301Members, Reinforced - Shadow
    The server software should download the mod into your modstorage directory if it does not exist. This was working in 223, not sure if it broke (it shouldn't have) in 224.

    Just specify them mod(s) you would like (space-separated) in your -mods command line e.g. -mods "5f4f178 5f42a0c"
Sign In or Register to comment.