Room Tuning

From Superboss Games Wiki
Revision as of 11:02, 29 August 2023 by Foxman84 (talk | contribs) (→‎Default Tuning Settings)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Tuning in Intruder refers to a server or Custom Map that uses a JSON script to change the rules of the game. Tuning scripts can modify various gameplay elements, including movement speed, health, clip size, gravity, and more. These Scripts can be pasted into the "Tuning" box in the Create Room page, or placed into a TuningProxy element while creating a map. Entering the Tuning into a TuningProxy will automatically apply the settings each time the map is used. If a server applies Tuning settings on a map with settings already applied, the server options take priority.

Formatting

The formatting for the Tuning JSON file is broken down into multiple sections, each relating to a separate section of gameplay:

1. Match
2. Guard
  1. Weapon
  2. Motor
    1. Jumping
    2. Speed
    3. Sliding
  3. Health/Balance/Energy
  4. Movement
  5. View
3. Intruder
  1. Weapon
  2. Motor
    1. Jumping
    2. Speed
    3. Sliding
  3. Health/Balance/Energy
  4. Movement
  5. View
4. Global

In each of these sections, multiple values can be changed to alter how they operate in-game. If a given value is not different from the default settings, then it does not need to be included in the Tuning JSON. For instance, if we just wanted to allow same-team arresting, then the Tuning settings would look like this:

{
  "MatchMode": {
    "canArrestTeammates": true
  },
}

Default Tuning Settings

In the table below, every setting available is listed at its default value. To change weapon variables, rename the "weapon" tag to the desired item and input numbers or 'true'/'false' into the float or bool labels respectively. NOTE: The table below (with the 'weapon' sections removed) will not alter any in-game settings. It is simply a list of all possible variables for reference.

Tuning Generators

To avoid having to manually type each Tuning variable, a Tuning Generator is available that allows you to easily edit each setting and compile a Tuning JSON automatically.

Using a Tuning Generator

  • Navigate to: https://dukeofsussex.dev/projects/itg/
    • If you are editing an existing JSON, click 'IMPORT' at the top of the page and upload the JSON file or paste it manually into the dialog box.
  • Edit the Tuning settings as desired.
  • After finishing editing the values, click 'EXPORT' at the top and either copy or download the compiled script.