TankTrouble Booster

Boost performance for TankTrouble game by lowering in game quality and its values.

当前为 2025-01-01 提交的版本,查看 最新版本

// ==UserScript==
// @name TankTrouble Booster
// @namespace http://tampermonkey.net/
// @version      2025.1.1
// @license      GPL-3.0
// @description Boost performance for TankTrouble game by lowering in game quality and its values.
// @author kamarov
// @match https://tanktrouble.com/*
// @grant none
// ==/UserScript==

QualityManager.QUALITY_VALUES.auto = {
    "tank explosion smoke count": 5,
    "tank explosion fragment count": 5,
    "missile launch smoke count": 10,
    "missile smoke frequency": 20,
    "mine explosion smoke count": 4,
    "crate land dust count": 10,
    "aimer min segment length": 1,
    "aimer off max segment length": 1,
    "aimer on max segment length": 0.4,
    "bullet puff count": 10,
    "shield inverse bolt probability": 0.65,
    "shield spark particles per emit": 4,
    "spawn zone inverse unstable particle probability": 1,
    "spawn zone num collapse particles": 15
};

QualityManager.QUALITY_VALUES.high = {
    "tank explosion smoke count": 3,
    "tank explosion fragment count": 3,
    "missile launch smoke count": 5,
    "missile smoke frequency": 10,
    "mine explosion smoke count": 2,
    "crate land dust count": 5,
    "aimer min segment length": 0,
    "aimer off max segment length": 0.5,
    "aimer on max segment length": 0.2,
    "bullet puff count": 5,
    "shield inverse bolt probability": 0.45,
    "shield spark particles per emit": 2,
    "spawn zone inverse unstable particle probability": 0.5,
    "spawn zone num collapse particles": 10
};

QualityManager.QUALITY_VALUES.low = {
    "tank explosion smoke count": 1,
    "tank explosion fragment count": 1,
    "missile launch smoke count": 2,
    "missile smoke frequency": 5,
    "mine explosion smoke count": 1,
    "crate land dust count": 2,
    "aimer min segment length": 0,
    "aimer off max segment length": 0.2,
    "aimer on max segment length": 0.1,
    "bullet puff count": 2,
    "shield inverse bolt probability": 0.15,
    "shield spark particles per emit": 1,
    "spawn zone inverse unstable particle probability": 0.2,
    "spawn zone num collapse particles": 5
};


UIConstants.MAX_CAMERA_SHAKE = 0;