Garry's Mod

Garry's Mod

30 个评价
Undertale Dialog Box
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
3.119 MB
7 月 2 日 上午 11:55
7 月 17 日 下午 12:44
5 项改动说明 ( 查看 )

订阅以下载
Undertale Dialog Box

在 N 的 1 个合集中
n collection
212 件物品
描述
About
This addon adds a undertale dialog box that you can use with chat commands.

It was a rewrite of this addon here

It has all the sounds aswell

it may or may not have an 2 or 3 easter eggs :v

It now has expressions!!!!!

But how do you add your expressions?


Its very simple, make sure your sprite is 52x43, add them all into 1 folder, make sure there is black around the sprite, and make sure your sprite is white aswell, also make sure its .png, now how to add them


1: download the .zip file (below) (to extract it use either 7-zip, or just the default windows explorer)

2: extract the folder to the gmod addons folder (it should look like this: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod)

3: put your sprites into a folder, call it whatever you want

4: put the folder with your sprites in it, in this path: Undertale Dialog Box\materials\db\

5: now after you did that, launch gmod and type this in the console (db_expression)

6: after you did that, type /db "text goes here" (remove the "")

7: congratulations!, your expression should now show!

8: (oh i forgot, make sure you go into the addon's lua folder, this path here: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\addons\Undertale Dialog Box\lua\autorun)

9: then open this file here (dialog_box.lua)

10: under local Expressions = {} (copy this under it)

AddExpressions(Expressions, "materials/db/foldername here", "characternamehere")

11: after you are done with that, save the file, with ctrl+s, and on number 5 at the top, type that and you are done!


-------------------------------------------------------------------------------------------------------------------------------------------------------


This addon is open source!

Download it here: https://github.com/gabrie155/Undertale-Dialog-Box



-------------------------------------------------------------------------------------------------------------------------------------------------------





This was a rewrite of this addon here

Huge thanks goes to uzi for rewriting this entire addon from scratch, its true to the original game

anywho here is how you use it:



Usage
  • /db "text goes here" (without the "")
  • /db (0.5) "text goes here" - Creates dialog box with set speed and text (default speed 1) (without the brackets, and "")
  • /db[r]text goes here[/r] - Change the text color in the Dialog Box (there is r,y,b,lb,g,p,o,gd) (replace [r] and, [/r] with any of the colors you would like)



ConVars
  • db_admin 0/1 - Toggles admin only mode.
  • db_shake_mode 0 off – no shake at all (default)
  • db_shake_mode 1 both – dialog box and text shake together
  • db_shake_mode 2 box-only – frame shakes, text stays in place
  • db_shake_mode 3 text-only – text jitters, frame is rock-solid
  • db_shake_intensity any number (pixels), e.g. 5 for stronger wobble
  • db_shake_speed any number (cycles/sec), e.g. 50 for rapid jitter
  • db_auto 0/1 - Makes it use the dialog box only instead of the chat (if set to 1)
  • db_expression - Toggles the expression menu (you can select your expression from the vgui)



Sans Undertale

Son you really ducked up hard this time, now you will become a can of pringles, said the increased munchies.
热门讨论 查看全部(1)
0
7 月 3 日 下午 1:34
How to add fonts and sounds
N
11 条留言
Badger Monkey 8 月 9 日 下午 11:36 
Ok thanks!
N  [作者] 8 月 9 日 下午 11:34 
@Badger Monkey:


/db "text goes here" (without the "")
/db (0.5) "text goes here" - Creates dialog box with set speed and text (default speed 1) (without the brackets, and "")
/db[r]text goes here[/r] - Change the text color in the Dialog Box (there is r,y,b,lb,g,p,o,gd) (replace [r] and, [/r] with any of the colors you would like)
Badger Monkey 8 月 3 日 下午 10:19 
How does this work?
Simouss 7 月 28 日 下午 12:43 
WOAAAAAAAAA
N  [作者] 7 月 20 日 下午 9:40 
@CattoPal your welcome!
CattoPal 7 月 20 日 上午 4:04 
awesome, thanks man
Tree 7 月 18 日 下午 6:09 
amazing
N  [作者] 7 月 17 日 上午 10:50 
@CattoPal Its done, use db_auto 1 or 0 (0 makes it use the normal gmod chat with /db
N  [作者] 7 月 17 日 上午 10:31 
@CattoPal you got it, i will add it right now
CattoPal 7 月 15 日 上午 6:54 
love the addon, just one thing tho.. can you add a command to toggle using the undertale text box automatically without having to type /db?