Suporte > Base de Conhecimento > Ascend Servers > Game Servers > Specific Game Servers > Chivalry > How to add mods for Chivalry

How to add mods for Chivalry

Reinstall Server Image
 

This guide will show you How to add mods for Chivalry server.


Distributing and running maps/mods without the workshop (for testing):

Without the Workshop, you need to distribute the cooked files from UDKGame\CookedSDK\ to whoever you want to test your content, as well as to the server. 
Find the correct directory within here (they start with the mod name, end with a long string of numbers and letters), zip it up, and distribute that.

If your content exists on the Workshop already, but you want to test a new version, 
have everyone who is testing delete the corresponding .cmwsdk file from UDKGame\CookedSDK\__CMWSDKFiles\ ; 
otherwise, this will override the cooked content directory you distributed!

Hosting off-Workshop content

You need to use the client files to host off-Workshop content; that is, the files you get when you download the game itself through Steam. 
These work just like the dedicated server files, but are larger, and you need to specify 'server' in the command line.

Our previous command becomes
UDK.exe server AOCTO-Shore_alpha_p?steamsockets?modname=BlackKnight -sdkfileid=230012942 -sdkfileid=232823090 -sdkfileid=229405113 

Other methods for getting the Workshop items onto a server

You can also get the .cmwsdk files outside of the game and upload them to the server manually, rather than having the server do this. 
There is no benefit to doing it this way; this used to be the only thing we supported, but that's no longer the case. It still works, though.

Downloading mod packages outside of the game using WorkshopServerTool.exe

  1. Open the example download list file at ServerDirectory\Binaries\Win32\ServerDownloadList.txt. You'll see a list of URLs which correspond to entries in the Steam workshop. Edit the list so that it contains only things you want to download for your server, then save it there or save it to a new file
  2. Open a command prompt window (Start -> Run -> cmd -> enter)
  3. Head into ServerDirectory\Binaries\Win32
  4. Run:WorkshopServerTool.exe -downloadfiles ServerDownloadList.txt

This will download the .cmwsdk files for every mod whose workshop URL you include in ServerDownloadList.txt. The files get placed in ServerDirectory\UDKGame\CookedSDK\__CMWSDKFiles

Optional command line switches for WorkshopServerTool

-forcedownload – forcibly redownloads every file in the download list. Otherwise, the tool only updates files that have changed

Downloading mod packages using the Launcher

Subscribe to some Workshop items. Start the game through Steam to open the Launcher. 
Wait. Files will be downloaded into ClientDirectory\UDKGame\CookedSDK\__CMWSDKFiles 
you can upload them to ServerDirectory\UDKGame\CookedSDK\__CMWSDKFiles

Save
Esta resposta lhe foi útil?
0 Usuários acharam útil 0 Votos