Difference between revisions of "HPL3/Scripting/Scripting Guide/Conclusion - Basic"

From Frictional Wiki
Jump to navigation Jump to search
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Hpl3ScriptingGuideMenuBasic}}
 
{{Hpl3ScriptingGuideMenuBasic}}
 
{{shortPageTitle}}
 
{{shortPageTitle}}
 
+
{| style="border:0px;" cellspacing="0"
 +
|- valign="top"
 +
| style="padding-right:0.2em" |
 
In this section of the guide, we learned:
 
In this section of the guide, we learned:
 
* The concept of scripting in HPL3
 
* The concept of scripting in HPL3
Line 10: Line 12:
 
* How to use and create Timers and Sequences
 
* How to use and create Timers and Sequences
 
* How and when to use local and global variables
 
* How and when to use local and global variables
* Enums as data types for scripting
+
* Enums usage in scripting
  
 
You can now make simple and complex scripting scenarios for your maps. All you need to do is to get familiar with the available functions the game offers.
 
You can now make simple and complex scripting scenarios for your maps. All you need to do is to get familiar with the available functions the game offers.
 
<br>
 
<br>
If you want to learn how to have more control over objects in your map, create custom gameplay mechanics and Ai, you may begin with the [[HPL3/Scripting/Scripting_Guide/Advanced Topics - Introduction| advanced section]] of this guide.
+
{{tip|If you want to learn how to have more control over objects and how to work with classes, you may begin with the [[HPL3/Scripting/Scripting_Guide/Advanced Topics - Introduction| advanced section]] of this guide.}}
  
 
==Further Reading==
 
==Further Reading==
 
* [[Advice for Scripting|Advice for Scripting]]
 
* [[Advice for Scripting|Advice for Scripting]]
 
* [[Hpl3:Game:guides:scripters_guide|Level Scripting - Best Practices]]
 
* [[Hpl3:Game:guides:scripters_guide|Level Scripting - Best Practices]]
* [[HPL3/Scripting/Helpers Overview|Helper Files Overview]]
 
 
* [[HPL3/SOMA/Scripting/Scripting Api|Scripting Api]] - SOMA
 
* [[HPL3/SOMA/Scripting/Scripting Api|Scripting Api]] - SOMA
 
* [[HPL3/Amnesia: Rebirth/Scripting/Scripting Api|Scripting Api]] - Amnesia: Rebirth
 
* [[HPL3/Amnesia: Rebirth/Scripting/Scripting Api|Scripting Api]] - Amnesia: Rebirth
 
+
| style="width:0.1%" |
{{NavBar|HPL3/Scripting/Scripting_Guide/Working with Classes|Working with Classes|HPL3/Scripting/HPL3 Scripting Guide|HPL3 Scripting Guide||}}
+
|}
 +
{{NavBar|HPL3/Scripting/Scripting_Guide/Enums|Enums|HPL3/Scripting/HPL3 Scripting Guide|HPL3 Scripting Guide||}}
  
 
[[Category:HPL3 Scripting]]
 
[[Category:HPL3 Scripting]]
 
[[Category:English]]
 
[[Category:English]]

Latest revision as of 20:44, 16 August 2020

In this section of the guide, we learned:

  • The concept of scripting in HPL3
  • How to set up the scripting tool CodeLite
  • The structure of a map script file
  • The concept of calling functions and function callbacks
  • How to use and create Helper Files
  • How to use and create Timers and Sequences
  • How and when to use local and global variables
  • Enums usage in scripting

You can now make simple and complex scripting scenarios for your maps. All you need to do is to get familiar with the available functions the game offers.

Icon tip.png Tip: If you want to learn how to have more control over objects and how to work with classes, you may begin with the advanced section of this guide.

Further Reading


Enums