Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Description for CS doesn't appear?
h0tWalker Offline
Junior Member

Posts: 2
Threads: 1
Joined: Apr 2015
Reputation: 0
#1
[Solved] Description for CS doesn't appear?

So i've been running left and right, read the wiki page several times, and watched tutorials and done the exact same thing, and i still can't be able to get my description working for my custom story.

It is in early stages, but i just want to have it working and it's killing me that it doesn't work. I've worked a few days when i didn't do my level design and now im just about to give up, and i probably can't concentrate more today without that description in box.

custom_story_settings.cfg
<Main
    Name="MyCustomStory"
    Author="Walker"
    ImgFile=""

    StartMap="intro_road.map"
    StartPos=""
/>

and my extra_english.lang

<CATEGORY Name="Obscurity">
      <Entry Name="Description">This is a placeholder description.[br][br]New line.</Entry>
   </CATEGORY>

and i tried with the lanugage brackets as well: <LANGUAGE>above code</LANGUAGE>

I know it's written in XML and that it's very case sensitive on big and small letters, but i've gone over it so many times, i just can't get to it. I've been browsing the forums and done youtube tutorials for all my time here, but now i just had to register to solve this issue, and this is probably not the last you hear of me! Angel

Thanks for all the help i can get, i really appreciate it!

-Your's truly, Walker


Edit:
The map is working, and the title and author is working, it's just not the description, everything else is working Smile
Both files are in root directory as stated on the wiki and tutorials (custom_stories/MyCustomStory) <- custom story folder
(This post was last modified: 04-21-2015, 01:03 PM by h0tWalker.)
04-21-2015, 12:10 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Description for Custom Story not working

Does any other text work?

If there is 1 or more errors in the .lang file, the whole file won't work and no text will show. Is this the case?

Post the whole .lang file please

Trying is the first step to success.
(This post was last modified: 04-21-2015, 12:14 PM by FlawlessHappiness.)
04-21-2015, 12:14 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: Description for Custom Story not working

The category name for the description is supposed to be CustomStoryMain, not the name of your custom story or anything else. Right now it's set to "Obscurity."

04-21-2015, 12:51 PM
Find
h0tWalker Offline
Junior Member

Posts: 2
Threads: 1
Joined: Apr 2015
Reputation: 0
#4
RE: Description for Custom Story not working

Thanks a bunch Mudbill!

It was generally my issue, and i also had to add the <LANGUAGE> brackets again. Had been trying with and without it, but it solved my case. I now have description again Big Grin

Thanks a lot mate! :3
04-21-2015, 01:03 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#5
RE: [Solved] Description for CS doesn't appear?

No problemo! Good luck with your story! ^^

04-21-2015, 01:13 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#6
RE: [Solved] Description for CS doesn't appear?

Remember that if the text suddenly disappears it's a good idea to check your recent edits in the .lang file.

Trying is the first step to success.
04-21-2015, 01:16 PM
Find




Users browsing this thread: 3 Guest(s)