Mod Chapter Titles not appearing...

Got problems with your models? Struggling with textures? Get help with your custom assets.

Mod Chapter Titles not appearing...

Postby Groxkiller585 on Sun Oct 31, 2010 7:17 pm

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?
User avatar
Groxkiller585
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Fri Jul 09, 2010 3:43 pm

Re: Mod Chapter Titles not appearing...

Postby Corewarp on Sun Oct 31, 2010 7:41 pm

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.
User avatar
Corewarp
Been Here A While
Been Here A While
 
Joined: Thu Mar 13, 2008 6:29 pm

Re: Mod Chapter Titles not appearing...

Postby Groxkiller585 on Tue Nov 02, 2010 1:34 am

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)
User avatar
Groxkiller585
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Fri Jul 09, 2010 3:43 pm

Re: Mod Chapter Titles not appearing...

Postby Jangalomph on Tue Nov 02, 2010 2:21 am

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"
http://www.nomoreroominhell.com
I don’t know whether I was right or wrong, I guess I’ll never know… But I made it. And I guess I should be thankful for that. - Strelok
Has anyone really been far even as decided to use even go want to do look more like?
User avatar
Jangalomph
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Wed Jun 25, 2008 3:19 pm
Location: Sumter, SC

Re: Mod Chapter Titles not appearing...

Postby Groxkiller585 on Tue Nov 02, 2010 3:30 am

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
User avatar
Groxkiller585
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Fri Jul 09, 2010 3:43 pm

Re: Mod Chapter Titles not appearing...

Postby omnicoder on Tue Nov 02, 2010 3:38 am

I lol'd so hard when I saw THE RETURN OF JOHNBOY.
Image
If only the future implemented IForeseeable...
"whats threading? does it have to do with strings?" - stegarootbeer
User avatar
omnicoder
Been Here A While
Been Here A While
 
Joined: Sun Feb 07, 2010 8:35 am

Re: Mod Chapter Titles not appearing...

Postby Jangalomph on Thu Nov 04, 2010 11:13 pm

omnicoder wrote:I lol'd so hard when I saw THE RETURN OF JOHNBOY.


True story. JohnBoy is back.
http://www.nomoreroominhell.com
I don’t know whether I was right or wrong, I guess I’ll never know… But I made it. And I guess I should be thankful for that. - Strelok
Has anyone really been far even as decided to use even go want to do look more like?
User avatar
Jangalomph
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Wed Jun 25, 2008 3:19 pm
Location: Sumter, SC

Re: Mod Chapter Titles not appearing...

Postby Corewarp on Fri Nov 05, 2010 1:31 pm

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.
User avatar
Corewarp
Been Here A While
Been Here A While
 
Joined: Thu Mar 13, 2008 6:29 pm

Return to Custom Asset Help

Who is online

Users browsing this forum: Bing [Bot]

cron