Difference between revisions of "Scripting.tbl"
From FreeSpace Wiki
(added links to lua-users wiki and to lua reference manual) |
m (added new link) |
||
Line 37: | Line 37: | ||
[[Script - Example HUD|Example HUD]]<br> | [[Script - Example HUD|Example HUD]]<br> | ||
[[Script - Ship Viewer|Ship Viewer]]<br> | [[Script - Ship Viewer|Ship Viewer]]<br> | ||
− | [[Script - Splash Screen|Splash Screen]] | + | [[Script - Splash Screen|Splash Screen]]<br> |
+ | [[Script - Velocity Indicator|Velocity Indicator]] | ||
[[Category:Tables]] | [[Category:Tables]] | ||
[[Category:Scripting Examples]] | [[Category:Scripting Examples]] |
Revision as of 07:54, 7 July 2006
This feature requires SCP
The scripting table is used for scripting special features like alternate HUDs or ship viewer into the game.
Usefull references:
- FS2 Open Lua Scripting
- Scripting API
- Scripting.html
- Command-Line Reference for creating scripting.html
- Lua-Users Wiki
- Reference manual for Lua 5.0
General Format
- Scripting table consist of several sections
- All sections and most of the entries are optional
- All sections end with #End
- #Global Hooks
- #State Hooks
#Global Hooks
- $Global:
- $Splash:
- $GameInit:
- $Simulation:
- $HUD:
#State Hooks
- $State:
- $Hook: