Skip to content
On this page3 sections

Settings live in config.json in the plugin folder. Apply changes with HitMarkers.Reload.

Global settings

SettingDefaultWhat it does
EnabledtrueMaster switch. false leaves every marker as the game draws it.
Scale, ScaleX, ScaleY1.0Size of every marker, on top of each kind's own size. ScaleX and ScaleY set width and height separately.
DrawDurationSeconds0Time on screen, in seconds, for every kind of hit that sets 0. 0 here keeps the game's half a second.
DebugLoggingfalseLogs a line for every marker. Very busy; use it only for testing.

Each kind of hit

Hostile, HostilePlayer, Friendly, Kill, Knockout, Headshot, Armour, ShieldBlock and Corrupted each take the same settings:

SettingWhat it does
EnabledWhether this kind of hit gets its own marker. See the overview for what happens when it is off.
ColourA hex code, "#RRGGBB" or "#RRGGBBAA", or { "R": 0-255, "G": 0-255, "B": 0-255, "A": 0-255 }. These are ordinary screen colours, the numbers any colour picker shows; A is opacity.
Scale, ScaleX, ScaleYSize for this kind of hit. 1.0 is the game's size; allowed from 0.1 to 5.
DrawDurationSecondsTime on screen in seconds, from 0.05 to 5. 0 uses the global setting.

Knockout also takes CreditSeconds (default 10, up to 60): how long after a player's last hit a tranq knockout still gives them the marker. 0 limits knockout markers to the hit itself.

A value of the wrong kind is an error that names the setting, and the previous settings stay in force.

The shipped preset

KindColourSize
HostileRedNormal
HeadshotDark blue15% larger
KillBlack25% larger
KnockoutViolet30% larger
ShieldBlockTealNormal
ArmourGrey15% smaller
Friendly, HostilePlayer, CorruptedOff: the game's own markers

Example

json
{
    "Enabled": true,
    "Headshot": {
        "Enabled": true,
        "Scale": 1.15,
        "DrawDurationSeconds": 0,
        "Colour": { "R": 0, "G": 30, "B": 170, "A": 255 }
    },
    "Knockout": {
        "Enabled": true,
        "Scale": 1.3,
        "CreditSeconds": 10,
        "Colour": "#B400FF"
    }
}