A server for opensubs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mossy 4b97ffab21 Made outpost shield generation proportional to shield maximum 1 day ago
Scenes Moved tick timer to client 1 month ago
Scripts Fixed issue with game setup variables 3 weeks ago
.gitignore Create gitignore, update readme 3 months ago
LICENSE Added license 4 months ago
Network.gd Made outpost shield generation proportional to shield maximum 1 day ago
README.md Updated README 2 months ago
default_env.tres Initial commit 4 months ago
project.godot Revert splash color to default 2 weeks ago


Opensubs (name subject to change)

Discord Server


Note that the project is still in early development. It is not yet recommended that you attempt to create a dedicated server for it. If you wish to play, you should can host the client and server on your personal computer whilst you are playing. Bugs are to be expected, please check the Taskade board to see if they have been noted


This project is an attempt to remake the gameplay experience of the mobile strategy game Subterfuge in the Godot game engine. This project consists of two parts, the client (this repository) and the server. This project is community-run and is not associated with the developers of the original game


If you wish to contribute, please do your best to stick to the style of code the project uses. This mainly consists of:

  • Having statically typed variables
  • Defining the return type of functions
  • Functions should be named in underscore_separated_lower_case
  • Function parameters should be named in conjoinedlowercase
  • Everything else should be written in UpperCamelCase

The project has a Taskade board for organizing work that needs to be done

To start contributing:

  1. Download and install the standard edition of Godot for your operating system from the Godot website.
  2. Fork the repository.
  3. Create an SSH key and add it to your Codeberg account to be able to clone the repository. See the instructions here.
  4. Start Godot and import the project(s) once you have cloned them.

Server operation

Run the server by running the server executable (this varies depending on your OS).

The server accepts the following command line options:

Option Name Description Default
--config The path to the configuration file for the server. ./ServerConfig.cfg

Important Note: Command line options MUST be passed with an = as follows: --key=value. You cannot pass them as --key value.

Config File

The server will attempt to load configurations from a config file. It contains some connection and performance options you may want to change. Make sure that you set the port number to one that is open on your network. The config file is an INI file format and accepts the following values for configuration:

Option Name Description Default
Connection.Port The port that the server will be hosted on. 25565
Connection.MaxConnectedClients The maximum number of clients that can connect to the server at once. 100
GameSetup.MaxPlayers The maximum number of players that a client can request in their game lobby. 10
GameSetup.TickLengths An array of values indicating the number of seconds per tick that a user may select when they create a lobby. [1, 10, 60, 600]

If the config file is not present when the server starts, a file will be created at the default location with the default values.