[4.2.3] Custom Intermission TextScreens don't take $ lookup

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom 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
SanyaWaffles
Posts: 806
Joined: Thu Apr 25, 2013 12:21 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
Graphics Processor: nVidia with Vulkan support
Location: The Corn Fields
Contact:

[4.2.3] Custom Intermission TextScreens don't take $ lookup

Post by SanyaWaffles »

https://zdoom.org/wiki/MAPINFO/Intermission_definition

I don't know if it's by design or not, but I cannot use strings in an intermission TextScreen like so:

Code: Select all

Intermission EndEpisode1
{
	TextScreen
	{
		Background = "graphics/intermission/ep1/end1.png"
		Music = "D_HOPE"
		Text = "$TXT_E1_ENDSCREEN"
	}
}
It will just print "$TXT_E1_ENDSCREEN" even if it's defined in LANGUAGE.enu or any other language text file.

I have to use a TextLump, which makes the text not translatable.

I was advised to post it as a bug. If it is by design I'd really like an option to do this via a text lookup string for translation purposes.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [4.2.3] Custom Intermission TextScreens don't take $ loo

Post by _mental_ »

From what I'm seeing in code, "$..." lines are handled correctly. Could you please post a runnable sample?
SanyaWaffles
Posts: 806
Joined: Thu Apr 25, 2013 12:21 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
Graphics Processor: nVidia with Vulkan support
Location: The Corn Fields
Contact:

Re: [4.2.3] Custom Intermission TextScreens don't take $ loo

Post by SanyaWaffles »

https://www.dropbox.com/s/0vo7xhi2tf88f ... t.wad?dl=1

Run DOOM.WAD, play through E1M1 and exit... it should display the text string but it doesn't.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [4.2.3] Custom Intermission TextScreens don't take $ loo

Post by _mental_ »

Fixed in 958b52d.
Post Reply

Return to “Closed Bugs [GZDoom]”