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
Am i the only one?
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#10
RE: Am i the only one?

(07-16-2012, 12:59 PM)Adrianis Wrote:
(07-13-2012, 02:00 PM)Juby Wrote: Why learn a different language, apply it to another one, when you could just learn the language in question?
Because the documentation and tutorials solely on the topic of HPL2 scripting may not be sufficient to learn some of the basic concepts of programming that you need. There are some great tutorials no doubt, but if you find they don't work for you, you don't have a lot of options for other sources. Comparitively, tutorials and documentation of programming concepts for C++ or JavaScript are more extensive, meaning you can learn the basics of loops/statements and variable usage elswhere. HLP2 documentation/tutorials may not cover these aspects with enough depth for some people. That is, however, largely not applicable to the OP, but I thought I would answer your rhetorical question anyway Smile

I've found the AngelScript online manual to be of great help in understanding a lot of HPL2 code that I couldn't understand before. AS is more akin to watered down C++ than it is to JS in some key places (see Your Computers post). There is so much more you can do with the language than you could get from just looking up functions, and if you go delving into experienced users scripts for Amnesia mods you'll likely find, as I did, many particular uses of AS syntax that is not explained anywhere on the forums or wiki. You may find it makes it easier to deconstruct other peoples scripts, which in turn may make it easier for you to understand how everything fits together
There's one way to do it.

(07-13-2012, 03:01 PM)Stenkilde Wrote: Hello Juby!

I have read the functions page, but what i realised is that, I don't really catch much of it. I can see what the functions does, but my stupid brain can't put them into context and get it to actually work.
Okay, so let's put it into context, starting with something useful:

void OnStart() {
AddEntityCollideCallback("Player", "Area_Falloff", "CollideAreaFalloff2", false, 1);
    }

Tell me what you can figure out here Smile

Insanity. Static.
07-16-2012, 01:23 PM
Find


Messages In This Thread
Am i the only one? - by Stenkilde - 07-13-2012, 12:05 AM
RE: Am i the only one? - by Ermu - 07-13-2012, 10:44 AM
RE: Am i the only one? - by Stenkilde - 07-13-2012, 10:48 AM
RE: Am i the only one? - by Your Computer - 07-13-2012, 07:10 PM
RE: Am i the only one? - by Stenkilde - 07-13-2012, 07:55 PM
RE: Am i the only one? - by Juby - 07-13-2012, 02:00 PM
RE: Am i the only one? - by Adrianis - 07-16-2012, 12:59 PM
RE: Am i the only one? - by Juby - 07-16-2012, 01:23 PM
RE: Am i the only one? - by Stenkilde - 07-13-2012, 03:01 PM
RE: Am i the only one? - by Ermu - 07-13-2012, 05:31 PM



Users browsing this thread: 1 Guest(s)