Frictional Games Forum (read-only)
NEED HELP WITH SCRIPTING - 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: NEED HELP WITH SCRIPTING (/thread-8813.html)



NEED HELP WITH SCRIPTING - aidan499 - 06-26-2011

I am doing this right? i put this in the .lang folder of my new custom story:::


<CATEGORY Name="Inventory">
<Entry Name="ItemName_Key_basement">Basement key</Entry>
<Entry Name="ItemDesc_Key_basement">Key for a basement door</Entry>
</CATEGORY>



I try doing events and its not working! any thing i script ecept the infomaton of the game. Sad Huh

I use notepad and notepad++


RE: NEED HELP WITH SCRIPTING - Paulpolska - 06-26-2011

Code:
<LANGUAGE>
....
</LANGUAGE>
You missed it


RE: NEED HELP WITH SCRIPTING - Rownbear - 06-26-2011

post your script so people can take alook at it, that way you get the start right and you'll see how it's done.


RE: NEED HELP WITH SCRIPTING - aidan499 - 06-26-2011

(06-26-2011, 11:27 AM)Paulpolska Wrote:
Code:
<LANGUAGE>
....
</LANGUAGE>
You missed it




thanks now i know Big Grin Smile




Heres my .lang file tell me whats wrong please .......




<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"> You play in a role of jeff white.[br] he has rented a room in Londan. </Entry>
</CATEGORY>



<CATEGORY Name="Inventory">
<Entry Name="ItemName_Key_basement">Basement key</Entry>
<Entry Name="ItemDesc_Key_basement">Key for a basement door</Entry>
</CATEGORY>





</LANGUAGE>