User:Monster Iestyn/Lua scripting tutorial
Appearance
![]() |
This article or section is incomplete. It doesn't have all of the necessary core information on this topic. Please help the SRB2 Wiki by finishing this article. |
Welcome to the Lua scripting tutorial. In this tutorial you will learn how to make Lua scripts for SRB2.
- Chapter 1: Getting started (links to Lua Tutorial on lua-users wiki, goes over in detail differences to vanilla Lua, some useful tips, stuff like that)
- Chapter 2: Freeslots and Object resources (freeslot(), mobjinfo[], states[], and sfxinfo[] basically)
- Chapter 3: Hooks (addHook, go over how these work, later pages can do more complex stuff from here on I suppose?)
- ???
- Editing the HUD (hudinfo, hud.* functions, v.* functions)