CustomDeathMessage.txt
Themed per-monster taunts shown to the victim in chat when that monster kills a player
Last updated
Themed per-monster taunts shown to the victim in chat when that monster kills a player
Maps a monster class (monster type id) to a custom taunt delivered to the killed player in chat. Overrides the vanilla death message for that monster class. Gated by Custom.dat CustomDeathMessageSwitch.
Data/Custom/CustomDeathMessage.txtLoaded once at GameServer startup. Changes require a restart.
Plain text, whitespace-delimited. The first comment line names the columns; each following row is <index> "<text>". The file is terminated by the literal end on its own line or by end-of-file.
//index text
1 "Hihihih I'm Very Strong Monster"
2 "Hihihih I'm Very Strong Monster"
...
endtext
quoted string
Taunt sent to the player's chat when a monster of this class kills them. Stored in a 128-byte buffer (127 usable chars plus null terminator)
Enabled by Custom.dat CustomDeathMessageSwitch = 1. Setting it to 0 disables the feature entirely; no replacement message is sent
Only triggers when a monster kills a player. Player-on-player kills are unaffected
The taunt is delivered to the killed player only, shown as chat originating from the killing monster. It is NOT broadcast to nearby players
Monster classes not listed here produce no custom taunt; there is no fallback vanilla death-line system - the field is simply silent
Duplicate indices: the last occurrence wins silently
Rows beyond the 127-char text limit are truncated when loaded; the chat send path truncates further at 255 bytes
index
Must match a monster class id in Monster.txt
Master toggle
Custom.dat CustomDeathMessageSwitch
Messages not appearing - CustomDeathMessageSwitch = 0 in Custom.dat, or the killing monster's class is not listed here
Wrong monster says the wrong line - index mismatch with the monster class table; verify the shipped monster list
Text cut off mid-sentence - message exceeded the 127-char text buffer or the 255-byte chat send cap; shorten it
Special characters mangled - file encoding is ANSI; multibyte characters may garble. Use plain ASCII where possible
Last updated
//index text
34 "Are You crazy !! You attack me"
131 "You cannot defeat me!"
200 "Bow before Kundun."
426 "Ashes to ashes."
end