Toolgun Render Fix replaces the HUD drawing of the tool gun, so that the name and the description of Flux tools are translated by the Flux language system instead of the engine's, and so that the help box is scaled with the screen like the rest of the interface.

Summary

Hooks

Creates scaled copies of the fonts of the tool gun's help box, which the tool gun creates at fixed sizes for a 1080p screen.
Replaces the tool gun's DrawHUD with a version that understands Flux phrases.

Hooks

PLUGIN:CreateFonts()

client plugins/cl_toolgun_fix.lua:18

Implements hook CreateFonts

Creates scaled copies of the fonts of the tool gun's help box, which the tool gun creates at fixed sizes for a 1080p screen.

PLUGIN:FLInitPostEntity()

client plugins/cl_toolgun_fix.lua:27

Implements hook FLInitPostEntity

Replaces the tool gun's DrawHUD with a version that understands Flux phrases.

Defined in