Garry's Mod

Garry's Mod

评价数不足
Custom Hud Text Creator
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 角色扮演, 风景
文件大小
发表于
7.112 KB
8 月 24 日 上午 12:43
1 项改动说明 ( 查看 )

订阅以下载
Custom Hud Text Creator

描述
Display custom text on your HUD with configurable color, position, and font. Includes an admin-only GUI for live configuration.
Features

Show custom text on the HUD
Choose from preset colors and positions
Select from built-in Garry's Mod fonts
Admin-only in-game GUI for live config
Config file for manual setup

We provide support at https://discord.gg/gzXAbVSU2c

Installation

Download or clone this repository.
Place the custom_text_addon folder into your garrysmod/addons/ directory.
(Optional) Edit lua/autorun/custom_text_config.lua to set default text, color, position, and font.

Configuration

You can configure the addon in two ways:
1. Config File

Edit lua/autorun/custom_text_config.lua:

CustomTextConfig = {
text = "Hello from Jimputin!", -- The text to display
color = "red", -- Preset color: red, blue, green, white, black
position = "bottom_middle", -- bottom_middle, right_middle, left_middle, upper_middle
font = "DermaLarge" -- DermaLarge, Default, Trebuchet24, TargetID, ChatFont, etc.
}

2. Admin GUI (in-game)

Admins can open the GUI with the console command:

customtext_admin_gui

Only admins can use this menu.
Change the text, color, position, and font live.
Changes are synced to all players.

Fonts

Common built-in fonts:

DermaLarge
Default
Trebuchet24
TargetID
ChatFont
DefaultBold
TabLarge
HudHintTextLarge
HudHintTextSmall

Credits

Addon by Jimputin & ElysianNodes.uk