Difference between revisions of "Scripting.tbl"

From FreeSpace Wiki
Jump to: navigation, search
 
m
Line 33: Line 33:
 
[[Script - Splash Screen|Splash Screen]]
 
[[Script - Splash Screen|Splash Screen]]
  
[[Category:Tables]][[Category:Scripting Examples]]
+
[[Category:Tables]]
 +
[[Category:Scripting Examples]]

Revision as of 13:50, 26 March 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:

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:

Examples

Ship Viewer
Splash Screen