107 hooks + 3 patches - that's the hood constructor.
This plugin allows you to completely rebuild the default hood elements and add your own. The result of the work can be saved in a .hud file, which will look the same for all users, regardless of the screen resolution.
What can be done with the plugin:
Change the position, size and color of all standard elements
Replace all radar icons and strokes with your textures
Make radar square
Fix radar zoom and icon size
Change text styles
Draw percentages in all bars (hp, armor, oxygen)
Disable strokes for bars
Replace sight textures and colors
Add your own inscriptions of arbitrary styles and sizes
Add your own pictures that can be rotated and cropped
Add your own bars like HP
Replace fonts
Write lua scripts
Replace fist and all other weapon icons
Menu call: cheat code HUD
SL2 is a translation of the game, which I supply with the hood, because in the built-in hoods, font replacements were based on it
ocornut - ImGui
BalazsJako is a code editor that is used to write lua scripts for hoods
AirGuanZ - file selection menu
nlohmann is a library for working with json
ThePhD - sol2 for convenient work with lua
nih-at - libzip for working with archives
@shinoa is a tester and developer of built-in huds.
107 хуков + 3 патча — вот и вышел конструктор худов.
Данный плагин позволяет полностью перестраивать дефолтные элементы худа и добавлять свои. Результат работы можно сохранить в .hud файл, который будет выглядеть у всех пользователей одинаково, вне зависимости от разрешения экрана.
Что можно делать с плагином:
Менять позицию, размеры и цвета всех стандартных элементов
Заменять все иконки и обводку радара Вашими текстурами
Делать радар квадратным
Фиксировать зум радара и размер иконок
Изменять стили текстов
Рисовать проценты во всех барах (хп, броня, кислород)
Отключать обводку у баров
Заменять текстуры прицелов и их цвета
Добавлять свои надписи произвольных стилей и размеров
Добавлять свои картинки, которые можно вращать и обрезать
Добавлять свои бары, как у ХП
Заменять шрифты
Писать lua-скрипты
Заменять фист и все другие иконки оружия
Вызов меню: чит-код HUD
Кредитсы (спасибки):
SL2 — перевод игры, который я поставляю вместе с худом, ибо во встроенных худах заменки шрифтов были на его основе
ocornut — ImGui
BalazsJako — редактор кода, который используется для написания lua-скриптов к худам
AirGuanZ — меню выбора файлов
nlohmann — библиотека для работы с json
ThePhD — sol2 для удобной работы с lua
nih-at — libzip для работы с архивами
@shinoa — тестер и разраб встроенных худов.