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
Level Editor Help No Author and Description at my Custom Story
ZIEGMEBALLEN Offline
Junior Member

Posts: 18
Threads: 4
Joined: Feb 2014
Reputation: 1
#11
RE: No Author and Description at my Custom Story

(03-27-2014, 03:04 PM)Mudbill Wrote: Ah, I see. You didn't post your whole file. Keep in mind that a single error in the lang file will cause all the text in your game to remain blank.

You're missing quite a few </Entry> tags here. Remember that every time you do <Entry Name=""> you NEED to have a </Entry> tag after it. You're missing 2 in the Inventory category and 1 in the Levels category. Add them after your text.

PHP Code: (Select All)
<CATEGORY Name="Inventory">
    <
Entry Name="ItemName_Corridorkey_1">Hall Key</Entry>
    <
Entry Name="ItemDesc_Corridorkey_1">A Key to the Hall</Entry>
</
CATEGORY>

<
CATEGORY Name="Levels">
    <
Entry Name="LevelDoor1">To Hall</Entry>
</
CATEGORY
(This post was last modified: 03-27-2014, 03:13 PM by ZIEGMEBALLEN.)
03-27-2014, 03:12 PM
Find
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#12
RE: No Author and Description at my Custom Story

The problem is in your .lang file, not anywhere else. Now that you changed the stuff according to Mudbill's suggestions, can you post your entire extra_english.lang file again?

Keep it in a spoiler, like this:
[.spoiler]
TEXT HERE
[./spoiler]

Just remove the dots.

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
03-27-2014, 03:14 PM
Find
ZIEGMEBALLEN Offline
Junior Member

Posts: 18
Threads: 4
Joined: Feb 2014
Reputation: 1
#13
RE: No Author and Description at my Custom Story

(03-27-2014, 03:12 PM)ZIEGMEBALLEN Wrote:
(03-27-2014, 03:04 PM)Mudbill Wrote: Ah, I see. You didn't post your whole file. Keep in mind that a single error in the lang file will cause all the text in your game to remain blank.

You're missing quite a few </Entry> tags here. Remember that every time you do <Entry Name=""> you NEED to have a </Entry> tag after it. You're missing 2 in the Inventory category and 1 in the Levels category. Add them after your text.

PHP Code: (Select All)
<CATEGORY Name="Inventory">
    <
Entry Name="ItemName_Corridorkey_1">Hall Key</Entry>
    <
Entry Name="ItemDesc_Corridorkey_1">A Key to the Hall</Entry>
</
CATEGORY>

<
CATEGORY Name="Levels">
    <
Entry Name="LevelDoor1">To Hall</Entry>
</
CATEGORY

Aw... Didn't really work, but it's okay if you couldn't help me i will Rep you... But could you please help me one last time with that because it didn't work?

(03-27-2014, 03:14 PM)Wapez Wrote: The problem is in your .lang file, not anywhere else. Now that you changed the stuff according to Mudbill's suggestions, can you post your entire extra_english.lang file again?

Keep it in a spoiler, like this:
[.spoiler]
TEXT HERE
[./spoiler]

Just remove the dots.

<LANGUAGE>



<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You Are a guy who's working as a Janitor in A Mansion
Where you woke up alone at 6:30 AM. You discovered that there are monster inside
and they don't want you to leave the Mansion. Find A Way to Leave the House without dying.</Entry>
</CATEGORY>


<CATEGORY Name="Journal">

<Entry Name="Note_A1_Name">Discovering</Entry>
<Entry Name="Note_A1_Text">I Woke up at 6:30 where i discovered that i'm alone.[br][br]I Need to Get out of the house, but... [br][br] I Also discovered something...There...Are....Monsters inside. I Need To Leave now and Get help as i am going to die in this house.. [br][br]Is this my last momnet ? God help Me, i don't know what i should do..[br][br][br][br][br]Sincerely.[br]Unknown</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_Corridorkey_1">Hall Key</Entry>
<Entry Name="ItemDesc_Corridorkey_1">A Key to the Hall</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="LevelDoor1">To Hall</Entry>
</CATEGORY>

<CATEGORY Name=Locked door">
<Entry Name="LevelDoor1">Door Locked</Entry>
<Entry Name="LevelDoor2">Door to Janitor's Room</Entry>

</CATEGORY>

</LANGUAGE>
(This post was last modified: 03-27-2014, 03:24 PM by ZIEGMEBALLEN.)
03-27-2014, 03:16 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#14
RE: No Author and Description at my Custom Story

Basically copy this:
[spoiler]
Lang file text.
[/spoiler]

Copy everything in your extra_english.lang file and paste it between those two (where the Lang file text is). That will make it look like this:
Spoiler below!

Lang file text.


Perhaps there was another error I overlooked, or maybe you didn't do it correctly. Either way, if you post it again, we can look at it as a whole.

(This post was last modified: 03-27-2014, 03:26 PM by Mudbill.)
03-27-2014, 03:24 PM
Find
ZIEGMEBALLEN Offline
Junior Member

Posts: 18
Threads: 4
Joined: Feb 2014
Reputation: 1
#15
RE: No Author and Description at my Custom Story

(03-27-2014, 03:24 PM)Mudbill Wrote: Basically copy this:
[spoiler]
Lang file text.
[/spoiler]

Copy everything in your extra_english.lang file and paste it between those two (where the Lang file text is). That will make it look like this:
Spoiler below!

Lang file text.


Perhaps there was another error I overlooked, or maybe you didn't do it correctly. Either way, if you post it again, we can look at it as a whole.

Here you go:
<LANGUAGE>



<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You Are a guy who's working as a Janitor in A Mansion
Where you woke up alone at 6:30 AM. You discovered that there are monster inside
and they don't want you to leave the Mansion. Find A Way to Leave the House without dying.</Entry>
</CATEGORY>


<CATEGORY Name="Journal">

<Entry Name="Note_A1_Name">Discovering</Entry>
<Entry Name="Note_A1_Text">I Woke up at 6:30 where i discovered that i'm alone.[br][br]I Need to Get out of the house, but... [br][br] I Also discovered something...There...Are....Monsters inside. I Need To Leave now and Get help as i am going to die in this house.. [br][br]Is this my last momnet ? God help Me, i don't know what i should do..[br][br][br][br][br]Sincerely.[br]Unknown</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_Corridorkey_1">Hall Key</Entry>
<Entry Name="ItemDesc_Corridorkey_1">A Key to the Hall</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="LevelDoor1">To Hall</Entry>
</CATEGORY>

<CATEGORY Name=Locked door">
<Entry Name="LevelDoor1">Door Locked</Entry>
<Entry Name="LevelDoor2">Door to Janitor's Room</Entry>

</CATEGORY>

</LANGUAGE>

But can you edit it for me?
03-27-2014, 03:27 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#16
RE: No Author and Description at my Custom Story

Only moderators can edit other people's posts.
Spoiler below!

<LANGUAGE>



<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You Are a guy who's working as a Janitor in A Mansion
Where you woke up alone at 6:30 AM. You discovered that there are monster inside
and they don't want you to leave the Mansion. Find A Way to Leave the House without dying.</Entry>
</CATEGORY>


<CATEGORY Name="Journal">

<Entry Name="Note_A1_Name">Discovering</Entry>
<Entry Name="Note_A1_Text">I Woke up at 6:30 where i discovered that i'm alone.[br][br]I Need to Get out of the house, but... [br][br] I Also discovered something...There...Are....Monsters inside. I Need To Leave now and Get help as i am going to die in this house.. [br][br]Is this my last momnet ? God help Me, i don't know what i should do..[br][br][br][br][br]Sincerely.[br]Unknown</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_Corridorkey_1">Hall Key</Entry>
<Entry Name="ItemDesc_Corridorkey_1">A Key to the Hall</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="LevelDoor1">To Hall</Entry>
</CATEGORY>

<CATEGORY Name=Locked door">
<Entry Name="LevelDoor1">Door Locked</Entry>
<Entry Name="LevelDoor2">Door to Janitor's Room</Entry>

</CATEGORY>

</LANGUAGE>


"Veni, vidi, vici."
"I came, I saw, I conquered."
03-27-2014, 03:51 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#17
RE: No Author and Description at my Custom Story

PHP Code: (Select All)
<CATEGORY Name=Locked door">
<Entry Name="
LevelDoor1">Door Locked</Entry>
<Entry Name="
LevelDoor2">Door to Janitor's Room</Entry>

</CATEGORY> 

There's a missing quote in the name of the category. ALSO, don't use spaces in these names, so rename it "LockedDoor". That's the only error I see.

PHP Code: (Select All)
<CATEGORY Name="LockedDoor">
<
Entry Name="LevelDoor1">Door Locked</Entry>
<
Entry Name="LevelDoor2">Door to Janitor's Room</Entry>

</CATEGORY> 

(This post was last modified: 03-27-2014, 03:52 PM by Mudbill.)
03-27-2014, 03:51 PM
Find
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#18
RE: No Author and Description at my Custom Story

Dude, are you even reading what we are saying? Put it in a spoiler!

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
03-27-2014, 03:56 PM
Find




Users browsing this thread: 1 Guest(s)