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

From Frictional Wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
  
 
The guide is split into two sections: Basics and Advanced.
 
The guide is split into two sections: Basics and Advanced.
* The basic section touches on how to set up the tools necessary for scripting and coverage of commonly-used features: The workflow of scripting in HPL3, how to script your maps, callbacks, timers, etc.
+
 
* The advanced section touches on subjects beyond map scripting such as Modules and Ai.
+
*The basic section touches on how to set up the tools necessary for scripting and coverage of commonly-used features: The workflow of scripting in HPL3, how to script your maps, callbacks, timers, etc.
 +
*The advanced section touches on subjects beyond map scripting such as Modules and Ai.
  
 
'''Bear in mind that this tutorial mostly covers the most essential things you need to know in order to script your maps.'''
 
'''Bear in mind that this tutorial mostly covers the most essential things you need to know in order to script your maps.'''
Line 15: Line 16:
 
==Prerequisites and Recommendations==
 
==Prerequisites and Recommendations==
  
#The scripting language of HPL3 is called '''AngelScript''', which is similar to some of the more popular programming languages. If you have ''zero'' programming knowledge, you should start with the [[HPL3/Scripting/AngelScript_Fundamentals|AngelScript Fundamentals]] guide, and read '''at least the first five chapters.'''
+
#The scripting language of HPL3 is called '''AngelScript''', which is similar to some of the more popular programming languages. If you have ''zero'' programming knowledge, you should start with the [[HPL3/Scripting/AngelScript_Fundamentals|AngelScript Fundamentals]] guide, and read '''<u>at least the first five chapters</u>.'''
 
#You should know how to create or edit a basic mod. See the [[HPL3/SOMA/Modding/Creating_a_Mod| Creating a Mod]] article for more information.
 
#You should know how to create or edit a basic mod. See the [[HPL3/SOMA/Modding/Creating_a_Mod| Creating a Mod]] article for more information.
 
| style="width:0.1%" |
 
| style="width:0.1%" |

Revision as of 00:17, 15 August 2020

Note icon.png Important: This guide only overviews the main and most commonly-used features of HPL3's scripting capabilities. It does not delve into the inner workings or into the full capabilities of the engine. You can read about a specific topic in more detail at the main scripting page of the game you are working with. Please see this guide as a springboard into HPL3 scripting.

Welcome to the scripting guide for the HPL3 Engine.

The guide is split into two sections: Basics and Advanced.

  • The basic section touches on how to set up the tools necessary for scripting and coverage of commonly-used features: The workflow of scripting in HPL3, how to script your maps, callbacks, timers, etc.
  • The advanced section touches on subjects beyond map scripting such as Modules and Ai.

Bear in mind that this tutorial mostly covers the most essential things you need to know in order to script your maps.

Prerequisites and Recommendations

  1. The scripting language of HPL3 is called AngelScript, which is similar to some of the more popular programming languages. If you have zero programming knowledge, you should start with the AngelScript Fundamentals guide, and read at least the first five chapters.
  2. You should know how to create or edit a basic mod. See the Creating a Mod article for more information.