HitMarkers
Configuration
Colours, sizes and time on screen for each kind of hit.
On this page3 sections
Settings live in config.json in the plugin folder. Apply changes with HitMarkers.Reload.
Global settings
| Setting | Default | What it does |
|---|---|---|
Enabled | true | Master switch. false leaves every marker as the game draws it. |
Scale, ScaleX, ScaleY | 1.0 | Size of every marker, on top of each kind's own size. ScaleX and ScaleY set width and height separately. |
DrawDurationSeconds | 0 | Time on screen, in seconds, for every kind of hit that sets 0. 0 here keeps the game's half a second. |
DebugLogging | false | Logs 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:
| Setting | What it does |
|---|---|
Enabled | Whether this kind of hit gets its own marker. See the overview for what happens when it is off. |
Colour | A 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, ScaleY | Size for this kind of hit. 1.0 is the game's size; allowed from 0.1 to 5. |
DrawDurationSeconds | Time 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
| Kind | Colour | Size |
|---|---|---|
Hostile | Red | Normal |
Headshot | Dark blue | 15% larger |
Kill | Black | 25% larger |
Knockout | Violet | 30% larger |
ShieldBlock | Teal | Normal |
Armour | Grey | 15% smaller |
Friendly, HostilePlayer, Corrupted | Off: 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"
}
}