Frictional Games Forum (read-only)
[LVL ED] No Author and Description at my Custom Story - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [LVL ED] No Author and Description at my Custom Story (/thread-24932.html)

Pages: 1 2


RE: No Author and Description at my Custom Story - ZIEGMEBALLEN - 03-27-2014

(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:
<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



RE: No Author and Description at my Custom Story - Wapez - 03-27-2014

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.


RE: No Author and Description at my Custom Story - ZIEGMEBALLEN - 03-27-2014

(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:
<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>


RE: No Author and Description at my Custom Story - Mudbill - 03-27-2014

Basically copy this:
Code:
[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.


RE: No Author and Description at my Custom Story - ZIEGMEBALLEN - 03-27-2014

(03-27-2014, 03:24 PM)Mudbill Wrote: Basically copy this:
Code:
[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?


RE: No Author and Description at my Custom Story - PutraenusAlivius - 03-27-2014

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>




RE: No Author and Description at my Custom Story - Mudbill - 03-27-2014

PHP Code:
<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:
<CATEGORY Name="LockedDoor">
<
Entry Name="LevelDoor1">Door Locked</Entry>
<
Entry Name="LevelDoor2">Door to Janitor's Room</Entry>

</CATEGORY> 



RE: No Author and Description at my Custom Story - Wapez - 03-27-2014

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