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

From Frictional Wiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
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
* How to set up the scripting tool CodeLite.
+
* How to set up the scripting tool CodeLite
* The structure of a map script file.
+
* The structure of a map script file
* The concept of calling functions and function callbacks.
+
* The concept of calling functions and function callbacks
* How to use and create Helper Files.
+
* How to use and create Helper Files
* 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 as data types for 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.

Revision as of 00:17, 14 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 as data types for 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.
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 advanced section of this guide.

Further Reading