Results 1 to 3 of 3

Thread: Adom Sage Question

  1. #1

    Default Adom Sage Question

    Hello everyone, So recently someone suggested to me that I should start playing with the front end known as ADOM Sage. I tried and I thought it was great and I will mostly likely continue to use it because the color texts really have helped me know when something important is going on.

    My question is, I want to be able to add highlight the phase "hits you" in red letters so I know when my character is taking damage. Should I go into the .msg file and add the phase under the red section or will I have to do something else because "hits you" isn't a full in game sentence?

    Thanks!

  2. #2
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    240

    Default

    The important section of adomsage's readme.txt is this one:

    You can add your own messages to the sage.msg file if you wish, but
    the messages that you add must match exactly the internal format used
    by ADOM. To determine ADOM's internal format for a particular message,
    run adom-sage with the --debug-level=3 option and check /tmp/sage.log
    after running. Note that some messages are processed in multiple
    stages; you may see several 'Message in' and 'Message out' entries in
    /tmp/sage.log for a single 'New message'. For message coloring and
    no_skip setup, you can list any of the 'message in' or 'message out'
    messages for message coloring and no_skip setup. For suppress to work
    properly, you must list the final message in or message out.

    you'll notice something like "%s hits you" (not exactly sure, just guesstimating) and that's the one you're looking for. Further testing will be needed to see if that one will also catch "The -foo- critically hits you" or the damage from breath weapons/missiles...

  3. #3
    Join Date
    Oct 2008
    Posts
    349

    Default

    From memory, 'hits you' and 'critically hits you' are two completely different messages. *shrug* but what do I know?
    The Adom wiki: everything you need to know about Adom.
    http://ancardia.wikia.com/wiki/ADOM_Wiki

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •