Chaosforge Forum

DoomRL => Requests For Features => Topic started by: chalup on January 22, 2008, 06:28

Title: "Enter" prompt on certain events (no ammo left, 20% HP left after hit)
Post by: chalup on January 22, 2008, 06:28
Is there any way to force the game to request certain keypress when some event occurs? I'll put it in more simple way:

I try to reload the weapon, but I have no ammo left.
Currently I only get the message "No ammo left!".
I'd like to see the message "No ammo left! [press Enter]" and I would have to press enter before I could do anything else.

Why do I need this?

I fire a lot at the monsters I do not see. So generally I press f, some directions keys (the first one is usually diagonal direction, because I'm shooting behind the corner) and f again, and r to reload a gun now and then. It's very repetitive work, so I usually do it quite fast and sometimes I overlook the "no ammo left. weapon is empty." messages, I end up walking one step diagonally and lose half of my HP, because all the monsters that were behind the corner shoot at me. The function I described above would prevent this, because i'd have to press enter to confirm "no ammo" message and all other keystorkes would be ignored.

If it is not already possible, will you add it in the future?
Title: Re: "Enter" prompt on certain events (no ammo left, 20% HP left after hit)
Post by: Kornel Kisielewicz on January 22, 2008, 07:21
For your ally is the Ini-file, and a strong ally it is!
Code: [Select]
// Setting to TRUE will make the game wait for an enter/space key if
// trying to fire an empty weapon.
EmptyConfirm     = FALSE; 
Title: Re: "Enter" prompt on certain events (no ammo left, 20% HP left after hit)
Post by: Conker on January 22, 2008, 20:47
For your ally is the Ini-file, and a strong ally it is!
Code: [Select]
// Setting to TRUE will make the game wait for an enter/space key if
// trying to fire an empty weapon.
EmptyConfirm     = FALSE; 

Does that work for trying to fire the BFG when it's only got <40 cells in it?