Frictional Games Forum (read-only)
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: Scripting help (/thread-13403.html)



Scripting help - TheShephatd - 02-18-2012

I'm new to making amnesia custom maps, and I was wondering if someone could tell me why this script won't work in game, I'll add the script as an attachment
It worked before I added the journal category, thanks in advance!



RE: Scripting help - flamez3 - 02-18-2012

Next time just post the script in the thread.


<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is a test</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Note_Test01_Name"> Welcome</Entry>
<Entry Name="Note_Test01_Text"> Welcome to my little expirement! If you could call it that. You are testing two things; one being my new hallucinogen, and the other being how fast you can complete tests under my new hallucinogen. Just be careful, I don't want to have to kidnapp ANOTHER subject if you die too.</Entry>
</CATEGORY>

<CATEGORY Name ="Inventory">
<Entry Name="ItemDesc_key1"> The Key For the Bedroom</Entry>
<Entry Name="ItemName_key1"> Bedroom Key</Entry>
</CATEGORY>
</LANGUAGE>

^^
Use this one.


RE: Scripting help - Your Computer - 02-18-2012

You forgot to close the Note_Test01_Text entry and forgot to close the Inventory category.

FYI, docx is a commercial Microsoft Word format that is not widely supported, even by certain Microsoft programs, though OO.org is making an effort to reverse engineer it. Avoid using it at all costs.


RE: Scripting help - TheShephatd - 02-18-2012

(02-18-2012, 09:27 AM)flamez3 Wrote: Next time just post the script in the thread.


<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is a test</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Note_Test01_Name"> Welcome</Entry>
<Entry Name="Note_Test01_Text"> Welcome to my little expirement! If you could call it that. You are testing two things; one being my new hallucinogen, and the other being how fast you can complete tests under my new hallucinogen. Just be careful, I don't want to have to kidnapp ANOTHER subject if you die too.</Entry>
</CATEGORY>

<CATEGORY Name ="Inventory">
<Entry Name="ItemDesc_key1"> The Key For the Bedroom</Entry>
<Entry Name="ItemName_key1"> Bedroom Key</Entry>
</LANGUAGE>


Use this one.

(02-18-2012, 12:05 PM)Your Computer Wrote: You forgot to close the Note_Test01_Text entry and forgot to close the Inventory category.

FYI, docx is a commercial Microsoft Word format that is not widely supported, even by certain Microsoft programs, though OO.org is making an effort to reverse engineer it. Avoid using it at all costs.
Thanks guys, I am totally new to forums, the only prior experience I had was when I was 16.