Frictional Games Forum (read-only)
extra_english.lang file is not working for some reason... - 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: extra_english.lang file is not working for some reason... (/thread-11136.html)



extra_english.lang file is not working for some reason... - Victor - 11-02-2011

The file 'extra_english.lang' is not working. He is in the redist/custom_stories/blah directory, but he's not working!
Here's the file:

Spoiler below!

<LANGUAGE>

<RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You wake up with no past in a creepy room in a creepy place where creepy things happens.</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName">Some Key</Entry>
<Entry Name="ItemDesc">A key that I found... I hope it's going to be freaking usefull...</Entry>
</CATEGORY>

<CATEGORY Name="Message">
<Entry Name="Wha">[br][br][br]Wha? Huh? Whe? Ah?</Entry>
<Entry Name="Wha2">[br][br][br]Deja vu... Seriously, what the fuck!?</Entry>
<Entry Name="Map1-2leveldoor">[br][br][br]Why would I go back? I need to get out of here!</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Quest_Fuckno_Text">Did tou see that? I've got to get out of here!</Entry>
</CATEGORY>

</RESOURCES>

</LANGUAGE>


Does anybody know what the fridge is going on?



RE: extra_english.lang file is not working for some reason... - Unearthlybrutal - 11-02-2011

Working with this? Smile


Spoiler below!



Code:
<LANGUAGE>

<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You wake up with no past in a creepy room in a creepy place where creepy things happens.</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName">Some Key</Entry>
<Entry Name="ItemDesc">A key that I found... I hope it's going to be freaking usefull...</Entry>
</CATEGORY>

<CATEGORY Name="Message">
<Entry Name="Wha">[br][br][br]Wha? Huh? Whe? Ah?</Entry>
<Entry Name="Wha2">[br][br][br]Deja vu... Seriously, what the fuck!?</Entry>
<Entry Name="Map1-2leveldoor">[br][br][br]Why would I go back? I need to get out of here!</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Quest_Fuckno_Text">Did tou see that? I've got to get out of here!</Entry>
</CATEGORY>


</LANGUAGE>





RE: extra_english.lang file is not working for some reason... - Victor - 11-02-2011

(11-02-2011, 04:01 PM)Unearthlybrutal Wrote: Working with this? Smile


Spoiler below!



Code:
<LANGUAGE>

<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You wake up with no past in a creepy room in a creepy place where creepy things happens.</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName">Some Key</Entry>
<Entry Name="ItemDesc">A key that I found... I hope it's going to be freaking usefull...</Entry>
</CATEGORY>

<CATEGORY Name="Message">
<Entry Name="Wha">[br][br][br]Wha? Huh? Whe? Ah?</Entry>
<Entry Name="Wha2">[br][br][br]Deja vu... Seriously, what the fuck!?</Entry>
<Entry Name="Map1-2leveldoor">[br][br][br]Why would I go back? I need to get out of here!</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Quest_Fuckno_Text">Did tou see that? I've got to get out of here!</Entry>
</CATEGORY>


</LANGUAGE>


No, same thing. Help!





RE: extra_english.lang file is not working for some reason... - Brute - 11-02-2011

Dude, why would Frictional Games develop a LANG Editor? Use this. I had problems too, when I wrote .lang files by myself! Big Grin


RE: extra_english.lang file is not working for some reason... - Statyk - 11-02-2011

(11-02-2011, 03:54 PM)Victor Wrote: The file 'extra_english.lang' is not working. He is in the redist/custom_stories/blah directory, but he's not working!
Here's the file:

<LANGUAGE>

<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You wake up with no past in a creepy room in a creepy place where creepy things happens.</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName">Some Key</Entry>
<Entry Name="ItemDesc">A key that I found... I hope it's going to be freaking usefull...</Entry>
</CATEGORY>

<CATEGORY Name="Message">
<Entry Name="Wha">[br][br][br]Wha? Huh? Whe? Ah?</Entry>
<Entry Name="Wha2">[br][br][br]Deja vu... Seriously, what the fuck!?</Entry>
<Entry Name="Map1-2leveldoor">[br][br][br]Why would I go back? I need to get out of here!</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Quest_Fuckno_Name">NAME OF QUEST</Entry>
<Entry Name="Quest_Fuckno_Text">Did tou see that? I've got to get out of here!</Entry>
</CATEGORY>
</LANGUAGE>

Does anybody know what the fridge is going on?

Try this. You put "</RESOURCES>" way too far down. Technically, You don't need them for a simple custom map. Also make sure your quest has a name. Just change the capitalized parameters. I'm not sure if it's necessary, but I do it anyway and it works.




RE: extra_english.lang file is not working for some reason... - Victor - 11-03-2011

(11-02-2011, 08:34 PM)Statyk Wrote:
(11-02-2011, 03:54 PM)Victor Wrote: The file 'extra_english.lang' is not working. He is in the redist/custom_stories/blah directory, but he's not working!
Here's the file:

<LANGUAGE>

<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You wake up with no past in a creepy room in a creepy place where creepy things happens.</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName">Some Key</Entry>
<Entry Name="ItemDesc">A key that I found... I hope it's going to be freaking usefull...</Entry>
</CATEGORY>

<CATEGORY Name="Message">
<Entry Name="Wha">[br][br][br]Wha? Huh? Whe? Ah?</Entry>
<Entry Name="Wha2">[br][br][br]Deja vu... Seriously, what the fuck!?</Entry>
<Entry Name="Map1-2leveldoor">[br][br][br]Why would I go back? I need to get out of here!</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Quest_Fuckno_Name">NAME OF QUEST</Entry>
<Entry Name="Quest_Fuckno_Text">Did tou see that? I've got to get out of here!</Entry>
</CATEGORY>
</LANGUAGE>

Does anybody know what the fridge is going on?

Try this. You put "</RESOURCES>" way too far down. Technically, You don't need them for a simple custom map. Also make sure your quest has a name. Just change the capitalized parameters. I'm not sure if it's necessary, but I do it anyway and it works.
Nothing yet...




RE: extra_english.lang file is not working for some reason... - Statyk - 11-03-2011

(11-03-2011, 10:29 PM)Victor Wrote: Nothing yet...
Here's a very important question... Where is the .lang file located? it MUST be in the main folder. NOT in the "maps" folder.



RE: extra_english.lang file is not working for some reason... - Victor - 11-03-2011

(11-02-2011, 05:51 PM)Brute Wrote: Dude, why would Frictional Games develop a LANG Editor? Use this. I had problems too, when I wrote .lang files by myself! Big Grin
Use this what? D:




RE: extra_english.lang file is not working for some reason... - Your Computer - 11-03-2011

(11-03-2011, 10:32 PM)Victor Wrote: Use this what? D:

HplLangTool.exe

If you don't have Windows, you can try your luck with Mono.