Frictional Games Forum (read-only)
Custom map scripting help!!!!! - 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: Custom map scripting help!!!!! (/thread-10019.html)



Custom map scripting help!!!!! - dutchmen1 - 08-28-2011

Hey guys I'm trying to create a map and im running into some issues with my english.lang file.


Im trying to create a journal entry and it doesnt work and also I'm trying to name a key but it doesnt work neither does my map description.


Appreciate the help!
Thanks, Dutchmen

Heres my english.lang file Tongue
________________________________________________________
<LANGUAGE>
<RESOURCES>
</RESOURCES>"DEATH MAZE!!!"
<Entry Name="Description">A Crazy but scary maze</entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_key_1">A key that opens a door to hell</Entry>
<Entry Name="ItemName_key_1">A stupid looking key</Entry>
<CATEGORY Name="Journal">
<Entry Name="Note_NAMEOFYOURNOTE_Name">To my dearest</Entry>
<Entry Name="Note_NAMEOFYOURNOTE_Text">Hello im going to kill you mwhahaha</Entry>

</CATEGORY>
</LANGUAGE>


RE: Custom map scripting help!!!!! - Freeoath - 08-28-2011

(08-28-2011, 01:02 AM)dutchmen1 Wrote: Hey guys I'm trying to create a map and im running into some issues with my english.lang file.


Im trying to create a journal entry and it doesnt work and also I'm trying to name a key but it doesnt work neither does my map description.


Appreciate the help!
Thanks, Dutchmen

Heres my english.lang file Tongue
________________________________________________________
<LANGUAGE>
<RESOURCES>
</RESOURCES>"DEATH MAZE!!!"
<Entry Name="Description">A Crazy but scary maze</entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_key_1">A key that opens a door to hell</Entry>
<Entry Name="ItemName_key_1">A stupid looking key</Entry>
<CATEGORY Name="Journal">
<Entry Name="Note_NAMEOFYOURNOTE_Name">To my dearest</Entry>
<Entry Name="Note_NAMEOFYOURNOTE_Text">Hello im going to kill you mwhahaha</Entry>

</CATEGORY>
</LANGUAGE>

You should change "NAMEOFYOURNOTE" so what name you have given it in your editor. It should look something like this:

Spoiler below!

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">DESCRIBE YOUR CUSTOM STORY HERE</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_NOTENAME_Name">NOTENAME</Entry>
<Entry Name="Note_NOTENAME_Text">NOTE TEXT!</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_KEYNAME">KEYNAME</Entry>
<Entry Name="ItemDesc_KEYNAME">KEY DESCRIPTION</Entry>
</CATEGORY>

</LANGUAGE>




You should change: NOTENAME to the name you want on your note. NOTE TEXT to what text you want etc.

I could have made a misstake but I am very tired. That .lang should work for you thou. For the key there is abit to configure in your .hps file also.