Frictional Games Forum (read-only)
Need help 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 scripting. (/thread-9772.html)

Pages: 1 2


Need help scripting. - zeravia - 08-15-2011

I don't know if this is the right place to put this, but i will anyway.

Im working on Two custom stories at the moment and can't figure out how to script the events, Ive looked at the wiki for scripting a custom story and it just doesn't make much sence, Ive tried a few things from tutorials i found on youtube too... but i can't even get a note to work right even when i follow all the steps.

I don't know what I am doing wrong... some one please help?


RE: Need help scripting. - Tanshaydar - 08-15-2011

Now it's in the right place.
Did you check the tutorials here: http://wiki.frictionalgames.com/hpl2/tutorials/start ?


RE: Need help scripting. - zeravia - 08-15-2011

(08-15-2011, 12:48 PM)Tanshaydar Wrote: Now it's in the right place.
Did you check the tutorials here: http://wiki.frictionalgames.com/hpl2/tutorials/start ?

yeah i did... and it just doesn't make sense to me... ._.

I tried a few things from there and could not get anything to work right...


RE: Need help scripting. - Tanshaydar - 08-15-2011

What doesn't make sense and what did you try and could not get to work right?


RE: Need help scripting. - zeravia - 08-15-2011

(08-15-2011, 02:01 PM)Tanshaydar Wrote: What doesn't make sense and what did you try and could not get to work right?

yeah. I looked at this scripting stuff here on the wiki, then looked up youtube Tutorials to see if maybe someone explaining it would make more sense right? So i found some good ones and trued to script myself a note, i got it working once, but then when i tried it again, i had this major problem with trying to script a key, got the key working but when i tried another note for the same level i lost the description for ALL my items and my note doesn't work. i just can't figure out what i did wrong.

Ive even looked at other people's scripting and it looks the same, so yeah. i have no idea what i did wrong...


RE: Need help scripting. - Tanshaydar - 08-15-2011

You probably did something work in language file.


RE: Need help scripting. - zeravia - 08-15-2011

(08-15-2011, 02:29 PM)Tanshaydar Wrote: You probably did something work in language file.

How do i fix it? just start it over?


RE: Need help scripting. - Tanshaydar - 08-15-2011

Check the opening and closing tags.
Or you can post it here.


RE: Need help scripting. - zeravia - 08-15-2011

(08-15-2011, 03:03 PM)Tanshaydar Wrote: Check the opening and closing tags.
Or you can post it here.


ok here...
Spoiler below!

<Entry Name="Note_Heather_Name">Father's Wrath</Entry
<Entry Name="Note_Heather_Text">July 4th, 1839;[br]Father’s yelling again, I locked myself in here, but I’m afraid that he will just get madder. Daniel, I hope wherever you are you are safe. Because I’m not. At least one of us will get out of this alive… I don’t think father will let me ‘stay around’ much longer. I hope that you know I don’t hate you for what ever happens… Just know that I will always be your sister…[br][br]-Heather</Entry>

and i did what the tutorial said and used the note name "Heather" in the note places called "Name" under general and the same under Note text under entity,should i have used a different name for each them?


RE: Need help scripting. - Your Computer - 08-15-2011

(08-15-2011, 04:05 PM)zeravia Wrote:
Spoiler below!
<Entry Name="Note_Heather_Name">Father's Wrath</Entry

You're missing a ">" at the end there.