Replacing Main Menu Items (Not Icons)

Modding topics and questions for Left 4 Dead 2 go here!
User avatar
Posts: 4

Replacing Main Menu Items (Not Icons)

Post by Queso » 31 Jan 2017, 00:07

Hello,

I am trying to figure out how to replace text on the main menu where it says "PLAY SINGLE PLAYER" and such.

From the look of it, all of this is contained in "resource/l4d360ui_english.txt" but when I change the text in this file nothing changes.

Is this perhaps outdated and the text is stored in a different file?

Also, I was wondering if someone could point out which VTF file is the "biohazard" icon next to the blog menu.

Thanks!

User avatar
Posts: 174

Re: Replacing Main Menu Items (Not Icons)

Post by Rayman1103 » 01 Feb 2017, 08:03

I believe those files aren't meant to be replaced, but it may work if you copy/paste the line from that file into the l4d360ui_tu_english.txt located in left 4 dead 2\update\resource.

The biohazard icon is called "rssfeed", and it's located in left 4 dead 2/update/pak01_dir.vpk/materials/vgui.

User avatar
Posts: 4

Re: Replacing Main Menu Items (Not Icons)

Post by Queso » 02 Feb 2017, 23:41

Thank you so much for the location of the icon.

Unfortunately, editing that text file still didn't change the title screen text. Any other suggestions?

User avatar
Posts: 174

Re: Replacing Main Menu Items (Not Icons)

Post by Rayman1103 » 03 Feb 2017, 14:00

I placed the following in l4d360ui_tu_english.txt:

"L4D360UI_MainMenu_PlaySolo" "PLAY TEST"

And it appeared edited for me. However I did place it in an .vpk addon, not sure if that matters.

Make sure you add that line under "Tokens" {. If it's above, it wont work.

User avatar
Posts: 4

Re: Replacing Main Menu Items (Not Icons)

Post by Queso » 05 Feb 2017, 12:23

Hey! That worked. Thanks!

I have a few more questions, if that's okay.

If "L4D360UI_MainMenu_PlaySolo" is "Single Player" how can I find the rest of them? This document only seems to have "Mutation" referenced in it already.

It also seems that "SINGLE PLAYER" and "PLAY SINGLE PLAYER" are two different parameters. How do I change the other, as well as the description of the mode?

User avatar
Posts: 4

Re: Replacing Main Menu Items (Not Icons)

Post by Queso » 09 Feb 2017, 12:23

bump

User avatar
Posts: 174

Re: Replacing Main Menu Items (Not Icons)

Post by Rayman1103 » 10 Feb 2017, 11:53

For the Singleplayer description it should be the following:

"L4D360UI_MainMenu_PlaySolo_Tip" "Play a single player offline game with computer-controlled teammates."

As for "SINGLE PLAYER" it may be any of the following, not sure which:

"L4D360UI_GameSettings_Solo" "SINGLE PLAYER"
"L4D360UI_ModeCaps_offline_SP" "SINGLE PLAYER"


Return to Left 4 Dead 2 Modding