Frictional Games Forum (read-only)
New Scripters Assemble! - 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: New Scripters Assemble! (/thread-15567.html)

Pages: 1 2


New Scripters Assemble! - JenniferOrange - 05-22-2012

Frictional Games has been getting quite a few new scripters, and with that there is now an abundance of threads asking for scripting help. So, why not make a thread dedicated to all of you new scripters who need help? This will hopefully clear some clutter in the forum! Plus, more people can be helped if we keep this thread up and running, so it doesn't fall into the abyss. :]
If you are currently having a scripting issue, please post it here! Help us to help you and post the error message as well as the script experiencing the issue. One of FG's many talented scripters will assist you with your issue.


RE: New Scripters Assemble! - Cranky Old Man - 05-22-2012

But... ...isn't there a forum for this? ...called Development Support? Undecided
Well, whatever - if people will get help here, then it's as good of a place as any.


RE: New Scripters Assemble! - Adny - 05-22-2012

This is a wonderful idea, it will help stop the new scripters from asking questions that have already been answered over and over; let's just hope that they can use it correctly. +1 for the much needed thread.


RE: New Scripters Assemble! - JenniferOrange - 05-22-2012

(05-22-2012, 08:48 PM)Cranky Old Man Wrote: But... ...isn't there a forum for this? ...called Development Support? Undecided
Well, whatever - if people will get help here, then it's as good of a place as any.
Your argument is valid, yes..
But there is now like 30 more threads titled "I need help!" "Script exploded!" "LOLWHUT did I just do?!"
I figured new scripters with just or mostly script errors could post here. c:


RE: New Scripters Assemble! - Putmalk - 05-22-2012

True, we really don't need threads and threads with 1 or 2 replies with simple help...we could use threads in Dev. Support for more complicated problems.


RE: New Scripters Assemble! - FragdaddyXXL - 05-22-2012

I'm curious to see how this goes, because I'm kind of accustomed to the old way of doing things xD. I visit this forum when I'm bored to see if I can provide some assistance to those that need it. A simple way to do that is to check Thread titles, check it's amount of responses, and go from there. It's more organized than a big 1-thread page of multiple issues going on at once. It would kinda be more confusing to see if their problem has been fixed or not.


RE: New Scripters Assemble! - Juby - 05-22-2012

Although most problems are incredibly simple such as a missing curly bracket, parenthesis, semicolon, or parameter. Sometimes it is a spelling error.

Maybe I should write a tutorial on self-error solving... (ofc I always say stuff like this, but procrastinate like a boss)


RE: New Scripters Assemble! - Nice - 05-22-2012

i'm a newb scripter and i approve this thread Smile


RE: New Scripters Assemble! - Datguy5 - 05-23-2012

I wonder whose the first to post his error here Big Grin
Also 500th post!


RE: New Scripters Assemble! - Nice - 05-23-2012

okay ima get started then Big Grin i started to get the hang of normal scripting like unlocking doors, spawning monsters, playing music in zones.

But i still have problems with stuff that you modify in lang file.

Anyway so far i've managed to make a script for a key to unlock a door
BUT
i dont know how to rename the key and give it a description! Yes i've looked up tutorials and made this (my whole lang file):

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is an example story.[br][br]my random description</Entry>
</CATEGORY>
</LANGUAGE>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_SecretKey">Secret Key</Entry>
<Entry Name="ItemDesc_SecretKey">Leading to a secret room</Entry>
</CATEGORY>
</LANGUAGE>

yes i've named the key at the CustomSubItemTypeName (in level editor) to SecretKey.

Note: I dont get any errors when starting the game, like it usually does when script is wrong.
Funny thing is, when i made this script the name of key and describtion DID change but its called nothing now.. when i pick up key it just says " You've picked up " and its blank, no item describtion and no name when i point my mouse at the key in inventory