Chaosforge Forum

  • September 23, 2020, 17:26
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Shorter way of displaying repeated messages  (Read 2680 times)

ZicherCZ

  • Chaos Knight
  • Supporter of Chaos
  • Brigadier General
  • *
  • *
  • Offline Offline
  • Posts: 736
  • YADJHG - Yet Another Dead JupiterHellGuy
    • View Profile
Shorter way of displaying repeated messages
« on: April 15, 2012, 05:48 »

Since a lot of times messages tend to repeat, I would ask whether it would be possible to display repeated messages in a way like this (imagine the player firing an eight-round burst from the minigun on Cybie):
Code: [Select]
The missile hits the Cyberdemon. (x4)
The missile misses the Cyberdemon.
The missile hits the Cyberdemon. (x3)
The Cyberdemon reloads his rocket launcher.
I can imagine that this would require some sort of mini-message-buffer, and some reworking of the way messages are printed a bit. So should this be to much effort for too little gain, then nevermind.
Logged
DoomRL 0.997: Cyberdemon Brigadier General - Games: 217, Wins: 2/5/3/6/0, Medals: 18, Specials: 64, Asm: 39, Badges: 19/17/16/5/1/Are you kidding?
Jupiter Hell: Inner Circle - first tech build reached and working

pacmanus

  • Guest
Re: Shorter way of displaying repeated messages
« Reply #1 on: April 25, 2012, 03:53 »

This a good thing!
Logged

ih8regin

  • Captain
  • *
  • Offline Offline
  • Posts: 291
  • You dodge! The Cyberdemon dies.
    • View Profile
Re: Shorter way of displaying repeated messages
« Reply #2 on: April 25, 2012, 04:05 »

Code: [Select]
You are hit! (x18) You die!..Well, I'd rather see a summary like "The missile hits the mancubus. (x9) The missile hits the arachnotron. (x2) The mancubus dies. Boom!"
Logged
0.9.9.6: Cacodemon 2nd Lieutenant, wins 3|5|3|2|0, badges [22|17|7|1|0]
0.9.9.7: badges [21|17|17|10|1|wow,1], quest: UV each challenge (9/16)

pacmanus

  • Guest
Re: Shorter way of displaying repeated messages
« Reply #3 on: April 25, 2012, 11:25 »

Code: [Select]
You are hit! (x18) You die!..Well, I'd rather see a summary like "The missile hits the mancubus. (x9) The missile hits the arachnotron. (x2) The mancubus dies. Boom!"
Why not? =)
Logged

Creepy

  • First Sergeant
  • *
  • Offline Offline
  • Posts: 118
  • Duelist
    • View Profile
Re: Shorter way of displaying repeated messages
« Reply #4 on: April 25, 2012, 11:56 »

I'd appreciate not having the message buffer filled up with "You need to taste blood!"
Logged
Formerly Hell Knight Warrant Officer [16|7|5|1|0]
Currently Cacodemon 2nd Lieutenant [18|10|3|0|0]
Current Goal: ???

Zalminen

  • Elder
  • Sergeant Major
  • *
  • *
  • Offline Offline
  • Posts: 135
  • The Good, The Bad & The Random
    • View Profile
Re: Shorter way of displaying repeated messages
« Reply #5 on: May 07, 2012, 02:12 »

I'd appreciate not having the message buffer filled up with "You need to taste blood!"
This.

Actually, why do we even have "You need to taste blood" shown repeatedly at all?
It's not like the player won't notice the berserk effect otherwise...
Logged
Hell Baron Captain (0.9.9.6)
[25/19/9/0/0] m:25 sp:54 as:38

eharper256

  • Lance Corporal
  • *
  • Offline Offline
  • Posts: 32
  • Lost Soul
    • View Profile
    • Detarame
Re: Shorter way of displaying repeated messages
« Reply #6 on: May 07, 2012, 16:03 »

Actually, why do we even have "You need to taste blood" shown repeatedly at all?
It's not like the player won't notice the berserk effect otherwise...
Is it needed for Console? I'd assume the red screen might be a bad idea for that (if there are red ASCII)
But yeah, its a pointless and irritating message when you're playing tiles.

On a related note, it would be nice to have a message when you're running out of something, especially Envirosuit. Or maybe have the screen effect start strobing or blinking (though that would be irritating).
Logged
Cacodemon Sergeant [11/2/0/0/0]
"If the world's a stage, and the people actors, then who the f**k has my script?"

http://detarame.wordpress.com/ <-- My Games, Anime & Random Blog

Creepy

  • First Sergeant
  • *
  • Offline Offline
  • Posts: 118
  • Duelist
    • View Profile
Re: Shorter way of displaying repeated messages
« Reply #7 on: May 07, 2012, 17:29 »

Console still turns everything red, so no.

A message would be nice when the full-screen thingers are starting to wear off, though. Just enough that for someone high on invulnerability to realize they should get to cover before it wears off or something.
Logged
Formerly Hell Knight Warrant Officer [16|7|5|1|0]
Currently Cacodemon 2nd Lieutenant [18|10|3|0|0]
Current Goal: ???

Tavana

  • Elder Chaos Guard
  • Brigadier General
  • *
  • *
  • Offline Offline
  • Posts: 663
    • View Profile
Re: Shorter way of displaying repeated messages
« Reply #8 on: May 07, 2012, 19:32 »

Actually, why do we even have "You need to taste blood" shown repeatedly at all?
I always thought it was because DoomGuy needed to taste blood...

In all seriousness it shouldn't be too hard to work out an algorithm that will make the message display once every few turns with a high berserk counter (let's say every five to ten) and then ramp up the frequency as the counter gets closer to zero. This would mean that those who are permazerked (or near enough to it) would see the message not as often, and if it gets annoying again you know you're about to run out.
Logged
Common words do not mean common understanding. Language is mercurial. Meanings are never constant.

Creepy

  • First Sergeant
  • *
  • Offline Offline
  • Posts: 118
  • Duelist
    • View Profile
Re: Shorter way of displaying repeated messages
« Reply #9 on: May 07, 2012, 21:18 »

Which still manages to be annoying and spam up the message log. It shouldn't do either. Seeing eight attacks in the log will at least mean there was eight attacks, quite concrete and clearly, but trying to count the number of turns between the screaming nonsense message? When the log doesn't bother to record ticks between messages? This is not giving anyone clear information, it's just pushing REAL information off the buffer.
Logged
Formerly Hell Knight Warrant Officer [16|7|5|1|0]
Currently Cacodemon 2nd Lieutenant [18|10|3|0|0]
Current Goal: ???

Tavana

  • Elder Chaos Guard
  • Brigadier General
  • *
  • *
  • Offline Offline
  • Posts: 663
    • View Profile
Re: Shorter way of displaying repeated messages
« Reply #10 on: May 07, 2012, 21:29 »

Code: [Select]
display $message
if(messagelog.last == "You need to taste blood!" && $message == "You need to taste blood!")
then

else
messagelog.write($message)
endif

This style could be done for various messages, and could potentially be included as a config.lua option.
« Last Edit: May 07, 2012, 21:31 by Tavana »
Logged
Common words do not mean common understanding. Language is mercurial. Meanings are never constant.

RSO

  • Lance Corporal
  • *
  • Offline Offline
  • Posts: 25
  • Lost Soul
    • View Profile
Re: Shorter way of displaying repeated messages
« Reply #11 on: May 07, 2012, 21:54 »

But it makes tromping through acid while berserk seem so much more badass.

"Argh! Acid! You need to taste blood!" can be read as, "Argh, acid? You need to taste blood!"
Logged
9.9.6 Cacodemon Sergent Major (Wins: 0, 2, 0, 1, 0)
Badges: 14 | 5 | 4 | 1 | 0

9.9.5 Arch-Vile Captain (22 | 15 | 7 | 2 | 1)
Pages: [1]