[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.
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.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
[0.4.1-8374b9e] Game says incorrect key following death
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.
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [0.4.1-8374b9e] Game says incorrect key following death
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.
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.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: [0.4.1-8374b9e] Game says incorrect key following death
Maybe that's what's happened then as part of the effort to internationalise the texts.
-
- Lead GZDoom+Raze Developer
- Posts: 49188
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [0.4.1-8374b9e] Game says incorrect key following death
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.
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.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: [0.4.1-8374b9e] Game says incorrect key following death
No worries, I knew you'd be all over it
-
- Lead GZDoom+Raze Developer
- Posts: 49188
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [0.4.1-8374b9e] Game says incorrect key following death
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.