Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help scripting my map
Stolas Offline
Junior Member

Posts: 13
Threads: 2
Joined: Dec 2014
Reputation: 0
#1
Help scripting my map

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.
12-05-2014, 02:58 AM
Find
Tesseract Offline
Senior Member

Posts: 498
Threads: 7
Joined: Mar 2011
Reputation: 18
#2
RE: Help scripting my map

(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
12-05-2014, 03:04 AM
Find
Stolas Offline
Junior Member

Posts: 13
Threads: 2
Joined: Dec 2014
Reputation: 0
#3
RE: Help scripting my map

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!
12-05-2014, 03:08 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Help scripting my map

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.

12-05-2014, 08:43 AM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#5
RE: Help scripting my map

Moved to the proper forum.
12-05-2014, 10:31 AM
Find
Stolas Offline
Junior Member

Posts: 13
Threads: 2
Joined: Dec 2014
Reputation: 0
#6
RE: Help scripting my map

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.
(This post was last modified: 12-05-2014, 01:05 PM by Stolas.)
12-05-2014, 12:51 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#7
RE: Help scripting my map

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!

Trying is the first step to success.
12-05-2014, 09:59 PM
Find
MsHannerBananer Offline
Member

Posts: 218
Threads: 34
Joined: Sep 2013
Reputation: 10
#8
RE: Help scripting my map

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!

(This post was last modified: 12-05-2014, 11:44 PM by MsHannerBananer.)
12-05-2014, 11:44 PM
Find
Stolas Offline
Junior Member

Posts: 13
Threads: 2
Joined: Dec 2014
Reputation: 0
#9
RE: Help scripting my map

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!
12-06-2014, 12:37 AM
Find
G510s Offline
Banned

Posts: 58
Threads: 32
Joined: Jun 2014
#10
RE: Help scripting my map

(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.
12-09-2014, 11:24 PM
Find




Users browsing this thread: 2 Guest(s)