Difference between revisions of "HPL3/Scripting/Scripting Guide/The Basics - Introduction"

From Frictional Wiki
Jump to navigation Jump to search

Revision as of 12:43, 13 August 2020

The Basics - Introduction

Welcome the scripting tutorial series for the HPL3 Engine.

In this tutorial series, you will learn how to set up the tools necessary for scripting, the workflow of scripting in HPL3, how to script your maps, and we will also touch on more advanced topics such as modules and how you can create your own gameplay mechanics.

Bear in mind that this tutorial mostly covers the most essential things you need to know in order to script your maps. The scripting in HPL3 is a bit more complex than the HPL2 Engine, which was used for Amnesia: The Dark Descent, and therefore requires lots of self experimentation and practice.

Prerequisites and Recommendations

  1. The scripting language of HPL3 is called AngelScript, which is similar to some of the more popular programming languages, so you should get familiar with the basic concepts of programming and be able to write simple code in the style of languages such as Java or C#.
  2. You should know how to create or edit a basic mod. See the Creating a Mod article for more information.
Note icon.png If you have zero programming knowledge, you should start with the AngelScript Fundamentals guide, and read at least the first five lessons.