raven-shield-2020/CUSTOM.md

3.0 KiB

Custom Content in Rainbow Six 3: Raven Shield

Installing Custom Content

Maps

Custom maps will often come as a .exe file which extracts its contents when you run it. You can point these at your game directory to have it put files in the right places. If you have security concerns about running such a program, you can alternatively run the program inside a Windows XP VM and then take out the resulting files.

If the map is already extracted, it will generally have a series of folders to be copied into your game directory: maps for the map itself, system for the map config, staticmeshes and textures for some maps, etc. Copy the contents of these folders into their corresponding game folders to install the content.

When playing on servers which allow you to download custom content, these files will be placed in the <YourGameDir>\Cache directory. See Cache.ini to identify which file is which.

Sounds

The quickest way to get all the sound files you need for AllR6 servers is the AllR6 Sound Pack, which includes Athena Sword and Iron Wrath sounds.

Clearing the Content Cache

If you want to clear the cache of custom content you've downloaded, open <YourGameDir>\Cache and delete its contents. The .ini file will be automatically recreated by the game.

Hosting Custom Content

There are two things to consider when running servers which host custom content:

1. You'll need additional disk space for the content

A basic Linux Droplet will give you 25GB of storage, which may not be enough to host your custom content. If that's the case, you'll need to upgrade to a larger Droplet type.

2. Players will need to download the content

You may find in testing that download speeds for custom content are much slower than expected. When using a VPS to host game servers, one can expect download speeds of roughly 20KB/s. A basic web host or file server can generally transfer at speeds up to 100Mb/s in short bursts. In order to offload this activity to a faster server/network, we can use Raven Shield's built-in download redirection:

  1. Configure an HTTP server (such as Nginx, or a paid web hosting service) which can serve files.
  2. Place custom content on the file server in the same directory structure as the game: maps in /maps/, textures in /textures/, etc.
  3. On your game server, edit RavenShield.ini and look for the RedirectToURL option. Set this to the URL of your file server, e.g. http://www.myserver.net/.
  4. Restart your game server to pick up the new config.

When users connect to your game server, they will be instructed to download all custom content from the file server, resulting in significantly faster downloads. If the client fails to retrieve the file from the file server for any reason, it will fall back to downloading the file from the game server, resulting in slow speeds. If this happens, the player can cancel and rejoin the server to restart the download from the file server.