Page 1 of 1

Mod Chapter Titles not appearing...

PostPosted: Sun Oct 31, 2010 7:17 pm
by Groxkiller585
Hi, i'm having an issues with my mod's chapter titles. Instead of what I put it puts *MODNAME*#chapter1_title. (similar to that anyway) So my questions are:

1. Is this a bug, because I see it in Portal:Prelude too.

2. If not, what files are needed to be changed to fix the title?

Re: Mod Chapter Titles not appearing...

PostPosted: Sun Oct 31, 2010 7:41 pm
by Corewarp
I remember i had this problem too.

It doesn't work very well if your mod name(The mod name the code and everything else works with, not the cosmetic one if you know what i mean) has two or more words in it. Then it tends to fuck up and not work. I think i fixed it by changing the mod name to only one word.

Re: Mod Chapter Titles not appearing...

PostPosted: Tue Nov 02, 2010 1:34 am
by Groxkiller585
Corewarp wrote:I remember i had this problem too.

It doesn't work very well if your mod name(The mod name the code and everything else works with, not the cosmetic one if you know what i mean) has two or more words in it. Then it tends to fuck up and not work. I think i fixed it by changing the mod name to only one word.


But which files contan the name exactly? Maybe i'm only editting one...

I'm editting titles.TXT and MODNAME_English, but niether take the cake.

Here's MODNAME_english:

Code: Select all
"lang"
{
"Language" "English"
"Tokens"
{
"basemod_Chapter1_Title""Chapter 1"
"basemod_Chapter2_Title""Chapter 2"
"basemod_Chapter3_Title""Chapter 3"



Now the tokens state it should say "Chapter 1" and not the weird screwy name. It's only 1 word and 1 number....

Also why would it glitch when ravenholm's is 5 words long?


EDIT: for the modname, I have two versions, one's appreivated and small (mod CODE name) and one's displaced on screen (full name, not small)

Re: Mod Chapter Titles not appearing...

PostPosted: Tue Nov 02, 2010 2:21 am
by Jangalomph
ahh, using mah Base mod i see.

Code: Select all
"basemod_Chapter1_Title""LOL.TGA ^^ Chapter 1" // chapter 1's name
"basemod_Chapter2_Title""SEXI BOI Chapter 2" // chapter 2's name
"basemod_Chapter3_Title""BOBBY Chapter 3" // chapter 3's name and so on and so fourth for the next how ever many you


I've never edited titles.txt

Notice the files name is also basemod_english.txt its not capitals just as the line of code goes.


From the normal gameinfo.txt in main folder
Code: Select all
"GameInfo"
{
   
   name      "basemod" //Mods name <--- exactly the same as the chapter titles.
   game       "Base Mod" //What shows up in games list?
   title       "Base Mod" //The title on the main menu page "generally keep this all the same"
   title2      "THE RETURN OF JOHNBOY"

Re: Mod Chapter Titles not appearing...

PostPosted: Tue Nov 02, 2010 3:30 am
by Groxkiller585
Well part of it lol, only bits of it that helped to explain. Though I figured it out, the name of the mod isn't basemod so that's why it failed. Adding the mod's name instead of basemod fixed it. :P

Re: Mod Chapter Titles not appearing...

PostPosted: Tue Nov 02, 2010 3:38 am
by omnicoder
I lol'd so hard when I saw THE RETURN OF JOHNBOY.

Re: Mod Chapter Titles not appearing...

PostPosted: Thu Nov 04, 2010 11:13 pm
by Jangalomph
omnicoder wrote:I lol'd so hard when I saw THE RETURN OF JOHNBOY.


True story. JohnBoy is back.

Re: Mod Chapter Titles not appearing...

PostPosted: Fri Nov 05, 2010 1:31 pm
by Corewarp
Groxkiller585 wrote:Well part of it lol, only bits of it that helped to explain. Though I figured it out, the name of the mod isn't basemod so that's why it failed. Adding the mod's name instead of basemod fixed it. :P


What i said. In other words. And a different way. But, essentially i ment this, among other things.