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



Scripting - aidan499 - 07-23-2011

I try scripting and it dose not work at all. can some one give me a lesson on it here is my extra_english.lang: LANGUAGE>
<RESOURCES>
</RESOURCES>
</CATEGORY>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"> My Great granfarther,Danial He told me about the Dark decent.As i grew up he was growing older and older.Untill he died of old age the day was very sad.i cryed a little.then i could not stop thinking about him ...... then discoverd a Postion it said "Amneisa drink"..........................</Entry>
</CATEGORY>

<CATEGORY Entry Name="ItemDesc_Flashlight">The flashlight will light up dark places. When in game press $ButLantern to turn it on.</Entry>
<Entry Name="ItemName_Flashlight">Flashlight</Entry>
<Entry Name="ItemName_Battery">Battery</Entry>
<Entry Name="ItemDesc_Battery">Battery for flashlight.</Entry>
</CATEGORY>
</LANGUAGE>

and no scripts work not even the flash light when i hold it it becomes a lantren please help me it would mean 100,000£ to me.



RE: Scripting - palistov - 07-23-2011

You need to create a full conversion to use a flashlight instead of the lantern.


RE: Scripting - aidan499 - 07-23-2011

(07-23-2011, 10:13 PM)palistov Wrote: You need to create a full conversion to use a flashlight instead of the lantern.
how do i make a full conversion?




RE: Scripting - Kyle - 07-23-2011

http://wiki.frictionalgames.com/hpl2/amnesia/full_conv

and

http://www.frictionalgames.com/forum/thread-4734-post-39372.html

These two links should help you make a full conversion.


RE: Scripting - JoeBradleyUK - 07-24-2011

<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"> My Great granfarther,Danial He told me about the Dark decent.As i grew up he was growing older and older.Untill he died of old age the day was very sad.i cryed a little.then i could not stop thinking about him ...... then discoverd a Postion it said "Amneisa drink"..........................</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_Flashlight">The flashlight will light up dark places. When in game press $ButLantern to turn it on.</Entry>
<Entry Name="ItemName_Flashlight">Flashlight</Entry>
<Entry Name="ItemName_Battery">Battery</Entry>
<Entry Name="ItemDesc_Battery">Battery for flashlight.</Entry>
</CATEGORY>
</LANGUAGE>

I fixed some mistakes in your .Lang file, also make sure that the names of items
match with the ones in the map editor, and yes you'll need a full conversion to get
a flash light, although I am not experienced in full conversions.