Author Topic: Messages.tbl  (Read 970 times)

0 Members and 1 Guest are viewing this topic.

Offline CommanderDJ

  • Software engineer
  • 210
    • Minecraft
Hey guys,
I'm getting some weirdness happening with messages.tbl. Taking inspiration from other mods, I decided to create a few custom personas and made my own messages.tbl for use with my mod. Following the format for built-in messages that I see in messages.tbl, an example of a message that's in there is $Message: XSTR("Look behind you, sir!", -1). (obviously I've got the $Name, +Persona and +avi name stuff in there as well). However, when I test them in game, I find that the messages displayed are displayed in exactly that format, as in, something like
Alpha 2: XSTR("Look behind you, sir!", -1)
shows up when Alpha 2 sends me that message.
So I tried removing everything except the actual message text, so messages.tbl reads $Message: Look behind you, sir!
When I test that, everything shows up fine except for apostrophes, for some reason. They just show up as spaces.
Which is the correct format? Or am I doing something else wrong?

Thanks,
CommanderDJ

EDIT: I just realized I posted this in the FRED board. Could a mod move this to the modding board? Thanks.
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it

 

Offline ReeNoiP

  • 27
  • I FRED
Not sure if this is it, but wiki recommends using $MessageNew: instead of $Message: .
Uncharted Territory is released. But I still need voice actors

  

Offline CommanderDJ

  • Software engineer
  • 210
    • Minecraft
I'll try it, but even mods like Blue Planet don't use MessageNew. I'll go test it out now anyway.
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it