-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration of Multi Race Driving
The following explains in more detail how players can manage both the architecture and the multiplayer mode configuration. This configuration is completely independent from the management of other configurable aspects such as the GUI menus or the scenarios.
In the settings, players can make changes related to the SFX and music band volumes, they can adjust the graphics quality and screen resolution, and even modify the controls. The XML configuration file where all this information resides is located, like the previous file, in the Settings directory, present in the main Data file folder. This file, called Configuration.xml, has the structure described below.
First, the version of XML and the character encoding of the file are specified. Next, you will find the main node of the document, called Settings. The child nodes of this are those that condition each of the configurable aspects of Multi Race Driving. This nodes are the following:
- Difficulty: to manage the difficulty level. The content of this node has a range of values Easy, Normal and Hard, to represent the three possible modes of difficulty.
- Volume_Soundtracks: used to control the audio level with which the music bands should be played. If the value is 0, nothing is heard and if it is 100, it is the maximum volume.
- Volume_SounEffects: serves to control the audio level at which the SFX should be played. If the value is 0, nothing is heard and if it is 100, it is the maximum volume.
- PixelArt: controls if the graphics should be drawn with pixel art effect or not. You can take as values Enabled or Disabled, pixel art on and off, respectively.
- Full_screen node: checks if the game should be played in full screen mode or not. Like the previous node it can take as values Enabled or Disabled.
- Resolution_x: marks the width that the screen should have.
- Resolution_y: specifies the height that the screen should have.
- Controller_left: contains the identifier of the key that must be pressed to move the player's vehicle to the left when the game is in progress.
- Controller_right: represents the identifier of the key that must be pressed to move the player's vehicle to the right when in play.
- Controller_accelerate: this reflects the identifier of the key that must be pressed to accelerate the player's vehicle when in play.
- Controller_braking: this indicates the identifier of the key that must be pressed to brake when playing.
- Controller_soundtrack: shows the identifier of the key that must be pressed to change from one music track to another.
To configure the multiplayer mode, first of all you have download the last release of , please read the documentation in order to know how it works and how it must be invoked in the following link:
https://github.com/aeri/Boreas
When you have learned it, there is an XML file has been created where the different players can adjust the server parameters. This file is located in the Settings folder and has the following syntax First, you specify the XML version and character encoding of the file. Then there is the main node of the document, called Settings. The child nodes are those that condition the configuration, and are the following:
- Domain: allows you to specify the domain or IP address of the server where the player has Boreas hosted in order to connect from its client.
- Port allows to define the port of the server where the player has hosted Boreas in order to establish communication from its client.
Through this configuration, the players can adjust the multiplayer mode to their liking. This way, any player can have his server operative (local or in cloud) and configure it without having to compile the code.