Frictional Games Forum (read-only)
Help scripting my map - 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: Help scripting my map (/thread-27509.html)

Pages: 1 2


Help scripting my map - Stolas - 12-05-2014

Hello,
I'm brand new to Amnesia the Dark Descent.
One of the reasons I got it was for the level editor.
Anyways, I dove head first, and began creating a map.
I'm really good with map building.
However, I can't wrap my head around scripting.
I've read and watched many tutorials and threads.
The common theme is that scripting is easy,
So I continued to try to learn, but I'm an artist not a programmer.
I might as well be looking at alien hieroglyphs.
So, I was directed by someone on another forum to come here,
And ask if someone would either be willing to help me script my map,
Or provide any kind of advice for a super-newb who has no idea what he's doing.
I really wish there was an interface for it.
Click on an item or enemy and select an option. Lol
Anyways, until something happens I'm just going to keep reading.


RE: Help scripting my map - Tesseract - 12-05-2014

(12-05-2014, 02:58 AM)Stolas Wrote: Hello,
I'm brand new to Amnesia the Dark Descent.
One of the reasons I got it was for the level editor.
Anyways, I dove head first, and began creating a map.
I'm really good with map building.
However, I can't wrap my head around scripting.
I've read and watched many tutorials and threads.
The common theme is that scripting is easy,
So I continued to try to learn, but I'm an artist not a programmer.
I might as well be looking at alien hieroglyphs.
So, I was directed by someone on another forum to come here,
And ask if someone would either be willing to help me script my map,
Or provide any kind of advice for a super-newb who has no idea what he's doing.
I really wish there was an interface for it.
Click on an item or enemy and select an option. Lol
Anyways, until something happens I'm just going to keep reading.

Have you played the game yet? because that's a great way of looking at some of the different things the scripts are able to do.
This thread is helpful too: https://www.frictionalgames.com/forum/thread-9264.html


RE: Help scripting my map - Stolas - 12-05-2014

Thanks, I'll read it thoroughly.
Yeah, I've played the game.
I'm guilty of not finishing before I got exited and wanted to build a map.
I haven't stopped playing though.
Anyways, thanks for the reply!


RE: Help scripting my map - Mudbill - 12-05-2014

I had a basic Java background before I came to AngelScript in Amnesia, so it was quite the breeze for me as they're mostly identical in syntax. If you can't find enough tutorials for AngelScript or HPL scripting, you can try C++ or Java. They'll give you a general introduction.

But Java and C++ are both very extensive languages. To make scripts work in HPL, you don't need much more than the simplest of syntaxes. I have some videos myself on doing these (don't know if you've seen them already).
There are also many guides here on the forums and wiki. Do check the wiki, it has a lot of helpful topics.
This will be your lexicon while working in HPL. I've been working with it for about 2.5 years, and I still go there for references.


RE: Help scripting my map - Traggey - 12-05-2014

Moved to the proper forum.


RE: Help scripting my map - Stolas - 12-05-2014

Sorry I had it in the wrong place.
I originally made this thread with the intention of teaming up,
But I left room for scripting advice.
Either way it does make more sense to post this in the support area.

It's mudbill! I hear your voice in my sleep now. Lol
I've watched and rewatched your tutorials more than anyone else's!
I'm not going to pretend I know what I'm doing now lol
But you've come the closest to making all this understandable.
Plus, your tuts taught me how to use the level editor.

I'm hoping that after I continue to read and watch tutorials
It will slowly come together.
One thing affecting me is that I have no real interest in learning scripts,
But I really want to make a good mod, so hopefully that will help.
Either way, I've subscribed to your channel.

I've got some really unique ideas I want to make happen,
And I am aware that if I learn scripting instead of joining a team,
I'll have creative control.
Hell, it's not like I've never done that before.
I'm a solo musician for the same reason.
I've taught myself so many things just because I become obsessed.
I really just need to want it bad enough.


RE: Help scripting my map - FlawlessHappiness - 12-05-2014

I thought Level Editting was my thing.
I really did. Until I figured out I'm so much more into scripting. You have ideas? Great!
Now draw them, write them down, do things step by step!

Search the forums for help.

Ask people.

You may fail. Then you will try again.

It's ok. Take your time. You can do it!


RE: Help scripting my map - MsHannerBananer - 12-05-2014

The thing about scripting is that it just takes a bit to get the hang of. I find scripting to be the most fun and yet, most infuriating part of the job of creating a mod. Watching your script work come together in beautiful tandem is one of the best feelings in the world, while finding a script error you can't solve for the longest time only to find it was the most stupid mistake ever made, is the worst, haha.

But really it's all about practice, just like level editing. Start small, and work your way up. I find that I enjoy scripting more than I enjoy putting together levels, for reasons unknown.

It all starts with an idea. Then, you just use whatever resources you can to make the idea come to fruition. There is so much potential in the scripting parts of HPL2, that you can do a lot with very little. Some people say that the HPL2 engine is limited, but the only limits are what you think you can't do with what scripts you have.

The engine script's page is your friend. I never close it when I'm working with HPL2 and I've even memorized a lot of functions. Use CTRL+F to "find" things. You don't have to know something exactly, but just pick a word that's related to what you're trying to do and chances are, you'll find it. : D

Give scripting a try! I find it really fun! :3

And like the others said, if you have a question, don't hesitate to ask!


RE: Help scripting my map - Stolas - 12-06-2014

Thanks for all the replies, guys!
It's slowly starting to make a little sense.
Trying really hard atm to find the answer to several questions that I know are available somewhere.
Can't be that guy who asks for an answer that's right in my face. Lol
Anyways, thanks all!


RE: Help scripting my map - G510s - 12-09-2014

(12-06-2014, 12:37 AM)Stolas Wrote: Thanks for all the replies, guys!
It's slowly starting to make a little sense.
Trying really hard atm to find the answer to several questions that I know are available somewhere.
Can't be that guy who asks for an answer that's right in my face. Lol
Anyways, thanks all!

i just wana say that i am also very new to script and amnesia. but look at

XxVengeancexFilmsxX

on youtube. hes a really big help for me. but make sure you watch the first video and not just start with the 3rd video.