Frictional Games Forum (read-only)
Script causing game to randomly crash (No FATAL ERROR) - 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: Script causing game to randomly crash (No FATAL ERROR) (/thread-7885.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


RE: Where can I find water? - Greven - 05-08-2011

(05-08-2011, 09:33 PM)Simpanra Wrote: =D no way! hows it going man? =)

Silly youtube blocking your posts cos of spam x3

Fine just fine Tongue u?

ahahah that was my fault to begin with Big Grin but yeah F*** youtube Tongue


RE: Where can I find water? - Simpanra - 05-08-2011

(05-08-2011, 09:38 PM)Greven Wrote:
(05-08-2011, 09:33 PM)Simpanra Wrote: =D no way! hows it going man? =)

Silly youtube blocking your posts cos of spam x3

Fine just fine Tongue u?

ahahah that was my fault to begin with Big Grin but yeah F*** youtube Tongue

xD awesome! yeah im great thanks =)

And yeah, agreed x3


RE: Where can I find water? - RawkBandMan - 05-08-2011

Quote:Answer to the key question:

You need to select your key in your level editor and go into the entity tab where you will find the CustomSubItemTypeName where you write the name of the key (from youre extraenglish.cfg file)

I've already done that. Still not showing up.


RE: Where can I find water? - Simpanra - 05-08-2011

can you send us a print screen of your entities tab with the key selected in the editor and your english lang file? =)


RE: Where can I find water? - RawkBandMan - 05-08-2011

(05-08-2011, 09:59 PM)Simpanra Wrote: can you send us a print screen of your entities tab with the key selected in the editor and your english lang file? =)


Yep. Also, how do I get a monster to spawn when I start to open a door? I know the thing is
void FunctionNameHere(string &in asEntity)

But I dont know what to do after that.
extra_english.lang
Spoiler below!


<LANGUAGE>

<CATEGORY Name="Test">
<Entry Name="Description>
Mr Testy! </Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_AwesomeKey">Awesome Key</Entry>
<Entry Name="ItemDesc_AwesomeKey">Key for a door that's just so important</Entry>
</CATEGORY>
<CATEGORY Name ="Ending">
<Entry Name ="StartCredits">
Escape Hell V1[br]
Made By: XxRoCkBaNdMaNxX[br]
Thanks to: XxWestKillzXx for the help with scripts
Frictional Games for this awesome piece of work
Everyone in the community for playing.[br]
</Entry>
</CATEGORY>
</LANGUAGE>



My entity tab
http://thegoldengunners.webs.com/apps/photos/photo?photoid=125265981


RE: Where can I find water? - Karai16 - 05-08-2011

(05-08-2011, 10:27 PM)XxRoCkBaNdMaNxX Wrote:
(05-08-2011, 09:59 PM)Simpanra Wrote: can you send us a print screen of your entities tab with the key selected in the editor and your english lang file? =)


Yep. Also, how do I get a monster to spawn when I start to open a door? I know the thing is
void FunctionNameHere(string &in asEntity)

But I dont know what to do after that.
extra_english.lang
Spoiler below!


<LANGUAGE>

<CATEGORY Name="Test">
<Entry Name="Description>
Mr Testy! </Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_AwesomeKey">Awesome Key</Entry>
<Entry Name="ItemDesc_AwesomeKey">Key for a door that's just so important</Entry>
</CATEGORY>
<CATEGORY Name ="Ending">
<Entry Name ="StartCredits">
Escape Hell V1[br]
Made By: XxRoCkBaNdMaNxX[br]
Thanks to: XxWestKillzXx for the help with scripts
Frictional Games for this awesome piece of work
Everyone in the community for playing.[br]
</Entry>
</CATEGORY>
</LANGUAGE>



My entity tab
http://thegoldengunners.webs.com/apps/photos/photo?photoid=125265981

and you're sure you made windows show the type of the file? Cuz I've had it before that I needed to help someone who in the end noticed he didn't create a extra_english.lang file, but a extra_english.lang.txt file.

Also it's a .lang file, not .cfg ...


RE: Where can I find water? - RawkBandMan - 05-09-2011

(05-08-2011, 11:22 PM)Karai16 Wrote:
(05-08-2011, 10:27 PM)XxRoCkBaNdMaNxX Wrote:
(05-08-2011, 09:59 PM)Simpanra Wrote: can you send us a print screen of your entities tab with the key selected in the editor and your english lang file? =)


Yep. Also, how do I get a monster to spawn when I start to open a door? I know the thing is
void FunctionNameHere(string &in asEntity)

But I dont know what to do after that.
extra_english.lang
Spoiler below!


<LANGUAGE>

<CATEGORY Name="Test">
<Entry Name="Description>
Mr Testy! </Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_AwesomeKey">Awesome Key</Entry>
<Entry Name="ItemDesc_AwesomeKey">Key for a door that's just so important</Entry>
</CATEGORY>
<CATEGORY Name ="Ending">
<Entry Name ="StartCredits">
Escape Hell V1[br]
Made By: XxRoCkBaNdMaNxX[br]
Thanks to: XxWestKillzXx for the help with scripts
Frictional Games for this awesome piece of work
Everyone in the community for playing.[br]
</Entry>
</CATEGORY>
</LANGUAGE>



My entity tab
http://thegoldengunners.webs.com/apps/photos/photo?photoid=125265981

and you're sure you made windows show the type of the file? Cuz I've had it before that I needed to help someone who in the end noticed he didn't create a extra_english.lang file, but a extra_english.lang.txt file.

Also it's a .lang file, not .cfg ...

I have it like that. I just made notepad my default for .lang.
I made it extra_english.lang. no .txt/cfg file involved


RE: extra_english.lang not working. (used to be "Where do I find water?" - Kyle - 05-09-2011

I see a problem with your extra_english.lang file.

It should be : <Entry Name="Description">Mr Testy!</Entry>

Also maybe an error, but also should be this: <CATEGORY Name="Ending"> and <Entry Name="StartCredits">[blahblahblah what ever you had here]</Entry>


RE: extra_english.lang not working. (used to be "Where do I find water?" - RawkBandMan - 05-09-2011

(05-09-2011, 12:03 AM)Kyle Wrote: I see a problem with your extra_english.lang file.

It should be : <Entry Name="Description">Mr Testy!</Entry>

Also maybe an error, but also should be this: <CATEGORY Name="Ending"> and <Entry Name="StartCredits">[blahblahblah what ever you had here]</Entry>

Sadly, still nothing.


RE: extra_english.lang not working. (used to be "Where do I find water?" - RawkBandMan - 05-09-2011

Bump, really need help here!