Nuclear Dawn

Nuclear Dawn

Create and Discover Community Maps
Create custom levels and share them with the Community. Or just browse, download, and rate awesome maps that others have created. Maps with a high enough rating even have a chance of becoming official! Click here to learn how.
 This topic has been pinned, so it's probably important
psychonic  [developer] 25 Jan, 2013 @ 4:53am
Server Operators: Subscribing to Workshop maps on a Dedicated Servers
Now that workshop subscriptions for servers is fully working in ND, see this wiki page to find out how to set it up:
http://www.nucleardawnthegame.com/wiki/index.php/Workshop_for_Servers
< >
Showing 1-11 of 11 comments
Vertex 1 25 Jan, 2013 @ 1:37pm 
@psychonic works 100% from server side only question is will the cilent sync the maps from steamworkshop? if they don't people will still get version mismatches.
psychonic  [developer] 25 Jan, 2013 @ 1:41pm 
Originally posted by xG:D >>Stickz<<:
@psychonic works 100% from server side only question is will the cilent sync the maps from steamworkshop? if they don't people will still get version mismatches.
For now, clients will have to be subscribed or otherwise obtain the latest version themselves.

We'll look into a solution to that case for the future.
Vertex 1 25 Jan, 2013 @ 1:44pm 
only problem with that is cilents can have different versions of the map and not be able to play, if they don't subscribe... also i persume they will have to download it from the server side if they are not subscribed? also when the map on steamworkshop gets updated they can't play it period without being subscribed?

ns2 does have a solution for this for the cilent to get it from steam workshop somehow...
Last edited by Vertex; 25 Jan, 2013 @ 1:47pm
psychonic  [developer] 25 Jan, 2013 @ 2:22pm 
If the client has a copy of the map already that differs from the server's copy, there will be an error. It was like that before the Workshop was implemented as well.

If the client does not have the map and is not subscribed, they will download it from the server if possible (if on the "FastDL" location if sv_downloadurl is set, or if not set, directly through the server's netchannel is sv_allowdownloads is enabled and net_maxfilesize is large enough).

As noted, we'll be looking into a fix. The best solution would be just as you said, to have the client download it from the workshop if it does not have the map or if the map version doesn't match, but that's not entirely straightforward due to how some of the internals of the engine work. Regardless, this is on our list.
Dmitriy 15 25 Jan, 2013 @ 2:26pm 
They probably subscribe user automatically when he tries to join a server with custom map, don't know for sure.

That's pretty important thing for WIP maps, because some users don't even know about workshop and download maps straight from server. May be such Source games like TF2 and CS:GO solved this already?! And the similar approach can be used in ND...
psychonic  [developer] 25 Jan, 2013 @ 2:31pm 
Originally posted by DIMEDROLL:
They probably subscribe user automatically when he tries to join a server with custom map, don't know for sure.
I don't know if they force-subscribe the user or just do a one-time download. The latter sounds friendlier.

Originally posted by DIMEDROLL:
That's pretty important thing for WIP maps, because some users don't even know about workshop and download maps straight from server. May be such Source games like TF2 and CS:GO solved this already?! And the similar approach can be used in ND...
In TF2 and most other Source games, the map authors use suffixes for in-progress maps, such as _a1, _a2, _b1, _v5, etc. to avoid this issue.

I believe that they're doing something different for CS:GO to better accomodate Workshop maps, but the specifics are unclear at this time.
Dmitriy 15 7 Feb, 2013 @ 3:28pm 
Sorry, CS GO didn't have Workshop support until now. Now it does. And Garrys Mod seems to also have solution for this, idk for sure.
Anyway, I think the most reliable solution for mappers for now is to rename the BSP with each new version of BSP. Like mymap_01.bsp, mymap_02.bsp etc
Dmitriy 15 25 Feb, 2013 @ 3:42am 
Although renaming the BSP is pretty painfull for frequent updates, since mapper needs to rename all the materials, scripts which are required for the map to be in workshop. But then, the server operators need to update the mapcycle.txt, maplist.txt manually and put the new version of the map to their FastDL servers.

Some CS GO maps have more subscribers then unique visitors. For example this map:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=127569721&searchtext=
2,532 unique visitors
4,497 subscribers
How is this possible? Garrys Mod and Natural Selection have this too. I assume that those people get automatically subscribed to the map they are connecting to and download the map not from FastDL server but from the workshop directly.
psychonic  [developer] 25 Feb, 2013 @ 4:53am 
Originally posted by DIMEDROLL:
Although renaming the BSP is pretty painfull for frequent updates, since mapper needs to rename all the materials, scripts which are required for the map to be in workshop. But then, the server operators need to update the mapcycle.txt, maplist.txt manually and put the new version of the map to their FastDL servers.

Some CS GO maps have more subscribers then unique visitors. For example this map:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=127569721&searchtext=
2,532 unique visitors
4,497 subscribers
How is this possible? Garrys Mod and Natural Selection have this too. I assume that those people get automatically subscribed to the map they are connecting to and download the map not from FastDL server but from the workshop directly.
The client does not get automatically subscribed in CS:GO. I can't speak for NS2 or GMod. One possible explanation would be subscriptions via collections that the map is in rather than directly from the map's workshop page.
Dmitriy 15 20 May, 2013 @ 6:50am 
I looked at CS:GO's workshop this weekend.
- Workshop maps are located in the separate folders, e.g. ...\csgo\maps\workshop\122521875\ where the number is the workshop id of the map.
- When server runs a workshop map, in the server list in the "Map" column you can see this: 123518981\de_favela.bsp
- If user is not subscribed to the workshop map and tries to join the server running a workshop map the game downloads this map directly from workshop and not from a FastDL server. The user does not get subscribed to the map
- I don't know what happens if user has an old version of the map and tries to join the server which has a newer version running. But I assume that the game compares the checksum of the user's map and the one in the workshop and if they differ the map gets downloaded from workshop.
- If server is running a custom map that is not in workshop then user downloads it from FastDL server.
To update a map you need to recompile it and pack materials and upload to workshop. I assume this because I didn't publish anything in cs:go

Now to update a map for Nuclear Dawn we have to rename the map, rename all the materials, scripts etc files required to be in map(this is done for all those players who are not subscribed to the map in workshop and will get a conflict if the name of the map is not changed). Compile, pack materials and upload to workshop. Then, if map is installed on some servers we need to contact every admin and ask to update maplist.txt, mapcycle.txt to have the new name of the map, put the new version of the map to their FastDL servers.
:(
Last edited by Dmitriy; 20 May, 2013 @ 6:51am
Riddick_X1 24 May, 2013 @ 12:14pm 
cool, many thanks.
< >
Showing 1-11 of 11 comments
Per page: 1530 50