Garry's Mod

Garry's Mod

784 个评价
HUD Designer
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐
标签: misc, reskin
文件大小
发表于
更新日期
78.378 KB
2014 年 12 月 5 日 下午 4:35
2014 年 12 月 10 日 下午 4:41
5 项改动说明 ( 查看 )

订阅以下载
HUD Designer

描述
Simplifying the creation of HUDs

Info:
What is this? Its a interface that makes creating the code for HUDs a lot easier by allowing you to design them on your screen! It removes the aspect of needing to entirely understand Lua and spend a lot of time trying code again and again to get a result that looks right, because of this ease I request that you do not sell any code made with this script. This script is not entirely complete and I will continue to add more shapes and features to it as time goes on but at the moment it is in working order. It also comes with an autosaving system which saves your project every 60 seconds, you can find those backups in the garrysmod/data/hud_designer/autosaves folder. Change the file name 'autosave_' to 'save_' and move the file out of the autosaves folder in order to be able to load it.

Commands:
- hd_open - Console command to open the designer panel
- hd_reset - Console command to reset the designer like you just loaded a new game, useful in case it breaks
- !hud - Chat command to open the designer panel

Coming soon:
- More shapes
- In-game testing
- Font creator
- Copy tool
- TTT's HUD recreated in the editor

FAQ:
- What do I do with the code it exports? - You put it in a HUD function. So for TTT you would go to "garrysmod/gamemodes/terrortown/gamemode/cl_hud.lua" and look for the "Info Paint" function, that function has TTT's HUD code for living players.
- IT DOESN'T WORK?!?! - Explain your problem IN DETAIL otherwise I will just ignore you
- What is Lua? - This script won't have any real use if you do not know how to code, it simply makes HUD creation easier for those who do know.
- My image is a checkerboard - Make sure your image is in the garrysmod/materials directory (its best to use a folder addon though) and that your image path in the box is correct (the path after /materials/)

Resources:
- Installation: Save in a text document that MUST start with "save_" and put them in your garrysmod/data/hud_designer folder. ex: "save_myhud.txt"
- The Tutorial Video HUD - http://pastebin.com/2qTSwqS2
- FTP site where you can view paths to Half Life 2 textures[www.filewatcher.com]
- Github - https://github.com/Exho1/HUD_Designer/
- Facepunch - http://facepunch.com/showthread.php?t=1440501&p=46659745

I would be glad to help people who have problems but I dont have the time or patience to teach Lua to every single person on the Workshop, sorry.
热门讨论 查看全部(15)
37
2021 年 6 月 28 日 上午 8:30
置顶: Getting your HUD in game
Exho
22
3 月 20 日 下午 2:51
Ideas and suggestions?
Creator of Tweak Sauce Izzybee
11
2022 年 1 月 19 日 下午 5:19
4231
char$
307 条留言
LλMBDA Huge SCP / Gmod Fan 3 月 20 日 下午 3:53 
WE WANT IN GAME TESTING NOW
xFilos 2023 年 10 月 27 日 下午 4:38 
Wie kann ich das dann in ein Addon einfügen? Ich hoffe du verstehst was ich meine. Also den Code ins Addon
Leanne64 2023 年 1 月 2 日 上午 11:58 
the text is never the color i want it to be
Jaden The Gundragon 2022 年 11 月 22 日 上午 11:13 
i cant use a single thing on this piece of shit
Jaden The Gundragon 2022 年 11 月 22 日 上午 11:09 
i cant use any fonts i have in my computer, what the hell?
fun guy 2022 年 3 月 8 日 下午 7:52 
Text tutorial gives error 1020
Bruhsus 2021 年 12 月 24 日 上午 1:38 
anyone know how to add a custom image to my hud?
gertie friendmont 2021 年 11 月 21 日 上午 8:27 
Does anybody have a list of all available fonts?
katbot 2021 年 9 月 10 日 上午 11:27 
this is nice:steamthis:
gimme 2021 年 8 月 26 日 上午 10:55 
bruh we need something like this but it simply just saves the HUD so that we can use it on every server without redoing it