Frictional Games Forum (read-only)

Full Version: Scripting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
You need to create a full conversion to use a flashlight instead of the lantern.
(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?

<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.