Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: adom.msg entries

  1. #11
    Join Date
    Aug 2011
    Posts
    701

    Default

    I have
    Code:
    You resist the
    searing flames.
    suppressed as two separate lines. This does fix (part of) the ToEF, but has the side effect of removing every instance of "You resist the". The casino messages might be suppressible with a similar method.

  2. #12
    Join Date
    Jan 2011
    Location
    Poland
    Posts
    1,757

    Default

    Quote Originally Posted by Harkila View Post
    That one actually gets suppressed. Looks like you have written it incorrectly:
    "Your equipment is protected from the fire by a thin sheet of ice emanating from your hands."

    Works for me. Also of course "Your equipment is protected from the bitter cold by a thin layer of fire emanating from your hands." for the Ice Queen Realm.
    I just wrote it from memory here; in my msg file it's the exact phrase; I checked several times in case I made a typo but nope.
    It's still not suppressed. I guess this could have something to do with there being two files for message suppression, one regular and one for SAGE.
    That is the case on ancardia.eu server where I most often play.
    I need to check it out with a local copy and no sage and see if it works.
    "Hell is empty and all the devils are here."

  3. #13
    Join Date
    Mar 2008
    Location
    Finland
    Posts
    599

    Default

    I can't get :replace to work. I'm trying to change the "[monster] hits you for [X] damage" message to either "[monster] hits you" or "[monster] hits you ([X] dmg)".
    You hit Andor Drakon, the ElDeR cHaOs GoD, and severely wound him.
    The greater balor summons some help!
    The ratling duelist disarms you. You drop your blessed Trident of the Red Rooster (+36, 6d12+18) [+12, +12]. It flies to the west.
    Andor Drakon, the ElDeR cHaOs GoD, picks up the blessed Trident of the Red Rooster (+36, 6d12+18) [+12, +12].
    Andor Drakon, the ElDeR cHaOs GoD, wields the blessed Trident of the Red Rooster (+36, 6d12+18) [+12, +12].

  4. #14
    Join Date
    Aug 2011
    Posts
    701

    Default

    Quote Originally Posted by Laukku View Post
    I can't get :replace to work. I'm trying to change the "[monster] hits you for [X] damage" message to either "[monster] hits you" or "[monster] hits you ([X] dmg)".
    Code:
    :regex
    critically hits you for .* damage|critically hits you.
    hits you for .* damage|hits you.

  5. #15
    Join Date
    Mar 2008
    Location
    Finland
    Posts
    599

    Default

    Thanks, but after I played 3.1.0 more I realised the "for X damage" was a more general addition that applies to more than just combat messages. Thus I decided to live with it for now and came up with the following tweak instead:

    Code:
    :regex
    :light red
    for .* damage
    Last edited by Laukku; 03-05-2018 at 08:46 AM.
    You hit Andor Drakon, the ElDeR cHaOs GoD, and severely wound him.
    The greater balor summons some help!
    The ratling duelist disarms you. You drop your blessed Trident of the Red Rooster (+36, 6d12+18) [+12, +12]. It flies to the west.
    Andor Drakon, the ElDeR cHaOs GoD, picks up the blessed Trident of the Red Rooster (+36, 6d12+18) [+12, +12].
    Andor Drakon, the ElDeR cHaOs GoD, wields the blessed Trident of the Red Rooster (+36, 6d12+18) [+12, +12].

  6. #16
    Join Date
    Jan 2011
    Location
    Poland
    Posts
    1,757

    Default

    I'm trying to replace some messages but can't get the damn thing to work.
    Here's the excerpt from my adom.msg file:

    :regex
    :replace
    :white
    You deflect the attack of the.*|Deflected.
    You deflect the attack of.*|Deflected.
    .*misses you.|Miss.
    .*fails to hurt you.|Armor.
    You block the .*|Blocked.
    You block .*|Blocked.

    And here is the in-game result:
    Deflected. Griff Bloodax, the undead chaos dwarven berserker Armor. Miss. Blocked. Deflected.

    For the record, he is the only monster that's trying to hit me.
    The replacement for message that damage was blocked by armor doesn't work or at least doesn't work as expected judging by the other messages.
    Maybe I'm missing something obvious here?
    Why does it work for some lines and not for others?

    BTW:
    Quote Originally Posted by Grond View Post
    I have
    Code:
    You resist the
    searing flames.
    suppressed as two separate lines. This does fix (part of) the ToEF, but has the side effect of removing every instance of "You resist the". The casino messages might be suppressible with a similar method.
    What I did was this:

    You resist the|=
    icy blast.|Cold.
    searing flames.|Fire.
    acidic fluids.|Acid.
    crackling lightning.|Shock

    It seems to work by replacing the appropriate message with = Element.
    Last edited by Blasphemous; 03-11-2018 at 01:11 PM.
    "Hell is empty and all the devils are here."

  7. #17
    Join Date
    Aug 2011
    Posts
    701

    Default

    Quote Originally Posted by Blasphemous View Post
    And here is the in-game result:
    Deflected. Griff Bloodax, the undead chaos dwarven berserker Armor. Miss. Blocked. Deflected.

    For the record, he is the only monster that's trying to hit me.
    The replacement for message that damage was blocked by armor doesn't work or at least doesn't work as expected judging by the other messages.
    Maybe I'm missing something obvious here?
    Why does it work for some lines and not for others?
    "fails to hurt" messages are composed of two separate messages, while "misses you" messages are singletons (i.e. [Monster name] [fails to hurt you] vs [Monster name misses you]). Getting rid of the monster name in "fails to hurt" messages isn't possible without a lot of side effects.

  8. #18
    Join Date
    Jan 2011
    Location
    Poland
    Posts
    1,757

    Default

    Eh, hopefully this will be fixed at some point so players can make proper use of all the amazing customization ADOM allows.
    "Hell is empty and all the devils are here."

  9. #19

    Default

    I know this thread has been inactive for a while but ...
    I've just had another attempt at a zero save Mist Elf farmer die (Galimesh).
    Ancient Stone Dragon, I was getting too cocky.
    However Galimesh had contracted teleportitis (lots of messages requiring [more]) and had the Immune to pain talent and was wearing the Circlet of the Pure Mind (which is apparaently impure metal - so more messages).
    As such I decided to try to set up some substitutions for messages which frustrate me the most.
    Thanks to those who have already contributed and whose ideas I have unashamedly plagiarised.

    The primary thing I wanted to note was the message I get in the ToEF is
    "Your equipment is protected by a layer of rime emanating from your hands"
    which is different to the ones referenced earlier in this thread ?

    Also regards the Casino I always plug my ears with beeswax while I'm there which goes a long way to eliminate a lot of the messages.

    I have included the substitution bit from my now functioning adom.msg file if anyone else finds any of it helpful.
    The first few lines were just for testing.

    Code:
    # If the same string is substituted twice ...
    # ... it is the second in the list which is used.
    :regex
    :replace
    :light red
    You pass beneath a beautiful tree.|Nice tree.
    Bonk! Ugh! You squarely hit the wall.|Wall Ouch.
    A road.|Road.
    Forest.|Forest.
    Plains.|Plains.
    Swamp.|Swamp.
    Hills.|Hills.
    ###### for Mist Elf
    Your skin is destroyed by the touch of impure metal!|Impure metal!
    ###### for teleportitis
    Move the cursor to the desired|Move cursor.
    # captures "Move the cursor to the desired position and press [SPACE]"
    to the up/down stairs.|< or >.
    # captures "Use [<] and [>] to move to the up/down stairs."
    ###### for Tower of Eternal Flames
    The air on this level is searingly hot!|Hot air!
    The air roasts you!|Roasting!
    Your equipment is protected by a layer of rime emanating from your hands|Icy shield OK.
    ###### Resisting elements
    You resist the|=
    acidic fluids|acid.
    icy blast|cold.
    searing flames.|fire.
    crackling lightning.|shock.

  10. #20
    Join Date
    Nov 2016
    Posts
    16

    Default

    I didn't know this existed - this is awesome, thanks for posting. First thing I'll do is shortening or removing the grating sound on shifting levels. Perhaps I'll put surges of power and vault messages in caps, as I missed them a few times.

Posting Permissions

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