I have
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.Code:You resist the searing flames.
I have
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.Code:You resist the searing flames.
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."
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].
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 07: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].
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:
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 12:11 PM.
"Hell is empty and all the devils are here."
"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.
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."
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.
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.