Garry's Mod

Garry's Mod

Roblox Doors: Экран Смерти
Badmaximus8 2022 年 9 月 6 日 下午 2:15
I need to know how to make custom messages
Please
< >
正在显示第 1 - 5 条,共 5 条留言
Four 2022 年 9 月 6 日 下午 7:53 
idk
Skelly 2022 年 10 月 12 日 下午 12:13 
引用自 putik
idk
Dude i dont knoz too
dabbogt 2024 年 1 月 21 日 下午 2:11 
1st step, make sure to uninstall the workshop version of the Doors Death Screen

2nd step, download the github version, so you can edit it.

3rd step, when you have the zip, extract it and put the contents it in garrysmod/lua

4th step, find the doors_death_config and then you will find texts for already existing death messages,

5th step, make a new custom message for a npc.
you can use this example right here:

elseif attacker:GetClass() == "insert npc code name here" then

phrases = {

{ time = 15, text = "CLOSE_DEATH_SCREEN" },
{ time = 10, text= "Text 3" },
{ time = 5, text = "Text 2" },
{ time = 0, text = "Text 1" }

}



How do you get a npc code name? So go into gmod, then right click on a npc and click copy to clipboard. Now paste it in and you will have the codename.

You can add more text. Just make sure you do it like this {time = 20, text = "Text 4"},

If you want to make the line go to a different line, put /n in.

Then save the file and go in gmod and test that out!
Badmaximus8 2024 年 1 月 21 日 下午 6:26 
引用自 ryinryout
1st step, make sure to uninstall the workshop version of the Doors Death Screen

2nd step, download the github version, so you can edit it.

3rd step, when you have the zip, extract it and put the contents it in garrysmod/lua

4th step, find the doors_death_config and then you will find texts for already existing death messages,

5th step, make a new custom message for a npc.
you can use this example right here:

elseif attacker:GetClass() == "insert npc code name here" then

phrases = {

{ time = 15, text = "CLOSE_DEATH_SCREEN" },
{ time = 10, text= "Text 3" },
{ time = 5, text = "Text 2" },
{ time = 0, text = "Text 1" }

}



How do you get a npc code name? So go into gmod, then right click on a npc and click copy to clipboard. Now paste it in and you will have the codename.

You can add more text. Just make sure you do it like this {time = 20, text = "Text 4"},

If you want to make the line go to a different line, put /n in.

Then save the file and go in gmod and test that out!
It took me 2 years but now someone gave me an answer. Thank you.
Haladie 2024 年 10 月 10 日 下午 3:51 
THANK YOU THANK YOU THANK YOU:steamsad::steamhappy:
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50