fwatt.dev

Damage tracker

Console output logs for recent damage'
Collection of logs ingested from Loki into Grafana
View of rich metadata for single Loki/Grafana damage log

Began as a test project to see if it was possible to apply extra damage to a damage event. The main reason for this was to override headshot damage in FiveM a modification for Grand Theft Auto 5 (GTA5).

Headshot damage in GTA5 by default is considered a critical hit as in if you were to get shot in the head in the game your character would instantly die. This becomes a problem in roleplay servers where longer gunfights are welcomed so headshot damage is usually disabled using SetPedSuffersCriticalHits a native function call.

The problem with SetPedSuffersCriticalHits native is that it simply swaps out headshot damage for torso damage meaning that there is no difference between shooting the head or torso which doesn’t make sense. This project allows providing configurable extra damage to areas of the body, mainly the head giving meaning to headshots while retaining sustain gunfights from a roleplay perspective.

Features

Tech