MCPcopy Index your code
hub / github.com/Pruszko/DispersionReticle

github.com/Pruszko/DispersionReticle @v3.1.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.1.6 ↗ · + Follow
479 symbols 1,471 edges 56 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DispersionReticle

Updated and completely reworked mod that adds additional circle displaying fully focused dispersion of a gun.

Original idea by StranikS_Scan, completely reworked by me.

Also, over time, this mod now contains following mutually compatible mods: - Focused reticle - Server reticle - Hybrid reticle (smooth combination of client and server reticle) - Reticle Size (adjustment in config file)

Basic reticles Extended reticles

Features

All of those features can be enabled/adjusted independently.

They are also compatible with "Use server aim" from in-game option.

Focused reticle (enabled by default): - adds green reticle displaying fully focused dispersion alongside others reticles

Server reticle - adds purple server-side reticle alongside with client-side reticle

Hybrid reticle: - adds green reticle displaying current server-side dispersion to client-side reticle - useful if you want to know server-side dispersion, but still want client-side responsiveness

Extended variants of above reticles - have much more customization options - visually inspired by AwfulTanker's Server Marker

Reticle size - controlled by "reticle-size-multiplier" option - WG's displayed reticle dispersion is noticeably bigger than actual gun dispersion - it was discovered by Jak_Attackka, StranikS_Scan and others - by this setting you can scale it to actual dispersion - good known values: - 1.0 (default "wrong" WG dispersion) - 0.5814 (factor determined by me) - 0.5848 (factor determined by Jak_Attackka, StranikS_Scan and others)

Extended reticle shapes

Feedback

You can: - PM me on discord: fierioziy (nick: Pruszko [EU] on WoT official discord) - in game on EU server: Pruszko - or GitHub issues here.

Configuration

All features from config file are reloadable on-the-fly using CTRL + P hotkey in the game anywhere.

This mod also supports Mod Configurator by IzeBerg allowing for configuring this mod using its GUI in garage.

Resource

Websites where mod is uploaded directly by me: - GitHub Releases Page (direct and fastest) - WGMods (WG approved) - CurseForge (curseforge approved)

Installation

  1. Copy "DispersionReticle.wotmod" file (and optionally other *.wotmod files) extracted from zip into "[WoT game directory]/mods/[version]/" directory
  2. Run a game with mod installed to generate default config file
  3. Adjust config to your liking
  4. Reload it in-game whenever you want by using CTRL + P hotkey
  5. (with Mod Configurator) Open button with "<>" icon in garage and find DispersionReticle section to configure mod

Full config file location: "[WoT game directory]/mods/configs/DispersionReticle/config.json"

Use some text editor (preferably Notepad++) to edit config file.

Contributions

Thanks to: * IzeBerg - for cool GUI configuration API * POLIROID - for ModsListAPI and GamefaceAPI * shuxue - for Russian translations * yinx2002 - for Chinese translations * Kurzdor - for occasional help

Compatibility

This mod IS NOT compatible with other mods with similar features as mine.

Current known incompatible mods: - AwfulTanker's Server Marker (and other similar) - Jak_Atackka's Better Reticle Size (and other similar)

Use preferred options from above features for similar functionality instead.

However, it should be compatible with any crosshair mods that changes how crosshair or reticle looks like.

Core symbols most depended-on inside this repo

renderParam
called by 45
src/dispersionreticle/settings/config_param_types.py
isClientWG
called by 42
src/dispersionreticle/utils/__init__.py
areBothFlagsEnabled
called by 18
src/dispersionreticle/hooks/gun_marker_factory_hooks.py
_createExtendedArcadeMarker
called by 18
src/dispersionreticle/hooks/gun_marker_factory_hooks.py
createSPGMarkers
called by 17
src/dispersionreticle/utils/reticle_types/vanilla_reticle.py
createAssaultSPGMarkers
called by 17
src/dispersionreticle/utils/reticle_types/vanilla_reticle.py
createTooltip
called by 13
src/dispersionreticle/settings/config_param_types.py
_shouldUpdateController
called by 12
src/dispersionreticle/controllers/wg_gun_marker_decorator.py

Shape

Method 299
Function 116
Class 59
Route 5

Languages

Python100%

Modules by API surface

src/dispersionreticle/settings/config_param_types.py63 symbols
src/dispersionreticle/flash/dispersion_reticle_flash.py30 symbols
src/dispersionreticle/utils/reticle_types/__init__.py24 symbols
src/dispersionreticle/utils/debug_state.py23 symbols
src/dispersionreticle/controllers/wg_gun_marker_decorator.py23 symbols
src/dispersionreticle/controllers/lesta_gun_marker_decorator.py23 symbols
src/dispersionreticle/utils/__init__.py20 symbols
src/dispersionreticle/hooks/gun_marker_factory_hooks.py19 symbols
src/dispersionreticle/hooks/aih_hooks.py19 symbols
src/dispersionreticle/utils/reticle_types/vanilla_reticle.py17 symbols
src/dispersionreticle/controllers/overridden/overridden_spg_controller.py17 symbols
src/dispersionreticle/support/mods_settings_api_support.py16 symbols

For agents

$ claude mcp add DispersionReticle \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page