Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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!