[0.4.1-8374b9e] Game says incorrect key following death

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

[0.4.1-8374b9e] Game says incorrect key following death

Post by mjr4077au »

When playing the game and you die, the game erroneously says to press 'space' to reload, however I have 'E' bound as my use key. In EDuke32, it says to press the use key to reload.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Contact:

Re: [0.4.1-8374b9e] Game says incorrect key following death

Post by sinisterseed »

The funny thing here is that in some games, if you remove the strings they will mention space bar to restart the map.

This is the case of SW, where if the string for this action is removed it'll simply read "TXT_SPACEBAR". I agree that it should be changed to reflect the current key assigned to the "Use" action.
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [0.4.1-8374b9e] Game says incorrect key following death

Post by mjr4077au »

Maybe that's what's happened then as part of the effort to internationalise the texts.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.1-8374b9e] Game says incorrect key following death

Post by Graf Zahl »

What happened here is that I removed the hack to replace the "space" part of the text, because it didn't play well with the localization effort.
To allow translating the quotes, this works as follows: It takes the original quote text, turns it into a string label and then looks up the real text in the string table. But this is no longer English only, it can be everything - especially "space" no longer needs to be "space" - this key name substitution feature needs to be entirely redone to be compatible with that.
But like so many other things, this is a secondary concern and will be looked into when the bug list shortens.
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [0.4.1-8374b9e] Game says incorrect key following death

Post by mjr4077au »

No worries, I knew you'd be all over it ;)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.1-8374b9e] Game says incorrect key following death

Post by Graf Zahl »

I've changed all affected texts to use "Press 'Use'" In German it was already correct, unfortunately the Portuguese translation still uses "Space" everywhere and a few Romanian texts, too.
Post Reply

Return to “Closed Bugs [Raze]”