Frictional Games Forum (read-only)

Full Version: Custom map scripting help!!!!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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>
(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.